Gerrit Patch Uploader has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/122429

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

Follow-up I7d4bb9062. Register tracking category used.

This allows score-error-category to appear in the newly added
[[Special:TrackingCategories]].

Bug: 63287
Change-Id: If5d3cca610478da10f931a719b9696641a6701f0
---
M Score.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 5 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Score 
refs/changes/29/122429/1

diff --git a/Score.php b/Score.php
index 1e3e4e6..278c9ca 100644
--- a/Score.php
+++ b/Score.php
@@ -95,6 +95,7 @@
 $wgExtensionMessagesFiles['Score'] = "$scoreBase/Score.i18n.php";
 $wgAutoloadClasses['Score'] = "$scoreBase/Score.body.php";
 $wgAutoloadClasses['ScoreException'] = "$scoreBase/Score.body.php";
+$wgTrackingCategories[] = 'score-error-category';
 
 /**
  * Init routine.
diff --git a/i18n/en.json b/i18n/en.json
index 2291657..7656976 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -10,6 +10,7 @@
     "score-backend-error": "Unable to copy the generated files to their final 
location:\n$1",
     "score-desc": "Adds a tag for rendering musical scores with LilyPond",
     "score-error-category": "Pages with score rendering errors",
+    "score-error-category-desc": "There was an error when rendering the 
score.",
     "score-getcwderr": "Unable to obtain current working directory",
     "score-invalidlang": "Invalid score language lang=\"<nowiki>$1</nowiki>\". 
Currently recognized languages are lang=\"lilypond\" (the default) and 
lang=\"ABC\".",
     "score-invalidoggoverride": "The file \"<nowiki>$1</nowiki>\" you 
specified with override_ogg is invalid. Please specify the file name only, omit 
<nowiki>[[…]]</nowiki> and the \"{{ns:file}}:\" prefix.",
@@ -32,4 +33,4 @@
     "score-trimerr": "Image could not be trimmed:\n$1\nSet 
<code>$wgScoreTrim=false</code> if this problem persists.",
     "score-versionerr": "Unable to obtain LilyPond version:\n$1",
     "score-vorbisoverrideogg": "You cannot request Ogg/Vorbis rendering and 
specify override_ogg at the same time."
-}
\ No newline at end of file
+}
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 200ba57..e3563df 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -12,6 +12,7 @@
     "score-backend-error": "Parameters:\n* $1 - result message which was 
returned",
     "score-desc": 
"{{desc|name=Score|url=http://www.mediawiki.org/wiki/Extension:Score}}";,
     "score-error-category": "Name of [[mw:Help:Tracking categories|tracking 
category]] to list pages where there was an error rendering the 
<code><nowiki><score></nowiki></code> tag.",
+    "score-error-category-desc": "Description on 
[[Special:TrackingCategories]] for the {{msg-mw|score-error-category}} tracking 
category.",
     "score-getcwderr": "Displayed if the extension cannot obtain the current 
working directory.",
     "score-invalidlang": "Displayed if the lang=\"…\" attribute contains an 
unrecognized score language. $1 is the unrecognized language.",
     "score-invalidoggoverride": "Displayed if the file specified with the 
override_ogg=\"…\" attribute is invalid. $1 is the value of the override_ogg 
attribute.",
@@ -34,4 +35,4 @@
     "score-trimerr": "Displayed if the extension failed to trim an output 
image. $1 is the error (generally big block of text in a pre tag)",
     "score-versionerr": "Displayed if the extension failed to obtain the 
version string of LilyPond. $1 is the LilyPond stdout output generated by the 
attempt.",
     "score-vorbisoverrideogg": "Displayed if both vorbis=\"1\" and 
override_ogg=\"…\" were specified."
-}
\ No newline at end of file
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If5d3cca610478da10f931a719b9696641a6701f0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Score
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <gerritpatchuploa...@gmail.com>
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