Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1056,9 +1056,9 @@ |
1057 | 1057 | } |
1058 | 1058 | |
1059 | 1059 | if( wfReadOnly() ) { |
1060 | | - $wgOut->addWikiText( wfMsg( 'readonlywarning' ) ); |
| 1060 | + $wgOut->addWikiText( '<div id="mw-read-only-warning">'.wfMsg( 'readonlywarning' ).'</div>' ); |
1061 | 1061 | } elseif( $wgUser->isAnon() && $this->formtype != 'preview' ) { |
1062 | | - $wgOut->addWikiText( wfMsg( 'anoneditwarning' ) ); |
| 1062 | + $wgOut->addWikiText( '<div id="mw-anon-edit-warning">'.wfMsg( 'anoneditwarning' ).'</div>' ); |
1063 | 1063 | } else { |
1064 | 1064 | if( $this->isCssJsSubpage && $this->formtype != 'preview' ) { |
1065 | 1065 | # Check the skin exists |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -106,7 +106,9 @@ |
107 | 107 | * Added link to the old title in Special:Movepage |
108 | 108 | * On Special:Movepage, errors are now more noticeable. |
109 | 109 | * It is now possible to change rights on other local wikis without the MakeSysop |
110 | | - extension |
| 110 | + extension |
| 111 | +* Add HTML ID's mw-read-only-warning and mw-anon-edit-warning to warnings when |
| 112 | + editing to allow CSS styling. |
111 | 113 | |
112 | 114 | === Bug fixes in 1.12 === |
113 | 115 | |