X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FProtectionForm.php;h=f10317a9e561855b0fd6bb35387c2ff0d00bda3d;hb=3d87e3a86bcb39d444ef916129dd48bf80b5bb31;hp=fa02fb8d4661794d892499848c4af6c16e3e3341;hpb=aeb7a3e705dcc3d880604751114b974f484c2cbd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index fa02fb8d46..f10317a9e5 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -363,9 +363,9 @@ class ProtectionForm { Xml::openElement( 'table', array( 'id' => 'mwProtectSet' ) ) . Xml::openElement( 'tbody' ); + // Not all languages have V_x <-> N_x relation foreach ( $this->mRestrictions as $action => $selected ) { - /* Not all languages have V_x <-> N_x relation */ - // Give grep a chance to find the usages: + // Messages: // restriction-edit, restriction-move, restriction-create, restriction-upload $msg = wfMessage( 'restriction-' . $action ); $out .= "" . @@ -605,6 +605,7 @@ class ProtectionForm { if ( $permission == '' ) { return wfMessage( 'protect-default' )->text(); } else { + // Messages: protect-level-autoconfirmed, protect-level-sysop $msg = wfMessage( "protect-level-{$permission}" ); if ( $msg->exists() ) { return $msg->text();