From 383d826b0f719f8ca18631205315202294e2e27a Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 27 Jan 2009 13:10:16 +0000 Subject: [PATCH] Revert r46138 (Get $wgLegalTitleChars through API) per comments on CodeReview and Bugzilla (bug 17024) --- RELEASE-NOTES | 1 - includes/api/ApiQuerySiteinfo.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 743dd3245d..39e9e090b2 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -106,7 +106,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN created the page, even if it's not the top revision * (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs * action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right -* (bug 17024) Added legaltitlechars field to meta=siteinfo&siprop=general output * (bug 15949) Add undo functionality to action=edit === Languages updated in 1.15 === diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index 677f558ae5..b4f7445769 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -88,7 +88,6 @@ class ApiQuerySiteinfo extends ApiQueryBase { protected function appendGeneralInfo( $property ) { global $wgSitename, $wgVersion, $wgCapitalLinks, $wgRightsCode, $wgRightsText, $wgContLang; global $wgLanguageCode, $IP, $wgEnableWriteAPI, $wgLang, $wgLocaltimezone, $wgLocalTZoffset; - global $wgLegalTitleChars; $data = array(); $mainPage = Title :: newFromText(wfMsgForContent('mainpage')); @@ -110,7 +109,6 @@ class ApiQuerySiteinfo extends ApiQueryBase { if( $wgContLang->isRTL() ) $data['rtl'] = ''; $data['fallback8bitEncoding'] = $wgLang->fallback8bitEncoding(); - $data['legaltitlechars'] = $wgLegalTitleChars; if( wfReadOnly() ) $data['readonly'] = ''; -- 2.20.1