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 "filebackend: avoiding computing file SHA-1 hashes unless needed"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiAuthManagerHelper.php
diff --git
a/includes/api/ApiAuthManagerHelper.php
b/includes/api/ApiAuthManagerHelper.php
index
d6b9f76
..
e37b4d4
100644
(file)
--- a/
includes/api/ApiAuthManagerHelper.php
+++ b/
includes/api/ApiAuthManagerHelper.php
@@
-48,7
+48,7
@@
class ApiAuthManagerHelper {
$this->module = $module;
$params = $module->extractRequestParams();
- $this->messageFormat =
isset( $params['messageformat'] ) ? $params['messageformat'] :
'wikitext';
+ $this->messageFormat =
$params['messageformat'] ??
'wikitext';
}
/**