Tinaj1234 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/233105
Change subject: Add a text message above the form on Special:GlobalUsage
......................................................................
Add a text message above the form on Special:GlobalUsage
Added a text message above the form describing what the special
page does.
Bug: T109882
Change-Id: I6d4863aadc93a37eac802da5307324ad4d051e48
---
M SpecialGlobalUsage.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 6 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GlobalUsage
refs/changes/05/233105/1
diff --git a/SpecialGlobalUsage.php b/SpecialGlobalUsage.php
index 7d3fb5c..5d7fc51 100644
--- a/SpecialGlobalUsage.php
+++ b/SpecialGlobalUsage.php
@@ -30,7 +30,7 @@
$this->filterLocal = $this->getRequest()->getCheck(
'filterlocal' );
$this->setHeaders();
-
+ $this->getOutput()->addWikiMsg('globalusage-header');
$this->showForm();
if ( is_null( $this->target ) ) {
diff --git a/i18n/en.json b/i18n/en.json
index cf08333..ebe2658 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -23,5 +23,6 @@
"apihelp-query+globalusage-param-prop": "Which properties to
return:\n;url:Adds url.\n;pageid:Adds page ID.\n;namespace:Adds namespace ID.",
"apihelp-query+globalusage-param-limit": "How many links to return.",
"apihelp-query+globalusage-param-filterlocal": "Filter local usage of
the file.",
- "apihelp-query+globalusage-example-1": "Get usage of
[[:File:Example.jpg]]"
+ "apihelp-query+globalusage-example-1": "Get usage of
[[:File:Example.jpg]]",
+ "globalusage-header": "This is a page to view global file usage of
images."
}
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 5e9331c..f9a69f2 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -34,5 +34,7 @@
"apihelp-query+globalusage-param-prop":
"{{doc-apihelp-param|query+globalusage|prop}}",
"apihelp-query+globalusage-param-limit":
"{{doc-apihelp-param|query+globalusage|limit}}",
"apihelp-query+globalusage-param-filterlocal":
"{{doc-apihelp-param|query+globalusage|filterlocal}}",
- "apihelp-query+globalusage-example-1":
"{{doc-apihelp-example|query+globalusage}}"
+ "apihelp-query+globalusage-example-1":
"{{doc-apihelp-example|query+globalusage}}",
+ "globalusage-header": "Text message used in [Special:GlobalUsage]]
right above the form describing the purpose of special page."
+
}
--
To view, visit https://gerrit.wikimedia.org/r/233105
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6d4863aadc93a37eac802da5307324ad4d051e48
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GlobalUsage
Gerrit-Branch: master
Gerrit-Owner: Tinaj1234 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits