Extension talk:Lockdown/hiding pages

Note, that similar things should be done in a few other files...

I've done it in: global $wgUser, $wgContLang; + if ( namespaceIsVisible( $result->namespace ) ) { $fromObj = Title::makeTitle( $result->namespace, $result->title ); ... + }  global $wgContLang; + if ( namespaceIsVisible( $result->namespace ) ) { $fname = 'DoubleRedirectsPage::formatResult'; ... + }
 * includes/SpecialBrokenRedirects.php -- in function formatResult (similar to Special:Listredirects patch):
 * includes/SpecialDoubleRedirects.php -- in function formatResult (similar to Special:Listredirects patch):

foreach ( $rows as $row ) +    if ( namespaceIsVisible( $row->page_namespace ) ) { $nt = Title::makeTitle( $row->page_namespace, $row->page_title ); ... +    }
 * includes/SpecialWhatlinkshere.php -- in function showIndirectLinks in loop (similar to Special:Prefixindex patch):

...  if( is_null( $skin ) ) $skin = $wgUser->getSkin; + if ( namespaceIsVisible( $row->page_namespace ) ) { $title = Title::makeTitleSafe( $row->page_namespace, $row->page_title ); ... + }
 * includes/SpecialProtectedpages.php -- in function formatRow:

--zuo (85.222.69.4 03:21, 20 April 2008 (UTC))

Please update the scripts for Mediawiki 1.16. They are needed. Thank you very much for your help guys!