From: Arlo Breault Date: Thu, 13 Nov 2014 17:35:48 +0000 (-0800) Subject: Expose legaltitlechars through the API X-Git-Tag: 1.31.0-rc.0~13311 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=f9c50bd7f1fe809c08871ba7147a025d0816b638;p=lhc%2Fweb%2Fwiklou.git Expose legaltitlechars through the API Bug: 47651 Change-Id: I79fdd698e6df75b1823b0d2d150db68e862c640f --- diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index 18bbc5ae60..3b8a514b93 100644 --- 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 ) {