diff options
author | Martin Urbanec <martin.urbanec@wikimedia.cz> | 2020-09-03 10:18:14 +0200 |
---|---|---|
committer | Martin Urbanec <martin.urbanec@wikimedia.cz> | 2020-09-16 09:15:59 +0200 |
commit | b4f4c25403d62accb56f54f174cb35ff36b10105 (patch) | |
tree | c8b0570557884a5d63ef6840d19c3e7d90e82eda /includes/MWGrants.php | |
parent | 413eb8c8f39bee47c9b10e7ea4df306ec08be6a5 (diff) | |
download | mediawikicore-b4f4c25403d62accb56f54f174cb35ff36b10105.tar.gz mediawikicore-b4f4c25403d62accb56f54f174cb35ff36b10105.zip |
Add import permissions to new import grant
Import lets you to attribute revisions to other users
(especially importupload), which makes it more sensitive
than purely mass editing.
Change-Id: If79e0e570fecf724ace23c1ba4de364043961258
Diffstat (limited to 'includes/MWGrants.php')
-rw-r--r-- | includes/MWGrants.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/MWGrants.php b/includes/MWGrants.php index 82c8bb3ba6fc..7bc7332e9943 100644 --- a/includes/MWGrants.php +++ b/includes/MWGrants.php @@ -62,7 +62,8 @@ class MWGrants { // grant-highvolume, grant-oversight, grant-patrol, grant-protect, // grant-rollback, grant-sendemail, grant-uploadeditmovefile, // grant-uploadfile, grant-basic, grant-viewdeleted, - // grant-viewmywatchlist, grant-createaccount, grant-mergehistory + // grant-viewmywatchlist, grant-createaccount, grant-mergehistory, + // grant-import $msg = wfMessage( "grant-$grant" ); if ( $lang !== null ) { if ( is_string( $lang ) ) { |