jenkins-bot has submitted this change and it was merged.

Change subject: Follow-up I7d4bb9062. Register tracking categories used.
......................................................................


Follow-up I7d4bb9062. Register tracking categories used.

This allows them to appear in the newly added
[[Special:TrackingCategories]].

Change-Id: I6f31298e4b215c905b133b893de5c6dd514997ba
---
M Scribunto.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 10 insertions(+), 3 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Scribunto.php b/Scribunto.php
index c215a89..7cc3aa2 100644
--- a/Scribunto.php
+++ b/Scribunto.php
@@ -176,3 +176,6 @@
 // Set subpages by default
 $wgNamespacesWithSubpages[NS_MODULE] = true;
 $wgNamespacesWithSubpages[NS_MODULE_TALK] = true;
+
+$wgTrackingCategories[] = 'scribunto-common-error-category';
+$wgTrackingCategories[] = 'scribunto-module-with-errors-category';
diff --git a/i18n/en.json b/i18n/en.json
index 140dbe9..114c53b 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -24,6 +24,7 @@
     "scribunto-console-cleared": "The console state was cleared because the 
module was updated.",
     "scribunto-console-cleared-session-lost": "The console state was cleared 
because the session data was lost.",
     "scribunto-common-error-category": "Pages with script errors",
+    "scribunto-common-error-category-desc": "There was an error when 
processing the modules included on the page.",
     "scribunto-common-nosuchmodule": "Script error: No such module.",
     "scribunto-common-nofunction": "Script error: You must specify a function 
to call.",
     "scribunto-common-nosuchfunction": "Script error: The function you 
specified did not exist.",
@@ -49,6 +50,7 @@
     "scribunto-luastandalone-signal": "Lua error: Internal error: The 
interpreter has terminated with signal \"$2\".",
     "scribunto-luastandalone-exited": "Lua error: Internal error: The 
interpreter exited with status $2.",
     "scribunto-module-with-errors-category": "Scribunto modules with errors",
+    "scribunto-module-with-errors-category-desc": "The module has an error in 
it.",
     "scribunto-limitreport-timeusage": "Lua time usage",
     "scribunto-limitreport-timeusage-value": "$1/$2 seconds",
     "scribunto-limitreport-virtmemusage": "Lua virtual size",
@@ -60,4 +62,4 @@
     "scribunto-limitreport-profile": "Lua Profile",
     "scribunto-limitreport-profile-ms": "$1 ms",
     "scribunto-limitreport-profile-percent": "$1%"
-}
\ No newline at end of file
+}
diff --git a/i18n/qqq.json b/i18n/qqq.json
index f4271c1..1a311dd 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -32,6 +32,7 @@
     "scribunto-console-cleared": "Message displayed in the console when the 
module source has been changed.",
     "scribunto-console-cleared-session-lost": "Message displayed in the 
console when the session has expired.",
     "scribunto-common-error-category": "Tracking category for pages with 
errors from #invoke",
+    "scribunto-common-error-category-desc" => "Description on 
[[Special:TrackingCategories]] for the 
{{msg-mw|scribunto-common-error-category}} tracking category.",
     "scribunto-common-nosuchmodule": "Error message displayed when referencing 
a non-existing module.",
     "scribunto-common-nofunction": "Error message displayed when not 
specifying a function to call.",
     "scribunto-common-nosuchfunction": "Error message displayed when 
referencing a non-existing function.",
@@ -56,7 +57,8 @@
     "scribunto-luastandalone-gone": "Exception message.",
     "scribunto-luastandalone-signal": "Exception message. Parameters:\n* $1 - 
(Unused)\n* $2 - an exit status (may also be a signal name)",
     "scribunto-luastandalone-exited": "Exception message. Parameters:\n* $1 - 
(Unused)\n* $2 - an exit status",
-    "scribunto-module-with-errors-category": "Name of [[mw:Help:Tracking 
categories|tracking category]] where modules saved with errors are 
listed.\n\nSee also:\n* {{msg-mw|scribunto-ignore-errors}}",
+    "scribunto-module-with-errors-category": "Name of [[mw:Help:Tracking 
categories|tracking category]] where modules saved with errors are 
listed.\n\nSee also:\n* {{msg-mw|scribunto-ignore-errors}}\n* 
{{msg-mw|scribunto-module-with-errors-category-desc}}",
+    "scribunto-module-with-errors-category-desc": "Description on 
[[Special:TrackingCategories]] for the 
{{msg-mw|scribunto-module-with-errors-category}} tracking category.",
     "scribunto-limitreport-timeusage": "Label for the \"Lua time usage\" row 
in the limit report table.\n\nSee also:\n* 
{{msg-mw|Scribunto-limitreport-timeusage-value}}",
     "scribunto-limitreport-timeusage-value": "Format for the \"Lua time 
usage\" value in the limit report table. Parameters:\n* $1 - the usage in 
seconds\n* $2 - the maximum\nSee also:\n* 
{{msg-mw|Scribunto-limitreport-timeusage}}",
     "scribunto-limitreport-virtmemusage": "Label for the \"Lua virtual size\" 
row in the limit report table.\n\nSee also:\n* 
{{msg-mw|Scribunto-limitreport-virtmemusage-value}}",
@@ -68,4 +70,4 @@
     "scribunto-limitreport-profile": "Label for the \"Lua Profile\" row in the 
limit report table.\n\nFollowed by {{msg-mw|Scribunto-limitreport-profile-ms}} 
and {{msg-mw|Scribunto-limitreport-profile-percent}}.",
     "scribunto-limitreport-profile-ms": "Text to format the milliseconds in 
the \"Lua Profile\" table.\n\nPreceded by 
{{msg-mw|Scribunto-limitreport-profile}}.\n\nFollowed by 
{{msg-mw|Scribunto-limitreport-profile-percent}}.\n\nParameters:\n* $1 - the 
time in milliseconds",
     "scribunto-limitreport-profile-percent": "Text to format the time 
percentage in the \"Lua Profile\" table.\n\nPreceded by 
{{msg-mw|Scribunto-limitreport-profile}} and 
{{msg-mw|Scribunto-limitreport-profile-ms}}.\n\nParameters:\n* $1 - the 
percentage"
-}
\ No newline at end of file
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/122270
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6f31298e4b215c905b133b893de5c6dd514997ba
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Scribunto
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <bawolff...@gmail.com>
Gerrit-Reviewer: Anomie <bjor...@wikimedia.org>
Gerrit-Reviewer: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to