Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -165,12 +165,9 @@ |
166 | 166 | */ |
167 | 167 | function addPage( $title, $sortkey, $pageLength, $isRedirect = false ) { |
168 | 168 | global $wgContLang; |
169 | | - $link = $this->getSkin()->makeSizeLinkObj( |
170 | | - $pageLength, $title, $wgContLang->convert( $title->getPrefixedText() ) |
171 | | - ); |
172 | | - if ($isRedirect) |
173 | | - $link = '<span class="redirect-in-category">'.$link.'</span>'; |
174 | | - $this->articles[] = $link; |
| 169 | + $this->articles[] = $isRedirect |
| 170 | + ? '<span class="redirect-in-category">' . $this->getSkin()->makeKnownLinkObj( $title ) . '</span>' |
| 171 | + : $this->getSkin()->makeSizeLinkObj( $pageLength, $title ); |
175 | 172 | $this->articles_start_char[] = $wgContLang->convert( $wgContLang->firstChar( $sortkey ) ); |
176 | 173 | } |
177 | 174 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -268,6 +268,7 @@ |
269 | 269 | * (bug 10495) $wgMemcachedDebug set twice in includes/DefaultSettings.php |
270 | 270 | * (bug 10316) Prevent inconsistent cached skin settings in gen=js by setting |
271 | 271 | the intended skin directly in the URL. |
| 272 | +* (bug 9903) Don't mark redirects in categories as stubs |
272 | 273 | |
273 | 274 | |
274 | 275 | == API changes since 1.10 == |