From 5295b0745790aa64b070a97ed84f2cb0fe8366cd Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 25 May 2008 17:00:38 +0000 Subject: [PATCH] Revert r35277 (grayed-out paging links). IMHO this just doesn't look very good. --- RELEASE-NOTES | 2 -- includes/DefaultSettings.php | 2 +- includes/Pager.php | 12 +++--------- skins/common/shared.css | 5 ----- 4 files changed, 4 insertions(+), 17 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9974285f74..5a8ae4d1e5 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -127,8 +127,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13095) Search by first letters or digits in [[Special:Categories]] * Users moving a page can now move all subpages automatically as well * Sidebar is now cached for all languages -* Paging links on special pages now have CSS classes and are greyed out by default - when disabled * (bug 14259) Localisation message for upload button on Special:Import is now 'import-upload' instead of 'upload' diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 7887e447e1..869cdbf376 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1328,7 +1328,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '147'; +$wgStyleVersion = '148'; # Server-side caching: diff --git a/includes/Pager.php b/includes/Pager.php index bfbcb8ce4f..23591b296c 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -405,17 +405,11 @@ abstract class IndexPager implements Pager { $links = array(); foreach ( $queries as $type => $query ) { if ( $query !== false ) { - $links[$type] = "" . - $this->makeLink( $linkTexts[$type], $queries[$type], $type ) . - ""; + $links[$type] = $this->makeLink( $linkTexts[$type], $queries[$type], $type ); } elseif ( isset( $disabledTexts[$type] ) ) { - $links[$type] = "" . - $disabledTexts[$type] . - ""; + $links[$type] = $disabledTexts[$type]; } else { - $links[$type] = "" . - $linkTexts[$type] . - ""; + $links[$type] = $linkTexts[$type]; } } return $links; diff --git a/skins/common/shared.css b/skins/common/shared.css index be6a18d6b4..5aa8bfec33 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -244,8 +244,3 @@ h4.mw-specialpagesgroup { #shared-image-dup, #shared-image-conflict { font-style: italic; } - -span.mw-pager-pagerlink-disabled { - color: #989898; -} - -- 2.20.1