Index: trunk/phase3/includes/Skin.php |
— | — | @@ -352,7 +352,6 @@ |
353 | 353 | * @return String |
354 | 354 | */ |
355 | 355 | function getPageClasses( $title ) { |
356 | | - global $wgRequest; |
357 | 356 | $numeric = 'ns-' . $title->getNamespace(); |
358 | 357 | |
359 | 358 | if ( $title->getNamespace() == NS_SPECIAL ) { |
— | — | @@ -371,13 +370,8 @@ |
372 | 371 | } |
373 | 372 | |
374 | 373 | $name = Sanitizer::escapeClass( 'page-' . $title->getPrefixedText() ); |
375 | | - |
376 | | - if ( $wgRequest->getVal('action') ) { |
377 | | - $action = 'action-' . $wgRequest->getVal('action'); |
378 | | - } else { |
379 | | - $action = 'action-view'; |
380 | | - } |
381 | | - return "$numeric $type $name $action"; |
| 374 | + |
| 375 | + return "$numeric $type $name"; |
382 | 376 | } |
383 | 377 | |
384 | 378 | /** |