Index: trunk/phase3/includes/parser/LinkHolderArray.php |
— | — | @@ -159,7 +159,7 @@ |
160 | 160 | $current = null; |
161 | 161 | foreach ( $this->internals as $ns => $entries ) { |
162 | 162 | foreach ( $entries as $index => $entry ) { |
163 | | - $key = "$ns:$index"; |
| 163 | + $key = "$ns:$index"; |
164 | 164 | $title = $entry['title']; |
165 | 165 | $pdbk = $entry['pdbk']; |
166 | 166 | |
— | — | @@ -172,6 +172,8 @@ |
173 | 173 | # Check if it's a static known link, e.g. interwiki |
174 | 174 | if ( $title->isAlwaysKnown() ) { |
175 | 175 | $colours[$pdbk] = ''; |
| 176 | + } elseif ( $ns == NS_SPECIAL ) { |
| 177 | + $colours[$pdbk] = 'new'; |
176 | 178 | } elseif ( ( $id = $linkCache->getGoodLinkID( $pdbk ) ) != 0 ) { |
177 | 179 | $colours[$pdbk] = $sk->getLinkColour( $title, $threshold ); |
178 | 180 | $output->addLink( $title, $id ); |