Skip to content

Commit

Permalink
Add grant which will be available on Special:ListGrants
Browse files Browse the repository at this point in the history
Bug: T313367
Change-Id: I0711d959c9430ae9b76586bc08438b3c9d2ad929
  • Loading branch information
kizule committed Jan 25, 2023
1 parent 9fcbd62 commit 65fa9cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions extension.json
Expand Up @@ -59,6 +59,11 @@
"editwidgets": true
}
},
"GrantPermissions": {
"editwidgets": {
"editwidgets": true
}
},
"MessagesDirs": {
"Widgets": [
"i18n"
Expand Down
1 change: 1 addition & 0 deletions i18n/en.json
Expand Up @@ -9,6 +9,7 @@
"grouppage-widgeteditor": "{{ns:project}}:Widget editors",
"action-editwidgets": "create and edit widgets",
"right-editwidgets": "Create and edit [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Widgets widgets] in the <code>{{ns:widget}}</code> namespace",
"grant-editwidgets": "Create and edit widgets",
"group-widgeteditor.css": "/* CSS placed here will affect widget editors only */",
"group-widgeteditor.js": "/* JS placed here will affect widget editors only */",
"widgets-config-useflaggedrevs": "Set this to true to use FlaggedRevs extension's stable version for widget security",
Expand Down
1 change: 1 addition & 0 deletions i18n/qqq.json
Expand Up @@ -17,6 +17,7 @@
"grouppage-widgeteditor": "{{doc-group|widgeteditor|page}}",
"action-editwidgets": "{{doc-action|editwidgets}}",
"right-editwidgets": "{{doc-right|editwidgets}}",
"grant-editwidgets": "Name for grant \"editwidgets\".\n{{Related|Grant}}",
"group-widgeteditor.css": "{{doc-group|widgeteditor|css}}",
"group-widgeteditor.js": "{{doc-group|widgeteditor|js}}",
"widgets-config-useflaggedrevs": "configuration setting description of $wgWidgetsUseFlaggedRevs",
Expand Down

0 comments on commit 65fa9cd

Please sign in to comment.