Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS

SVN: [35277] trunk/phase3

 

 

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded


leon at svn

May 24, 2008, 2:37 AM

Post #1 of 1 (46 views)
Permalink
SVN: [35277] trunk/phase3

Revision: 35277
Author: leon
Date: 2008-05-24 09:37:45 +0000 (Sat, 24 May 2008)

Log Message:
-----------
Paging links on special pages now have CSS classes and are greyed out by default when disabled. Somehow related to bug 14244.

Modified Paths:
--------------
trunk/phase3/RELEASE-NOTES
trunk/phase3/includes/Pager.php
trunk/phase3/skins/common/shared.css

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES 2008-05-24 09:33:36 UTC (rev 35276)
+++ trunk/phase3/RELEASE-NOTES 2008-05-24 09:37:45 UTC (rev 35277)
@@ -127,6 +127,8 @@
* (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 ===


Modified: trunk/phase3/includes/Pager.php
===================================================================
--- trunk/phase3/includes/Pager.php 2008-05-24 09:33:36 UTC (rev 35276)
+++ trunk/phase3/includes/Pager.php 2008-05-24 09:37:45 UTC (rev 35277)
@@ -405,11 +405,17 @@
$links = array();
foreach ( $queries as $type => $query ) {
if ( $query !== false ) {
- $links[$type] = $this->makeLink( $linkTexts[$type], $queries[$type], $type );
+ $links[$type] = "<span class='mw-pager-pagerlink-enabled'>" .
+ $this->makeLink( $linkTexts[$type], $queries[$type], $type ) .
+ "</span>";
} elseif ( isset( $disabledTexts[$type] ) ) {
- $links[$type] = $disabledTexts[$type];
+ $links[$type] = "<span class='mw-pager-pagerlink-disabled'>" .
+ $disabledTexts[$type] .
+ "</span>";
} else {
- $links[$type] = $linkTexts[$type];
+ $links[$type] = "<span class='mw-pager-pagerlink-disabled'>" .
+ $linkTexts[$type] .
+ "</span>";
}
}
return $links;

Modified: trunk/phase3/skins/common/shared.css
===================================================================
--- trunk/phase3/skins/common/shared.css 2008-05-24 09:33:36 UTC (rev 35276)
+++ trunk/phase3/skins/common/shared.css 2008-05-24 09:37:45 UTC (rev 35277)
@@ -244,3 +244,8 @@
#shared-image-dup, #shared-image-conflict {
font-style: italic;
}
+
+span.mw-pager-pagerlink-disabled {
+ color: #aaa;
+}
+



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.