Follow-up I7d4bb9062. Register tracking categories used.

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

Change-Id: I6f31298e4b215c905b133b893de5c6dd514997ba
This commit is contained in:
Brian Wolff 2014-03-30 21:28:21 -03:00
parent ce9f969f3b
commit bf22c69263
3 changed files with 10 additions and 3 deletions

View file

@ -176,3 +176,6 @@ define( 'NS_MODULE_TALK', 829 );
// Set subpages by default
$wgNamespacesWithSubpages[NS_MODULE] = true;
$wgNamespacesWithSubpages[NS_MODULE_TALK] = true;
$wgTrackingCategories[] = 'scribunto-common-error-category';
$wgTrackingCategories[] = 'scribunto-module-with-errors-category';

View file

@ -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%"
}
}

View file

@ -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"
}
}