Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -426,7 +426,6 @@ |
427 | 427 | |
428 | 428 | # Optional notices on a per-namespace and per-page basis |
429 | 429 | $editnotice_ns = 'editnotice-'.$this->mTitle->getNamespace(); |
430 | | - $editnotice_page = $editnotice_ns.'-'.$this->mTitle->getDBkey(); |
431 | 430 | if ( !wfEmptyMsg( $editnotice_ns, wfMsgForContent( $editnotice_ns ) ) ) { |
432 | 431 | $wgOut->addWikiText( wfMsgForContent( $editnotice_ns ) ); |
433 | 432 | } |
— | — | @@ -439,8 +438,6 @@ |
440 | 439 | $wgOut->addWikiText( wfMsgForContent( $editnotice_base ) ); |
441 | 440 | } |
442 | 441 | } |
443 | | - } else if ( !wfEmptyMsg( $editnotice_page, wfMsgForContent( $editnotice_page ) ) ) { |
444 | | - $wgOut->addWikiText( wfMsgForContent( $editnotice_page ) ); |
445 | 442 | } |
446 | 443 | |
447 | 444 | # Attempt submission here. This will check for edit conflicts, |