r28571 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r28570‎ | r28571 | r28572 >
Date:21:32, 16 December 2007
Author:siebrand
Status:old
Tags:
Comment:
Mark some messages in Cite optional/ignored
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -779,6 +779,23 @@
780780
781781 protected $arrName = 'messages';
782782 protected $messageFile = 'Cite/Cite.i18n.php';
 783+
 784+ function fillBools( &$array ) {
 785+ $array['cite_reference_link_key_with_num']['optional'] = true;
 786+ $array['cite_reference_link_prefix']['optional'] = true;
 787+ $array['cite_reference_link_suffix']['optional'] = true;
 788+ $array['cite_references_link_prefix']['optional'] = true;
 789+ $array['cite_references_link_suffix']['optional'] = true;
 790+ $array['cite_reference_link']['optional'] = true;
 791+ $array['cite_references_link_one']['optional'] = true;
 792+ $array['cite_references_link_many']['optional'] = true;
 793+ $array['cite_references_link_many_format']['optional'] = true;
 794+ $array['cite_references_link_many_format_backlink_labels']['optional'] = true;
 795+ $array['cite_references_link_many_sep']['optional'] = true;
 796+ $array['cite_references_link_many_and']['optional'] = true;
 797+ $array['cite_references_prefix']['ignored'] = true;
 798+ $array['cite_references_suffix']['ignored'] = true;
 799+ }
783800 }
784801
785802 class CiteSpecialMessageGroup extends ExtensionMessageGroup {

Status & tagging log