r47700 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47699‎ | r47700 | r47701 >
Date:10:30, 23 February 2009
Author:jojo
Status:resolved (Comments)
Tags:
Comment:
added system message coll-print_template_suffix, to use print templates being subpages of regular templates -- this is the more natural solution than the prefixed template names.
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)
  • /trunk/extensions/Collection/Collection.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.i18n.php
@@ -30,6 +30,7 @@
3131 'coll-exclusion_category_title' => 'Exclude in print',
3232 'coll-template_blacklist_title' => 'MediaWiki:PDF Template Blacklist', # do not translate or duplicate this message to other languages
3333 'coll-print_template_prefix' => 'Print',
 34+ 'coll-print_template_subpage' => 'Print',
3435 'coll-create_a_book' => 'Create a book',
3536 'coll-add_page' => 'Add wiki page',
3637 'coll-remove_page' => 'Remove wiki page',
@@ -987,6 +988,7 @@
988989 'coll-collections' => 'Bücher',
989990 'coll-exclusion_category_title' => 'Vom Druck ausschließen',
990991 'coll-print_template_prefix' => 'Drucken',
 992+ 'coll-print_template_subpage' => 'Druck',
991993 'coll-create_a_book' => 'Buch erstellen',
992994 'coll-add_page' => 'Wikiseite hinzufügen',
993995 'coll-remove_page' => 'Wikiseite entfernen',
Index: trunk/extensions/Collection/Collection.body.php
@@ -717,6 +717,7 @@
718718 'template_blacklist' => wfMsgForContent( 'coll-template_blacklist_title' ),
719719 'template_exclusion_category' => wfMsgForContent( 'coll-exclusion_category_title' ),
720720 'print_template_prefix' => wfMsgForContent( 'coll-print_template_prefix' ),
 721+ 'print_template_subpage' => wfMsgForContent( 'coll-print_template_subbpage' ),
721722 'language' => $wgContLang->getCode(),
722723 'writer' => $writer,
723724 ) );
@@ -753,6 +754,7 @@
754755 'template_blacklist' => wfMsgForContent( 'coll-template_blacklist_title' ),
755756 'template_exclusion_category' => wfMsgForContent( 'coll-exclusion_category_title' ),
756757 'print_template_prefix' => wfMsgForContent( 'coll-print_template_prefix' ),
 758+ 'print_template_subpage' => wfMsgForContent( 'coll-print_template_subpage' ),
757759 'language' => $wgContLang->getCode(),
758760 'writer' => $writer,
759761 'force_render' => true
@@ -908,6 +910,7 @@
909911 'template_blacklist' => wfMsgForContent( 'coll-template_blacklist_title' ),
910912 'template_exclusion_category' => wfMsgForContent( 'coll-exclusion_category_title' ),
911913 'print_template_prefix' => wfMsgForContent( 'coll-print_template_prefix' ),
 914+ 'print_template_subpage' => wfMsgForContent( 'coll-print_template_subpage' ),
912915 'pod_api_url' => $this->mPODPartners[$partner]['posturl'],
913916 ) );
914917 if ( !$response ) {

Comments

#Comment by Siebrand (talk | contribs)   21:33, 23 February 2009

Changed in r47702

Status & tagging log