Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -244,3 +244,8 @@ |
245 | 245 | #shared-image-dup, #shared-image-conflict { |
246 | 246 | font-style: italic; |
247 | 247 | } |
| 248 | + |
| 249 | +span.mw-pager-pagerlink-disabled { |
| 250 | + color: #aaa; |
| 251 | +} |
| 252 | + |
Index: trunk/phase3/includes/Pager.php |
— | — | @@ -405,11 +405,17 @@ |
406 | 406 | $links = array(); |
407 | 407 | foreach ( $queries as $type => $query ) { |
408 | 408 | if ( $query !== false ) { |
409 | | - $links[$type] = $this->makeLink( $linkTexts[$type], $queries[$type], $type ); |
| 409 | + $links[$type] = "<span class='mw-pager-pagerlink-enabled'>" . |
| 410 | + $this->makeLink( $linkTexts[$type], $queries[$type], $type ) . |
| 411 | + "</span>"; |
410 | 412 | } elseif ( isset( $disabledTexts[$type] ) ) { |
411 | | - $links[$type] = $disabledTexts[$type]; |
| 413 | + $links[$type] = "<span class='mw-pager-pagerlink-disabled'>" . |
| 414 | + $disabledTexts[$type] . |
| 415 | + "</span>"; |
412 | 416 | } else { |
413 | | - $links[$type] = $linkTexts[$type]; |
| 417 | + $links[$type] = "<span class='mw-pager-pagerlink-disabled'>" . |
| 418 | + $linkTexts[$type] . |
| 419 | + "</span>"; |
414 | 420 | } |
415 | 421 | } |
416 | 422 | return $links; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -127,6 +127,8 @@ |
128 | 128 | * (bug 13095) Search by first letters or digits in [[Special:Categories]] |
129 | 129 | * Users moving a page can now move all subpages automatically as well |
130 | 130 | * Sidebar is now cached for all languages |
| 131 | +* Paging links on special pages now have CSS classes and are greyed out by default |
| 132 | + when disabled |
131 | 133 | |
132 | 134 | === Bug fixes in 1.13 === |
133 | 135 | |