* (bug 5015) Update magic words translation in LanguageBe.php
* (bug 4859) Update for Portuguese messages (pt)
* (bug 4788) One string for MessagesPl
+* Restriction types now use restriction-* messages instead of ui messages
Parser:
* (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
* Avoid corrupting <gallery> inside <!-- comment -->
* Remove legacy PHPTal code, hasn't been maintained in ages.
* Tweak Userlogin include order for APC issue
+* Don't try to link to current page on protection tab
=== Caveats ===
/**
* Set of available actions that can be restricted via Special:Protect
* You probably shouldn't change this.
+ * Translated trough restriction-* messages.
*/
$wgRestrictionTypes = array( 'edit', 'move' );
$out .= "<tbody>";
$out .= "<tr>\n";
foreach( $this->mRestrictions as $action => $required ) {
- $out .= "<th>" . wfMsgHtml( $action ) . "</th>\n";
+ /* Not all languages have V_x <-> N_x relation */
+ $out .= "<th>" . wfMsgHtml( 'restriction-' . $action ) . "</th>\n";
}
$out .= "</tr>\n";
$out .= "<tr>\n";
'confirmunprotect' => 'Confirm unprotection',
'unprotectcomment' => 'Reason for unprotecting',
'protect-unchain' => 'Unlock move permissions',
-'protect-text' => 'You may view and change the protection level here for the page [[$1]].
+'protect-text' => 'You may view and change the protection level here for the page <strong>$1</strong>.
Please be sure you are following the [[Project:Protected page|project guidelines]].',
'protect-viewtext' => 'Your account does not have permission to change
-page protection levels. Here are the current settings for the page [[$1]]:',
+page protection levels. Here are the current settings for the page <strong>$1</strong>:',
'protect-default' => '(default)',
'protect-level-autoconfirmed' => 'Block unregistered users',
'protect-level-sysop' => 'Sysops only',
+# restrictions (nouns)
+'restriction-edit' => 'Edit',
+'restriction-move' => 'Move',
+
# Undelete
'undelete' => 'View deleted pages',
'youhavenewmessagesmulti' => "You have new messages on $1",
'newtalkseperator' => ',_',
+
);
'confirmprotecttext' => 'Haluatko varmasti suojata tämän sivun?',
'confirmprotect' => 'Vahvista suojaus',
'protectmoveonly' => 'Suojaa vain siirroilta',
-'protectcomment' => 'Suojauksen syy',
+'protectcomment' => 'Suojauksen syy:',
'unprotectsub' => 'Suojauksen poisto sivulta $1',
'confirmunprotecttext'=> 'Haluatko varmasti poistaa tämän sivun suojauksen?',
'confirmunprotect' => 'Vahvista suojauksen poisto',
'unprotectcomment' => 'Syy suojauksen poistoon',
'protect-unchain' => 'Käytä siirtosuojausta',
-'protect-text' => 'Voit katsoa ja muuttaa sivun [[$1]] suojauksia.',
-'protect-viewtext' => 'Et voi muuttaa sivun [[$1]] suojauksia. Alla näet nykyiset suojaukset.',
-'protect-default' => '(oletus)',
-'protect-level-autoconfirmed' => 'Estä vain rekisteröimättömät käyttäjät',
-'protect-level-sysop' => 'vain ylläpitäjät',
+'protect-text' => 'Voit katsoa ja muuttaa sivun ”<strong>$1</strong>” suojauksia:',
+'protect-viewtext' => 'Et voi muuttaa sivun ”<strong>$1</strong>” suojauksia. Alla on sivun nykyiset suojaukset:',
+'protect-default' => '(ei rajoituksia)',
+'protect-level-autoconfirmed' => 'Estä uudet ja anonyymit käyttäjät',
+'protect-level-sysop' => 'Vain ylläpitäjät',
+
+# restrictions (nouns)
+'restriction-edit' => 'muokkaus',
+'restriction-move' => 'siirto',
# Undelete
);
-
-
?>