Paladox has uploaded a new change for review.
https://gerrit.wikimedia.org/r/270478
Change subject: Add missing apihelp messages
......................................................................
Add missing apihelp messages
Also fix json syntax there was an error.
This will allow us to enable unit tests so the extension can be tested.
Change-Id: I19897274548c39e593c3baf3f21b5b7d208a8d0e
---
M Flexiskin/i18n/en.json
M Flexiskin/i18n/qqq.json
M NamespaceManager/i18n/en.json
M NamespaceManager/i18n/qqq.json
M PermissionManager/PermissionManager.class.php
M UserSidebar/i18n/en.json
M UserSidebar/i18n/qqq.json
M WantedArticle/i18n/en.json
M WantedArticle/i18n/qqq.json
9 files changed, 20 insertions(+), 9 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions
refs/changes/78/270478/1
diff --git a/Flexiskin/i18n/en.json b/Flexiskin/i18n/en.json
index 3360227..8ff7e65 100644
--- a/Flexiskin/i18n/en.json
+++ b/Flexiskin/i18n/en.json
@@ -56,5 +56,6 @@
"bs-flexiskin-api-example-desc": "Returns the current configuration of
a Flexiskin.",
"bs-flexiskin-api-error-save": "An error occurred while trying to save.
Reason: \"$1\"",
"bs-flexiskin-api-error-invalid-action": "This action does not exist.",
- "bs-flexiskin-api-error-missing-param": "The following parameter is
missing: \"$1\""
+ "bs-flexiskin-api-error-missing-param": "The following parameter is
missing: \"$1\"",
+ "apihelp-flexiskin-description": ""
}
diff --git a/Flexiskin/i18n/qqq.json b/Flexiskin/i18n/qqq.json
index 1d453fe..c22758a 100644
--- a/Flexiskin/i18n/qqq.json
+++ b/Flexiskin/i18n/qqq.json
@@ -59,5 +59,6 @@
"bs-flexiskin-api-example-desc": "Description text for the example
found via api.php.",
"bs-flexiskin-api-error-save": "Error message showing up when an error
occurres while saving the flexiskin \\n*$1 the reason the saving didn't work",
"bs-flexiskin-api-error-invalid-action": "Error message that the given
type/mode compination does not exist.",
- "bs-flexiskin-api-error-missing-param": "A needed parameter is
missing\\n*$1 is the parameter missing."
+ "bs-flexiskin-api-error-missing-param": "A needed parameter is
missing\\n*$1 is the parameter missing.",
+ "apihelp-flexiskin-description": "{{doc-apihelp-description|flexiskin}}"
}
diff --git a/NamespaceManager/i18n/en.json b/NamespaceManager/i18n/en.json
index 12d4d3d..06b150c 100644
--- a/NamespaceManager/i18n/en.json
+++ b/NamespaceManager/i18n/en.json
@@ -41,5 +41,7 @@
"logentry-bs-namespace-manager-create": "$1 {{GENDER:$2|has created}}
the namespace $4",
"logentry-bs-namespace-manager-modify": "$1 {{GENDER:$2|has changed}}
the settings for the namespace $4",
"logentry-bs-namespace-manager-rename": "$1 {{GENDER:$2|has renamed}}
the namespace $4 to $5",
- "logentry-bs-namespace-manager-remove": "$1 {{GENDER:$2|has removed}}
the namespace $4"
+ "logentry-bs-namespace-manager-remove": "$1 {{GENDER:$2|has removed}}
the namespace $4",
+ "apihelp-bs-namespace-store-description": "",
+ "apihelp-bs-namespace-tasks-description": ""
}
\ No newline at end of file
diff --git a/NamespaceManager/i18n/qqq.json b/NamespaceManager/i18n/qqq.json
index 7745aab..ac639e9 100644
--- a/NamespaceManager/i18n/qqq.json
+++ b/NamespaceManager/i18n/qqq.json
@@ -43,5 +43,7 @@
"logentry-bs-namespace-manager-create": "Log message about the creation
of a new namespace.\nParameters:\n* $4 - name of the namespace",
"logentry-bs-namespace-manager-modify": "Log message about changes in
the settings of a namespace.\nParameters:\n* $4 - name of the namespace",
"logentry-bs-namespace-manager-rename": "Log message about changes of
the name of a namespace.\nParameters:\n* $4 - old name of the namespace\n* $5 -
new name of the namespace",
- "logentry-bs-namespace-manager-remove": "Log message about the removal
of a namespace.\nParameters:\n* $4 - name of the namespace"
+ "logentry-bs-namespace-manager-remove": "Log message about the removal
of a namespace.\nParameters:\n* $4 - name of the namespace",
+ "apihelp-bs-namespace-store-description":
"{{doc-apihelp-description|bs-namespace-store}}",
+ "apihelp-bs-namespace-tasks-description":
"{{doc-apihelp-description|bs-namespace-tasks}}"
}
diff --git a/PermissionManager/PermissionManager.class.php
b/PermissionManager/PermissionManager.class.php
index 731bd52..0e443f5 100644
--- a/PermissionManager/PermissionManager.class.php
+++ b/PermissionManager/PermissionManager.class.php
@@ -213,7 +213,7 @@
}
public static function setupLockmodePermissions() {
- global $wgAdditionalGroups, $wgGroupPermissions,
$wgNamespacePermissionLockdown;
+ global $wgAdditionalGroups, $wgGroupPermissions,
$wgAvailableRights, $wgNamespacePermissionLockdown;
// return directly if the settings got already checked in this
session and the state of Lockmode didn't change.
$oRequest = RequestContext::getMain()->getRequest();
@@ -232,6 +232,7 @@
}
// reset sysop group permissions
$wgGroupPermissions['sysop'] =
self::$aSysopDefaultPermissions;
+ $wgAvailableRights[] = 'proxyunbannable';
if ( is_array( $wgNamespacePermissionLockdown ) ) {
foreach ( $wgNamespacePermissionLockdown as
$iNsIndex => $aNsRights ) {
diff --git a/UserSidebar/i18n/en.json b/UserSidebar/i18n/en.json
index d5677e9..554802b 100644
--- a/UserSidebar/i18n/en.json
+++ b/UserSidebar/i18n/en.json
@@ -7,5 +7,6 @@
"bs-usersidebar-desc": "Adds the focus tab to sidebar",
"prefs-usersidebar": "User sidebar",
"bs-usersidebar-userpagesettings-link-title": "Edit the content of your
focus",
- "bs-usersidebar-userpagesettings-link-text": "{{GENDER:|Edit}} focus"
+ "bs-usersidebar-userpagesettings-link-text": "{{GENDER:|Edit}} focus",
+ "apihelp-sidebar-description": ""
}
diff --git a/UserSidebar/i18n/qqq.json b/UserSidebar/i18n/qqq.json
index beb20f6..8e27a37 100644
--- a/UserSidebar/i18n/qqq.json
+++ b/UserSidebar/i18n/qqq.json
@@ -8,5 +8,6 @@
"bs-usersidebar-desc": "Used in
[{{canonicalurl:Special:WikiAdmin|mode=ExtensionInfo}}
Special:WikiAdmin?mode=ExtensionInfo], description of user sidebar extension",
"prefs-usersidebar": "Used in
[{{canonicalurl:Special:WikiAdmin|mode=Preferences}}
Special:WikiAdmin?mode=Preferences], headline for user sidebar section in
preferences.",
"bs-usersidebar-userpagesettings-link-title": "Image title for edit the
content of your focus",
- "bs-usersidebar-userpagesettings-link-text": "Anchor text for
{{GENDER:|edit}} focus"
+ "bs-usersidebar-userpagesettings-link-text": "Anchor text for
{{GENDER:|edit}} focus",
+ "apihelp-sidebar-description": "{{doc-apihelp-description|sidebar}}"
}
diff --git a/WantedArticle/i18n/en.json b/WantedArticle/i18n/en.json
index 2211943..a117508 100644
--- a/WantedArticle/i18n/en.json
+++ b/WantedArticle/i18n/en.json
@@ -39,5 +39,6 @@
"bs-wantedarticle-create-page": "Create page \"$1\".",
"bs-wantedarticle-suggest-page": "Suggest page \"$1\".",
"bs-wantedarticle-info-nothing-entered": "Please provide a valid page
title.",
- "bs-wantedarticle-title-invalid-chars": "The following
{{PLURAL:$1|character is|characters are}} not valid for use in a page title: $2"
+ "bs-wantedarticle-title-invalid-chars": "The following
{{PLURAL:$1|character is|characters are}} not valid for use in a page title:
$2",
+ "apihelp-bs-wantedarticle-description": ""
}
diff --git a/WantedArticle/i18n/qqq.json b/WantedArticle/i18n/qqq.json
index 609717e..eb83cea 100644
--- a/WantedArticle/i18n/qqq.json
+++ b/WantedArticle/i18n/qqq.json
@@ -46,5 +46,6 @@
"bs-wantedarticle-create-page": "Text for create page \"$1\". $1 is the
entered page name\n{{Identical|Create page}}",
"bs-wantedarticle-suggest-page": "Test for suggest page \"$1\". $1 is
the entered page name",
"bs-wantedarticle-info-nothing-entered": "Text for please provide a
valid page title.",
- "bs-wantedarticle-title-invalid-chars": "Text for the following
characters are not valid for use in a page title: $2.\n\nParameters:\n* $1 -
the number of characters which are not valid - use for PLURAL distinction\n* $2
- a comma separated list of invalid characters"
+ "bs-wantedarticle-title-invalid-chars": "Text for the following
characters are not valid for use in a page title: $2.\n\nParameters:\n* $1 -
the number of characters which are not valid - use for PLURAL distinction\n* $2
- a comma separated list of invalid characters",
+ "apihelp-bs-wantedarticle-description":
"{{doc-apihelp-description|bs-wantedarticle}}"
}
--
To view, visit https://gerrit.wikimedia.org/r/270478
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I19897274548c39e593c3baf3f21b5b7d208a8d0e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits