r33378 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33377‎ | r33378 | r33379 >
Date:17:54, 15 April 2008
Author:aaron
Status:old
Tags:
Comment:
Add class to non-content links
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -91,6 +91,9 @@
9292 } elseif ( $threshold > 0 && $t->getLength() < $threshold && MWNamespace::isContent( $t->getNamespace() ) ) {
9393 # Page is a stub
9494 $colour = 'stub';
 95+ } elseif ( !MWNamespace::isContent( $t->getNamespace() ) ) {
 96+ # Non-article page
 97+ $colour = 'mw-noncontent';
9598 }
9699 return $colour;
97100 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r33388Revert r33378 -- class spambrion19:06, 15 April 2008

Status & tagging log