http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90608

Revision: 90608
Author:   platonides
Date:     2011-06-22 21:36:42 +0000 (Wed, 22 Jun 2011)
Log Message:
-----------
Remove unused global $wgContLang

Modified Paths:
--------------
    trunk/phase3/includes/ChangesList.php
    trunk/phase3/includes/EditPage.php

Modified: trunk/phase3/includes/ChangesList.php
===================================================================
--- trunk/phase3/includes/ChangesList.php       2011-06-22 21:34:18 UTC (rev 
90607)
+++ trunk/phase3/includes/ChangesList.php       2011-06-22 21:36:42 UTC (rev 
90608)
@@ -323,7 +323,6 @@
         * @return void
         */
        public function insertArticleLink( &$s, &$rc, $unpatrolled, $watched ) {
-               global $wgContLang;
                # If it's a new article, there is no diff link, but if it 
hasn't been
                # patrolled yet, we need to give users a way to do so
                $params = array();
@@ -805,7 +804,7 @@
         * Enhanced RC group
         */
        protected function recentChangesBlockGroup( $block ) {
-               global $wgLang, $wgContLang, $wgRCShowChangedSize;
+               global $wgLang, $wgRCShowChangedSize;
 
                wfProfileIn( __METHOD__ );
 

Modified: trunk/phase3/includes/EditPage.php
===================================================================
--- trunk/phase3/includes/EditPage.php  2011-06-22 21:34:18 UTC (rev 90607)
+++ trunk/phase3/includes/EditPage.php  2011-06-22 21:36:42 UTC (rev 90608)
@@ -1815,7 +1815,7 @@
                        'style' => '' // avoid php notices when appending 
preferences (appending allows customAttribs['style'] to still work
                );
 
-               global $wgBetterDirectionality, $wgContLang;
+               global $wgBetterDirectionality;
                if( $wgBetterDirectionality ) {
                        $pageLang = $this->mTitle->getPageLanguage();
                        $attribs['lang'] = $pageLang->getCode();


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

Reply via email to