Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1200,14 +1200,14 @@ |
1201 | 1201 | 'edit-no-change' => 'Your edit was ignored, because no change was made to the text.', |
1202 | 1202 | 'edit-already-exists' => 'Could not create a new page. |
1203 | 1203 | It already exists.', |
1204 | | -'userrestricted-page' => "<big>'''Your user name or IP address has been restricted from editing page \"$1\".'''</big> |
| 1204 | +'userrestricted-page' => '<big>\'\'\'Your user name or IP address has been restricted from editing page "$1".\'\'\'</big> |
1205 | 1205 | |
1206 | 1206 | The restriction was put by [[User:$2|$2]]. |
1207 | | -The reason given is ''$3''. |
| 1207 | +The reason given is \'\'$3\'\'. |
1208 | 1208 | |
1209 | 1209 | Restriction was put at $4 and expires at $5. |
1210 | 1210 | |
1211 | | -You can contact [[User:$2|$2]] or another [[{{MediaWiki:Grouppage-sysop}}|administrator]] to discuss the restriction.", |
| 1211 | +You can contact [[User:$2|$2]] or another [[{{MediaWiki:Grouppage-sysop}}|administrator]] to discuss the restriction.', |
1212 | 1212 | 'userrestricted-namespace' => "<big>'''Your user name or IP address has been restricted from editing $1 namespace.'''</big> |
1213 | 1213 | |
1214 | 1214 | The restriction was put by [[User:$2|$2]]. |
— | — | @@ -1634,6 +1634,7 @@ |
1635 | 1635 | 'right-suppressrevision' => 'Review and restore revisions hidden from Sysops', |
1636 | 1636 | 'right-suppressionlog' => 'View private logs', |
1637 | 1637 | 'right-block' => 'Block other users from editing', |
| 1638 | +'right-restrict' => 'Restrict user from editing certain namespaces and pages', |
1638 | 1639 | 'right-blockemail' => 'Block a user from sending email', |
1639 | 1640 | 'right-hideuser' => 'Block a username, hiding it from the public', |
1640 | 1641 | 'right-ipblock-exempt' => 'Bypass IP blocks, auto-blocks and range blocks', |
— | — | @@ -1656,7 +1657,6 @@ |
1657 | 1658 | 'right-userrights' => 'Edit all user rights', |
1658 | 1659 | 'right-userrights-interwiki' => 'Edit user rights of users on other wikis', |
1659 | 1660 | 'right-siteadmin' => 'Lock and unlock the database', |
1660 | | -'right-restrict' => 'Restrict user from editing certain namespaces and pages', |
1661 | 1661 | |
1662 | 1662 | # User rights log |
1663 | 1663 | 'rightslog' => 'User rights log', |
— | — | @@ -2611,18 +2611,18 @@ |
2612 | 2612 | 'userrestrictiontype-page' => 'Page', |
2613 | 2613 | |
2614 | 2614 | # Special:RemoveRestrictions |
2615 | | -'removerestrictions' => 'Remove restriction from a user', |
2616 | | -'removerestrictions-intro' => 'Use the form below to remove a restriction from a certain user.', |
2617 | | -'removerestrictions-noid' => 'No restriction ID was specified.', |
2618 | | -'removerestrictions-wrongid' => 'Restriction with that ID not found. Most probably someone has removed it or it expired.', |
2619 | | -'removerestrictions-legend' => 'Remove a restriction', |
2620 | | -'removerestrictions-user' => 'Restricted user:', |
2621 | | -'removerestrictions-type' => 'Restriction type:', |
2622 | | -'removerestrictions-page' => 'Page:', |
2623 | | -'removerestrictions-namespace' => 'Namespace:', |
2624 | | -'removerestrictions-reason' => 'Reason:', |
2625 | | -'removerestrictions-submit' => 'Remove the restriction', |
2626 | | -'removerestrictions-success' => 'Successfully removed the restriction from [[User:$1|$1]].', |
| 2615 | +'removerestrictions' => 'Remove restriction from a user', |
| 2616 | +'removerestrictions-intro' => 'Use the form below to remove a restriction from a certain user.', |
| 2617 | +'removerestrictions-noid' => 'No restriction ID was specified.', |
| 2618 | +'removerestrictions-wrongid' => 'Restriction with that ID not found. Most probably someone has removed it or it expired.', |
| 2619 | +'removerestrictions-legend' => 'Remove a restriction', |
| 2620 | +'removerestrictions-user' => 'Restricted user:', |
| 2621 | +'removerestrictions-type' => 'Restriction type:', |
| 2622 | +'removerestrictions-page' => 'Page:', |
| 2623 | +'removerestrictions-namespace' => 'Namespace:', |
| 2624 | +'removerestrictions-reason' => 'Reason:', |
| 2625 | +'removerestrictions-submit' => 'Remove the restriction', |
| 2626 | +'removerestrictions-success' => 'Successfully removed the restriction from [[User:$1|$1]].', |
2627 | 2627 | |
2628 | 2628 | # Special:RestrictUser |
2629 | 2629 | 'restrictuser' => 'Restrict user', |
— | — | @@ -2651,7 +2651,7 @@ |
2652 | 2652 | 'restrictentry' => 'restricted $1 from editing $2 (expiry set to $3)', |
2653 | 2653 | 'restrictremoveentry' => 'removed restriction from $1 for editing $2', |
2654 | 2654 | 'restrictlognamespace' => '$1 namespace', |
2655 | | -'restrictlogpage' => '[[$1]]', # only translate this message to other languages if you have to change it |
| 2655 | +'restrictlogpage' => '[[$1]]', # do not translate or duplicate this message to other languages |
2656 | 2656 | |
2657 | 2657 | # Developer tools |
2658 | 2658 | 'lockdb' => 'Lock database', |
Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -563,6 +563,8 @@ |
564 | 564 | 'edit-conflict', |
565 | 565 | 'edit-no-change', |
566 | 566 | 'edit-already-exists', |
| 567 | + 'userrestricted-page', |
| 568 | + 'userrestricted-namespace', |
567 | 569 | ), |
568 | 570 | 'parserwarnings' => array( |
569 | 571 | 'expensive-parserfunction-warning', |
— | — | @@ -941,6 +943,7 @@ |
942 | 944 | 'right-suppressrevision', |
943 | 945 | 'right-suppressionlog', |
944 | 946 | 'right-block', |
| 947 | + 'right-restrict', |
945 | 948 | 'right-blockemail', |
946 | 949 | 'right-hideuser', |
947 | 950 | 'right-ipblock-exempt', |
— | — | @@ -1695,6 +1698,7 @@ |
1696 | 1699 | 'ipbsubmit', |
1697 | 1700 | 'ipbother', |
1698 | 1701 | 'ipboptions', |
| 1702 | + 'ipbinfinite', |
1699 | 1703 | 'ipbotheroption', |
1700 | 1704 | 'ipbotherreason', |
1701 | 1705 | 'ipbhidename', |
— | — | @@ -1759,6 +1763,68 @@ |
1760 | 1764 | 'sorbs_create_account_reason', |
1761 | 1765 | 'cant-block-while-blocked', |
1762 | 1766 | ), |
| 1767 | + 'listrestrictions' => array( |
| 1768 | + 'listuserrestrictions', |
| 1769 | + 'listuserrestrictions-intro', |
| 1770 | + 'listuserrestrictions-row-ns', |
| 1771 | + 'listuserrestrictions-row-page', |
| 1772 | + 'listuserrestrictions-row-expiry', |
| 1773 | + 'listuserrestrictions-legend', |
| 1774 | + 'listuserrestrictions-type', |
| 1775 | + 'listuserrestrictions-user', |
| 1776 | + 'listuserrestrictions-namespace', |
| 1777 | + 'listuserrestrictions-page', |
| 1778 | + 'listuserrestrictions-submit', |
| 1779 | + 'listuserrestrictions-notfound', |
| 1780 | + 'listuserrestrictions-empty', |
| 1781 | + 'listuserrestrictions-remove', |
| 1782 | + 'userrestrictiontype-none', |
| 1783 | + 'userrestrictiontype-namespace', |
| 1784 | + 'userrestrictiontype-page', |
| 1785 | + ), |
| 1786 | + 'removerestrictions' => array( |
| 1787 | + 'removerestrictions', |
| 1788 | + 'removerestrictions-intro', |
| 1789 | + 'removerestrictions-noid', |
| 1790 | + 'removerestrictions-wrongid', |
| 1791 | + 'removerestrictions-legend', |
| 1792 | + 'removerestrictions-user', |
| 1793 | + 'removerestrictions-type', |
| 1794 | + 'removerestrictions-page', |
| 1795 | + 'removerestrictions-namespace', |
| 1796 | + 'removerestrictions-reason', |
| 1797 | + 'removerestrictions-submit', |
| 1798 | + 'removerestrictions-success', |
| 1799 | + ), |
| 1800 | + 'restrictuser' => array( |
| 1801 | + 'restrictuser', |
| 1802 | + 'restrictuser-userselect', |
| 1803 | + 'restrictuser-user', |
| 1804 | + 'restrictuser-go', |
| 1805 | + 'restrictuser-notfound', |
| 1806 | + 'restrictuser-existing', |
| 1807 | + 'restrictuser-legend-page', |
| 1808 | + 'restrictuser-legend-namespace', |
| 1809 | + 'restrictuser-title', |
| 1810 | + 'restrictuser-namespace', |
| 1811 | + 'restrictuser-expiry', |
| 1812 | + 'restrictuser-reason', |
| 1813 | + 'restrictuser-sumbit', |
| 1814 | + 'restrictuser-badtitle', |
| 1815 | + 'restrictuser-badnamespace', |
| 1816 | + 'restrictuser-badexpiry', |
| 1817 | + 'restrictuser-duptitle', |
| 1818 | + 'restrictuser-dupnamespace', |
| 1819 | + 'restrictuser-success', |
| 1820 | + ), |
| 1821 | + 'restrictionlog' => array( |
| 1822 | + 'restrictionlog', |
| 1823 | + 'restrictionlogtext', |
| 1824 | + 'restrictentry', |
| 1825 | + 'restrictremoveentry', |
| 1826 | + 'restrictlognamespace', |
| 1827 | + 'restrictlogpage', |
| 1828 | + ), |
1763 | 1829 | 'developertools' => array( |
1764 | 1830 | 'lockdb', |
1765 | 1831 | 'unlockdb', |
— | — | @@ -2852,6 +2918,10 @@ |
2853 | 2919 | 'sp-contributions' => '', |
2854 | 2920 | 'whatlinkshere' => 'What links here', |
2855 | 2921 | 'block' => 'Block/unblock', |
| 2922 | + 'listrestrictions' => 'Special:ListUserRestrictions', |
| 2923 | + 'removerestrictions' => 'Special:RemoveRestrictions', |
| 2924 | + 'restrictuser' => 'Special:RestrictUser', |
| 2925 | + 'restrictionlog' => 'Special:Log/restrict', |
2856 | 2926 | 'developertools' => 'Developer tools', |
2857 | 2927 | 'movepage' => 'Move page', |
2858 | 2928 | 'export' => 'Export', |
Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -153,6 +153,7 @@ |
154 | 154 | 'upload-summary', |
155 | 155 | 'pagetitle-view-mainpage', |
156 | 156 | 'newuserlogentry', |
| 157 | + 'restrictlogpage', |
157 | 158 | ); |
158 | 159 | |
159 | 160 | /** Optional messages, which may be translated only if changed in the target language. */ |
— | — | @@ -320,7 +321,6 @@ |
321 | 322 | 'recentchangeslinked-backlink', |
322 | 323 | 'diff-with-additional', |
323 | 324 | 'statistics-footer', |
324 | | - 'restrictlogpage', |
325 | 325 | ); |
326 | 326 | |
327 | 327 | /** EXIF messages, which may be set as optional in several checks, but are generally mandatory */ |