Index: trunk/phase3/includes/Skin.php |
— | — | @@ -725,11 +725,12 @@ |
726 | 726 | |
727 | 727 | $classes = 'catlinks'; |
728 | 728 | |
729 | | - if(FALSE === strpos($catlinks,'<div id="mw-normal-catlinks">')) { |
| 729 | + if( strpos( $catlinks, '<div id="mw-normal-catlinks">' ) === false && |
| 730 | + strpos( $catlinks, '<div id="mw-hidden-catlinks" class="mw-hidden-cats-hidden">' ) !== false ) { |
730 | 731 | $classes .= ' catlinks-allhidden'; |
731 | 732 | } |
732 | 733 | |
733 | | - if(!empty($catlinks)) { |
| 734 | + if( !empty( $catlinks ) ){ |
734 | 735 | return "<div id='catlinks' class='$classes'>{$catlinks}</div>"; |
735 | 736 | } |
736 | 737 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -230,6 +230,8 @@ |
231 | 231 | * (bug 13583) No "poweredby" in Modern skin |
232 | 232 | * (bug 13880) "Printable" link in Modern skin now formats as print mode |
233 | 233 | * (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels |
| 234 | +* (bug 13891) Show categories box even if all categories are hidden and user has |
| 235 | + "show hidden categories" option on |
234 | 236 | |
235 | 237 | |
236 | 238 | === API changes in 1.13 === |