Index: trunk/phase3/includes/specials/SpecialWhatlinkshere.php |
— | — | @@ -167,11 +167,13 @@ |
168 | 168 | if( ( !$fetchlinks || !$dbr->numRows($plRes) ) && ( $hidetrans || !$dbr->numRows($tlRes) ) && ( $hideimages || !$dbr->numRows($ilRes) ) ) { |
169 | 169 | if ( 0 == $level ) { |
170 | 170 | $wgOut->addHTML( $this->whatlinkshereForm() ); |
171 | | - $errMsg = is_int($namespace) ? 'nolinkshere-ns' : 'nolinkshere'; |
172 | | - $wgOut->addWikiMsg( $errMsg, $this->target->getPrefixedText() ); |
| 171 | + |
173 | 172 | // Show filters only if there are links |
174 | 173 | if( $hidelinks || $hidetrans || $hideredirs || $hideimages ) |
175 | 174 | $wgOut->addHTML( $this->getFilterPanel() ); |
| 175 | + |
| 176 | + $errMsg = is_int($namespace) ? 'nolinkshere-ns' : 'nolinkshere'; |
| 177 | + $wgOut->addWikiMsg( $errMsg, $this->target->getPrefixedText() ); |
176 | 178 | } |
177 | 179 | return; |
178 | 180 | } |