Revert r35277 (grayed-out paging links). IMHO this just doesn't look very good.
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 25 May 2008 17:00:38 +0000 (17:00 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 25 May 2008 17:00:38 +0000 (17:00 +0000)
RELEASE-NOTES
includes/DefaultSettings.php
includes/Pager.php
skins/common/shared.css

index 9974285..5a8ae4d 100644 (file)
@@ -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'
 
index 7887e44..869cdbf 100644 (file)
@@ -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:
index bfbcb8c..23591b2 100644 (file)
@@ -405,17 +405,11 @@ abstract class IndexPager implements Pager {
                $links = array();
                foreach ( $queries as $type => $query ) {
                        if ( $query !== false ) {
-                               $links[$type] = "<span class='mw-pager-pagerlink-enabled'>" .
-                                       $this->makeLink( $linkTexts[$type], $queries[$type], $type ) .
-                                       "</span>";
+                               $links[$type] = $this->makeLink( $linkTexts[$type], $queries[$type], $type );
                        } elseif ( isset( $disabledTexts[$type] ) ) {
-                               $links[$type] = "<span class='mw-pager-pagerlink-disabled'>" .
-                                       $disabledTexts[$type] .
-                                       "</span>";
+                               $links[$type] = $disabledTexts[$type];
                        } else {
-                               $links[$type] = "<span class='mw-pager-pagerlink-disabled'>" .
-                                       $linkTexts[$type] .
-                                       "</span>";
+                               $links[$type] = $linkTexts[$type];
                        }
                }
                return $links;
index be6a18d..5aa8bfe 100644 (file)
@@ -244,8 +244,3 @@ h4.mw-specialpagesgroup {
 #shared-image-dup, #shared-image-conflict {
        font-style: italic;
 }
-
-span.mw-pager-pagerlink-disabled {
-       color: #989898;
-}
-