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 @@
92
92
} elseif ( $threshold > 0 && $t->getLength() < $threshold && MWNamespace::isContent( $t->getNamespace() ) ) {
93
93
# Page is a stub
94
94
$colour = 'stub';
95
+ } elseif ( !MWNamespace::isContent( $t->getNamespace() ) ) {
96
+ # Non-article page
97
+ $colour = 'mw-noncontent';
95
98
}
96
99
return $colour;
97
100
}
Follow-up revisions
Revision
Commit summary
Author
Date
r33388
Revert
r33378
-- class spam
brion
19:06, 15 April 2008
Status & tagging log
15:26, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r33378
[
removed:
ok
added:
old]