Reverted r91871 per CR: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91871...
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 9 Aug 2011 18:36:20 +0000 (18:36 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 9 Aug 2011 18:36:20 +0000 (18:36 +0000)
Also, the related getAction() changes were already reverted.

includes/Skin.php

index 28a84f7..5be5986 100644 (file)
@@ -352,7 +352,6 @@ abstract class Skin extends ContextSource {
         * @return String
         */
        function getPageClasses( $title ) {
-               global $wgRequest;
                $numeric = 'ns-' . $title->getNamespace();
 
                if ( $title->getNamespace() == NS_SPECIAL ) {
@@ -371,13 +370,8 @@ abstract class Skin extends ContextSource {
                }
 
                $name = Sanitizer::escapeClass( 'page-' . $title->getPrefixedText() );
-               
-               if ( $wgRequest->getVal('action') ) {
-                       $action = 'action-' . $wgRequest->getVal('action');
-               } else {
-                       $action = 'action-view';
-               }
-               return "$numeric $type $name $action";
+
+               return "$numeric $type $name";
        }
 
        /**