From: Domas Mituzas Date: Tue, 10 Mar 2009 18:57:06 +0000 (+0000) Subject: remove per-page editnotice functionality, message files and message cache are suppose... X-Git-Tag: 1.31.0-rc.0~42531 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=2bbafda834138b9b2234691d796e33b43e32c542;p=lhc%2Fweb%2Fwiklou.git remove per-page editnotice functionality, message files and message cache are supposed to be global data. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index c2bd97dd75..b50055ae5a 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -426,7 +426,6 @@ class EditPage { # Optional notices on a per-namespace and per-page basis $editnotice_ns = 'editnotice-'.$this->mTitle->getNamespace(); - $editnotice_page = $editnotice_ns.'-'.$this->mTitle->getDBkey(); if ( !wfEmptyMsg( $editnotice_ns, wfMsgForContent( $editnotice_ns ) ) ) { $wgOut->addWikiText( wfMsgForContent( $editnotice_ns ) ); } @@ -439,8 +438,6 @@ class EditPage { $wgOut->addWikiText( wfMsgForContent( $editnotice_base ) ); } } - } else if ( !wfEmptyMsg( $editnotice_page, wfMsgForContent( $editnotice_page ) ) ) { - $wgOut->addWikiText( wfMsgForContent( $editnotice_page ) ); } # Attempt submission here. This will check for edit conflicts,