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
Expose legaltitlechars through the API
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQuerySiteinfo.php
diff --git
a/includes/api/ApiQuerySiteinfo.php
b/includes/api/ApiQuerySiteinfo.php
index
18bbc5a
..
3b8a514
100644
(file)
--- a/
includes/api/ApiQuerySiteinfo.php
+++ b/
includes/api/ApiQuerySiteinfo.php
@@
-183,6
+183,8
@@
class ApiQuerySiteinfo extends ApiQueryBase {
$data['linktrail'] = '';
}
+ $data['legaltitlechars'] = Title::legalChars();
+
global $IP;
$git = SpecialVersion::getGitHeadSha1( $IP );
if ( $git ) {