From: Leon Weber Date: Sat, 24 May 2008 09:37:45 +0000 (+0000) Subject: Paging links on special pages now have CSS classes and are greyed out by default... X-Git-Tag: 1.31.0-rc.0~47411 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=709416c74a5356ffcf1386c3276938704e617067;p=lhc%2Fweb%2Fwiklou.git Paging links on special pages now have CSS classes and are greyed out by default when disabled. Somehow related to bug 14244. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 33f455b726..290eaa200f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -127,6 +127,8 @@ 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 fixes in 1.13 === diff --git a/includes/Pager.php b/includes/Pager.php index 23591b296c..bfbcb8ce4f 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -405,11 +405,17 @@ 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 5aa8bfec33..3362dc9685 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -244,3 +244,8 @@ h4.mw-specialpagesgroup { #shared-image-dup, #shared-image-conflict { font-style: italic; } + +span.mw-pager-pagerlink-disabled { + color: #aaa; +} +