From: Aaron Schulz Date: Sun, 26 Aug 2007 11:29:07 +0000 (+0000) Subject: forgot to commit this with message tweak X-Git-Tag: 1.31.0-rc.0~51657 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=9a8b24c8fa2ec64c09e5ecb620d77c530a9aced8;p=lhc%2Fweb%2Fwiklou.git forgot to commit this with message tweak --- diff --git a/includes/Article.php b/includes/Article.php index d3cb1ee093..6a583db769 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -902,7 +902,7 @@ class Article { function addProtectionNotice( $editrestr, $moverestr ) { global $wgOut; - $editGroups = $moveGroups = ''; + $editGroups = $moveGroups = wfMsg('protected-anyone'); # Get groups that have each right if( !empty( $editrestr ) ) { $permission = ($editrestr[0]=='sysop') ? 'protect' : $editrestr[0]; @@ -916,11 +916,11 @@ class Article { } # Use general messages if no groups found for a type if( !$editGroups || !$moveGroups ) { - $msg = wfMsg( 'protected-subtitle3' ); + $msg = wfMsg( 'protected-subtitle' ); } else if( $editGroups == $moveGroups ) { $msg = wfMsg( 'protected-subtitle2', $editGroups, $moveGroups ); } else { - $msg = wfMsg( 'protected-subtitle', $editGroups, $moveGroups ); + $msg = wfMsg( 'protected-subtitle3', $editGroups, $moveGroups ); } $wgOut->setSubtitle( $wgOut->getSubtitle() . $msg );