From 67609c85cee94739f20741e0a255cdd5553bc118 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 9 Aug 2011 18:36:20 +0000 Subject: [PATCH] Reverted r91871 per CR: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91871#c19474 Also, the related getAction() changes were already reverted. --- includes/Skin.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 28a84f73fb..5be598623e 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -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"; } /** -- 2.20.1