dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "HISTORY: Add MediaWiki 1.2 post-release change notes"
[lhc/web/wiklou.git]
/
includes
/
Revision
/
MainSlotRoleHandler.php
diff --git
a/includes/Revision/MainSlotRoleHandler.php
b/includes/Revision/MainSlotRoleHandler.php
index
6c6fdd6
..
f3e5a85
100644
(file)
--- a/
includes/Revision/MainSlotRoleHandler.php
+++ b/
includes/Revision/MainSlotRoleHandler.php
@@
-120,7
+120,7
@@
class MainSlotRoleHandler extends SlotRoleHandler {
case 'json':
return CONTENT_MODEL_JSON;
default:
- return
is_null( $model ) ? CONTENT_MODEL_TEXT : $model
;
+ return
$model ?? CONTENT_MODEL_TEXT
;
}
}