r54154 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54153‎ | r54154 | r54155 >
Date:17:04, 1 August 2009
Author:mkroetzsch
Status:deferred
Tags:
Comment:
+default month names, fixing Bug 17882
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php
@@ -26,9 +26,9 @@
2727 protected $m_SpecialPropertyAliases = array();
2828 protected $m_Namespaces;
2929 protected $m_NamespaceAliases = array();
30 - /// Twelve strings naming the months. English is always supported in Type:Date, so
31 - /// the default is simply empty (no labels in addition to English)
32 - protected $m_months = array();
 30+ /// Twelve strings naming the months. English is always supported in Type:Date, but
 31+ /// we still need the English defaults to ensure that labels are returned by getMonthLabel()
 32+ protected $m_months = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
3333 /// Twelve strings briefly naming the months. English is always supported in Type:Date, so
3434 /// the default is simply empty (no labels in addition to English)
3535 protected $m_monthsshort = array();
@@ -54,7 +54,7 @@
5555
5656 /**
5757 * Return all labels that are available as names for built-in datatypes. Those
58 - * are the types that users can access via [[has type::...]] (more built-in
 58+ * are the types that users can access via [[has type::...]] (more built-in
5959 * types may exist for internal purposes but the user won't need to
6060 * know this). The returned array is indexed by (internal) type ids.
6161 */

Follow-up revisions

RevisionCommit summaryAuthorDate
r54155added month names based on translations giving in Bug 17882mkroetzsch17:05, 1 August 2009

Status & tagging log