r54622 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54621‎ | r54622 | r54623 >
Date:01:22, 8 August 2009
Author:siebrand
Status:ok
Tags:
Comment:
MantisBT yml work in progress. Replaces ../Mantis.php and local configuration for three plugins.

Needs to be reviewed by Nikerabbit. Header support is missing, and class PhpVariablesFFS does not yet exist.

* Don't like the duplication of the code maps and checkers.
* Is "display: out/mantis/mantisgraph" allowed?
Modified paths:
  • /trunk/extensions/Translate/groups/MantisBT (added) (history)
  • /trunk/extensions/Translate/groups/MantisBT/MantisBT-plugin-MantisCoreFormatting.yml (added) (history)
  • /trunk/extensions/Translate/groups/MantisBT/MantisBT-plugin-MantisGraph.yml (added) (history)
  • /trunk/extensions/Translate/groups/MantisBT/MantisBT-plugin-XmlImportExport.yml (added) (history)
  • /trunk/extensions/Translate/groups/MantisBT/MantisBT.yml (added) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/MantisBT/MantisBT.yml
@@ -0,0 +1,76 @@
 2+---
 3+BASIC:
 4+ id: out-mantis
 5+ label: MantisBT (web-based bugtracking system)
 6+ description: "{{int:bw-desc-mantisbt}}"
 7+ namespace: NS_MANTIS
 8+ display: out/mantis/
 9+ class: FileBasedMessageGroup
 10+
 11+FILES:
 12+ class: PhpVariablesFFS
 13+ sourcePattern: %GROUPROOT%/lang/strings_%CODE%.txt
 14+ targetPattern: strings_%CODE%.txt
 15+ codeMap:
 16+ ar: arabic
 17+ arz: arabicegyptianspoken
 18+ bg: bulgarian
 19+ ca: catalan
 20+ cs: czech
 21+ da: danish
 22+ de: german
 23+ el: greek
 24+ en: english
 25+ es: spanish
 26+ et: estonian
 27+ fi: finnish
 28+ fr: french
 29+ gl: galician
 30+ gsw: swissgerman
 31+ he: hebrew
 32+ hr: croatian
 33+ hu: hungarian
 34+ is: icelandic
 35+ it: italian
 36+ ja: japanese
 37+ ko: korean
 38+ ksh: ripoarisch
 39+ lt: lithuanian
 40+ lv: latvian
 41+ nl: dutch
 42+ nn: norwegian_nynorsk
 43+ no: norwegian_bokmal
 44+ oc: occitan
 45+ pl: polish
 46+ pt-br: portuguese_brazil
 47+ pt: portuguese_standard
 48+ ro: romanian
 49+ ru: russian
 50+ sk: slovak
 51+ sl: slovene
 52+ sr-ec: serbian
 53+ sv: swedish
 54+ tl: tagalog
 55+ tr: turkish
 56+ uk: ukrainian
 57+ ur: urdu
 58+ vo: volapuk
 59+ zh-hans: chinese_simplified
 60+ zh-hant: chinese_traditional
 61+
 62+CHECKER:
 63+ class: MessageChecker
 64+ checks:
 65+ - printfCheck
 66+ - braceBalanceCheck
 67+
 68+TAGS:
 69+ optional:
 70+ - s_sponsorship_process_url
 71+ - s_charset
 72+ - s_p
 73+ - s_priority_abbreviation
 74+ - s_attachment_alt
 75+ - s_phpmailer_language
 76+ - s_word_separator
 77+ - s_directionality
\ No newline at end of file
Property changes on: trunk/extensions/Translate/groups/MantisBT/MantisBT.yml
___________________________________________________________________
Name: svn:keywords
178 + Id
Name: svn:eol-style
279 + native
Index: trunk/extensions/Translate/groups/MantisBT/MantisBT-plugin-MantisGraph.yml
@@ -0,0 +1,65 @@
 2+---
 3+BASIC:
 4+ id: out-mantis-mantisgraph
 5+ label: MantisBT - Mantis Graph
 6+ description: "{{int:bw-desc-mantisbt-mantisgraph}}"
 7+ namespace: NS_MANTIS
 8+ display: out/mantis/mantisgraph
 9+ class: FileBasedMessageGroup
 10+
 11+FILES:
 12+ class: PhpVariablesFFS
 13+ sourcePattern: %GROUPROOT%/plugins/MantisGraph/lang/strings_%CODE%.txt
 14+ targetPattern: strings_%CODE%.txt
 15+ codeMap:
 16+ ar: arabic
 17+ arz: arabicegyptianspoken
 18+ bg: bulgarian
 19+ ca: catalan
 20+ cs: czech
 21+ da: danish
 22+ de: german
 23+ el: greek
 24+ en: english
 25+ es: spanish
 26+ et: estonian
 27+ fi: finnish
 28+ fr: french
 29+ gl: galician
 30+ gsw: swissgerman
 31+ he: hebrew
 32+ hr: croatian
 33+ hu: hungarian
 34+ is: icelandic
 35+ it: italian
 36+ ja: japanese
 37+ ko: korean
 38+ ksh: ripoarisch
 39+ lt: lithuanian
 40+ lv: latvian
 41+ nl: dutch
 42+ nn: norwegian_nynorsk
 43+ no: norwegian_bokmal
 44+ oc: occitan
 45+ pl: polish
 46+ pt-br: portuguese_brazil
 47+ pt: portuguese_standard
 48+ ro: romanian
 49+ ru: russian
 50+ sk: slovak
 51+ sl: slovene
 52+ sr-ec: serbian
 53+ sv: swedish
 54+ tl: tagalog
 55+ tr: turkish
 56+ uk: ukrainian
 57+ ur: urdu
 58+ vo: volapuk
 59+ zh-hans: chinese_simplified
 60+ zh-hant: chinese_traditional
 61+
 62+CHECKER:
 63+ class: MessageChecker
 64+ checks:
 65+ - printfCheck
 66+ - braceBalanceCheck
Property changes on: trunk/extensions/Translate/groups/MantisBT/MantisBT-plugin-MantisGraph.yml
___________________________________________________________________
Name: svn:keywords
167 + Id
Name: svn:eol-style
268 + native
Index: trunk/extensions/Translate/groups/MantisBT/MantisBT-plugin-XmlImportExport.yml
@@ -0,0 +1,65 @@
 2+---
 3+BASIC:
 4+ id: out-mantis-xmlimportexport
 5+ label: MantisBT - Xml Import Export
 6+ description: "{{int:bw-desc-mantisbt-xmlimportexport}}"
 7+ namespace: NS_MANTIS
 8+ display: out/mantis/xmlimportexport
 9+ class: FileBasedMessageGroup
 10+
 11+FILES:
 12+ class: PhpVariablesFFS
 13+ sourcePattern: %GROUPROOT%/plugins/XmlImportExport/lang/strings_%CODE%.txt
 14+ targetPattern: strings_%CODE%.txt
 15+ codeMap:
 16+ ar: arabic
 17+ arz: arabicegyptianspoken
 18+ bg: bulgarian
 19+ ca: catalan
 20+ cs: czech
 21+ da: danish
 22+ de: german
 23+ el: greek
 24+ en: english
 25+ es: spanish
 26+ et: estonian
 27+ fi: finnish
 28+ fr: french
 29+ gl: galician
 30+ gsw: swissgerman
 31+ he: hebrew
 32+ hr: croatian
 33+ hu: hungarian
 34+ is: icelandic
 35+ it: italian
 36+ ja: japanese
 37+ ko: korean
 38+ ksh: ripoarisch
 39+ lt: lithuanian
 40+ lv: latvian
 41+ nl: dutch
 42+ nn: norwegian_nynorsk
 43+ no: norwegian_bokmal
 44+ oc: occitan
 45+ pl: polish
 46+ pt-br: portuguese_brazil
 47+ pt: portuguese_standard
 48+ ro: romanian
 49+ ru: russian
 50+ sk: slovak
 51+ sl: slovene
 52+ sr-ec: serbian
 53+ sv: swedish
 54+ tl: tagalog
 55+ tr: turkish
 56+ uk: ukrainian
 57+ ur: urdu
 58+ vo: volapuk
 59+ zh-hans: chinese_simplified
 60+ zh-hant: chinese_traditional
 61+
 62+CHECKER:
 63+ class: MessageChecker
 64+ checks:
 65+ - printfCheck
 66+ - braceBalanceCheck
Property changes on: trunk/extensions/Translate/groups/MantisBT/MantisBT-plugin-XmlImportExport.yml
___________________________________________________________________
Name: svn:keywords
167 + Id
Name: svn:eol-style
268 + native
Index: trunk/extensions/Translate/groups/MantisBT/MantisBT-plugin-MantisCoreFormatting.yml
@@ -0,0 +1,65 @@
 2+---
 3+BASIC:
 4+ id: out-mantis-mantiscoreformatting
 5+ label: MantisBT - Mantis Core Formatting
 6+ description: "{{int:bw-desc-mantisbt-mantiscoreformatting}}"
 7+ namespace: NS_MANTIS
 8+ display: out/mantis/mantiscoreformatting
 9+ class: FileBasedMessageGroup
 10+
 11+FILES:
 12+ class: PhpVariablesFFS
 13+ sourcePattern: %GROUPROOT%/plugins/MantisCoreFormatting/lang/strings_%CODE%.txt
 14+ targetPattern: strings_%CODE%.txt
 15+ codeMap:
 16+ ar: arabic
 17+ arz: arabicegyptianspoken
 18+ bg: bulgarian
 19+ ca: catalan
 20+ cs: czech
 21+ da: danish
 22+ de: german
 23+ el: greek
 24+ en: english
 25+ es: spanish
 26+ et: estonian
 27+ fi: finnish
 28+ fr: french
 29+ gl: galician
 30+ gsw: swissgerman
 31+ he: hebrew
 32+ hr: croatian
 33+ hu: hungarian
 34+ is: icelandic
 35+ it: italian
 36+ ja: japanese
 37+ ko: korean
 38+ ksh: ripoarisch
 39+ lt: lithuanian
 40+ lv: latvian
 41+ nl: dutch
 42+ nn: norwegian_nynorsk
 43+ no: norwegian_bokmal
 44+ oc: occitan
 45+ pl: polish
 46+ pt-br: portuguese_brazil
 47+ pt: portuguese_standard
 48+ ro: romanian
 49+ ru: russian
 50+ sk: slovak
 51+ sl: slovene
 52+ sr-ec: serbian
 53+ sv: swedish
 54+ tl: tagalog
 55+ tr: turkish
 56+ uk: ukrainian
 57+ ur: urdu
 58+ vo: volapuk
 59+ zh-hans: chinese_simplified
 60+ zh-hant: chinese_traditional
 61+
 62+CHECKER:
 63+ class: MessageChecker
 64+ checks:
 65+ - printfCheck
 66+ - braceBalanceCheck
Property changes on: trunk/extensions/Translate/groups/MantisBT/MantisBT-plugin-MantisCoreFormatting.yml
___________________________________________________________________
Name: svn:keywords
167 + Id
Name: svn:eol-style
268 + native

Status & tagging log