Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -976,7 +976,7 @@ |
977 | 977 | foreach( $cascadeSources as $title ) |
978 | 978 | $titles .= "* [[:" . $title->getPrefixedText() . "]]\n"; |
979 | 979 | $this->addWikiText( wfMsgExt( 'cascadeprotected', 'parsemag', $count ) . "\n{$titles}" ); |
980 | | - } elseif( $wgTitle->isNamespaceProtected() ) { |
| 980 | + } elseif( !$wgTitle->isProtected( 'edit' ) && $wgTitle->isNamespaceProtected() ) { |
981 | 981 | // Namespace protection |
982 | 982 | global $wgNamespaceProtection; |
983 | 983 | $ns = $wgTitle->getNamespace() == NS_MAIN |