Index: trunk/phpwiki/newcodebase/Article.php |
— | — | @@ -462,6 +462,10 @@ |
463 | 463 | wfMsg( "readonlywarning" ) . |
464 | 464 | "</strong>" ); |
465 | 465 | } |
| 466 | + if( $wgTitle->isProtected() ) { |
| 467 | + $wgOut->addHTML( "<strong>" . wfMsg( "protectedpagewarning" ) . |
| 468 | + "</strong><br />\n" ); |
| 469 | + } |
466 | 470 | |
467 | 471 | $kblength = (int)(strlen( $wpTextbox1 ) / 1024); |
468 | 472 | if( $kblength > 29 ) { |
Index: trunk/phpwiki/newcodebase/Language.php |
— | — | @@ -512,6 +512,10 @@ |
513 | 513 | "readonlywarning" => "WARNING: The database has been locked for maintenance, |
514 | 514 | so you will not be able to save your edits right now. You may wish to cut-n-paste |
515 | 515 | the text into a text file and save it for later.", |
| 516 | +"protectedpagewarning" => "WARNING: This page has been locked so that only |
| 517 | +users with sysop priveledges can edit it. Be sure you are following the |
| 518 | +<a href='/wiki/Wikipedia:Protected_page_guidelines'>protected page |
| 519 | +guidelines</a>.", |
516 | 520 | |
517 | 521 | # History pages |
518 | 522 | # |