r25154 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25153‎ | r25154 | r25155 >
Date:11:29, 26 August 2007
Author:aaron
Status:old
Tags:
Comment:
forgot to commit this with message tweak
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -902,7 +902,7 @@
903903 function addProtectionNotice( $editrestr, $moverestr ) {
904904 global $wgOut;
905905
906 - $editGroups = $moveGroups = '';
 906+ $editGroups = $moveGroups = wfMsg('protected-anyone');
907907 # Get groups that have each right
908908 if( !empty( $editrestr ) ) {
909909 $permission = ($editrestr[0]=='sysop') ? 'protect' : $editrestr[0];
@@ -916,11 +916,11 @@
917917 }
918918 # Use general messages if no groups found for a type
919919 if( !$editGroups || !$moveGroups ) {
920 - $msg = wfMsg( 'protected-subtitle3' );
 920+ $msg = wfMsg( 'protected-subtitle' );
921921 } else if( $editGroups == $moveGroups ) {
922922 $msg = wfMsg( 'protected-subtitle2', $editGroups, $moveGroups );
923923 } else {
924 - $msg = wfMsg( 'protected-subtitle', $editGroups, $moveGroups );
 924+ $msg = wfMsg( 'protected-subtitle3', $editGroups, $moveGroups );
925925 }
926926
927927 $wgOut->setSubtitle( $wgOut->getSubtitle() . $msg );

Follow-up revisions

RevisionCommit summaryAuthorDate
r25223Merged revisions 25126-25214 via svnmerge from...david07:39, 28 August 2007

Status & tagging log