Revision: 46337
Author:   catrope
Date:     2009-01-27 13:10:16 +0000 (Tue, 27 Jan 2009)

Log Message:
-----------
Revert r46138 (Get $wgLegalTitleChars through API) per comments on CodeReview 
and Bugzilla (bug 17024)

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/api/ApiQuerySiteinfo.php

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES  2009-01-27 12:43:10 UTC (rev 46336)
+++ trunk/phase3/RELEASE-NOTES  2009-01-27 13:10:16 UTC (rev 46337)
@@ -106,7 +106,6 @@
   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 ===

Modified: trunk/phase3/includes/api/ApiQuerySiteinfo.php
===================================================================
--- trunk/phase3/includes/api/ApiQuerySiteinfo.php      2009-01-27 12:43:10 UTC 
(rev 46336)
+++ trunk/phase3/includes/api/ApiQuerySiteinfo.php      2009-01-27 13:10:16 UTC 
(rev 46337)
@@ -88,7 +88,6 @@
        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 @@
                if( $wgContLang->isRTL() ) 
                        $data['rtl'] = '';
                $data['fallback8bitEncoding'] = $wgLang->fallback8bitEncoding();
-               $data['legaltitlechars'] = $wgLegalTitleChars;
                
                if( wfReadOnly() )
                        $data['readonly'] = '';



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to