r51703 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51702‎ | r51703 | r51704 >
Date:18:13, 10 June 2009
Author:shinjiman
Status:deferred (Comments)
Tags:
Comment:
follow up r51701, r51898 and r51697
tweak messages to allow localisation of extension description on Special:Version
Modified paths:
  • /trunk/extensions/DynamicPageList/DynamicPageList.i18n.php (modified) (history)
  • /trunk/extensions/DynamicPageList/DynamicPageList.php (modified) (history)
  • /trunk/extensions/DynamicPageList/DynamicPageListMigration.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DynamicPageList/DynamicPageList.i18n.php
@@ -95,7 +95,7 @@
9696 'intersection_toofewcats' => 'Error: Too few categories!',
9797 'intersection_noresults' => 'Error: No results!',
9898 'intersection_noincludecats' => 'Error: You need to include at least one category, or specify a namespace!',
99 - 'dpl_description' => 'A highly flexible report generator for MediaWikis',
 99+ 'dpl-desc' => 'A highly flexible report generator for MediaWikis',
100100 'dpl_log_' . self::FATAL_WRONGNS => "ERROR: Wrong '$0' parameter: '$1'! Help: <code>$0= <i>empty string</i> (Main)$3</code>.",
101101 'dpl_log_' . self::FATAL_WRONGLINKSTO => "ERROR: Wrong '$0' parameter: '$1'! Help: <code>$0= <i>full pagename</i></code>.",
102102 'dpl_log_' . self::FATAL_TOOMANYCATS => 'ERROR: Too many categories! Maximum: $0. Help: increase <code>ExtDynamicPageList::$maxCategoryCount</code> to specify more categories or set <code>ExtDynamicPageList::$allowUnlimitedCategories=true</code> for no limitation. (Set the variable in <code>LocalSettings.php</code>, after including <code>DynamicPageList.php</code>.)',
@@ -1172,7 +1172,7 @@
11731173 'intersection_toofewcats' => 'DynamicPageList: 太少分類!',
11741174 'intersection_noresults' => 'DynamicPageList: 無結果!',
11751175 'intersection_noincludecats' => 'DynamicPageList: 你需要去包含最少一個分類,或者指定一個空間名!',
1176 - 'dpl_description' => '一個畀MediaWiki嘅高彈性報告產生器',
 1176+ 'dpl-desc' => '一個畀MediaWiki嘅高彈性報告產生器',
11771177 'dpl_log_' . self::FATAL_WRONGNS => "錯誤: 錯嘅 '$0' 參數: '$1'! 幫助: <code>$0= <i>空字串</i> (主)$3</code>。",
11781178 'dpl_log_' . self::FATAL_TOOMANYCATS => '錯誤: 太多分類! 最大值: $0。 幫助: 增加 <code>ExtDynamicPageList::$maxCategoryCount</code> 嘅值去指定更多嘅分類或者設定 <code>ExtDynamicPageList::$allowUnlimitedCategories=true</code> 以解除限制。 (當加上 <code>DynamicPageList.php</code>之後,響<code>LocalSettings.php</code>度設定變數。)',
11791179 'dpl_log_' . self::FATAL_TOOFEWCATS => '錯誤: 太少分類! 最小值: $0. 幫助: 減少 <code>ExtDynamicPageList::$minCategoryCount</code> 嘅值去指定更少嘅分類。 (當加上 <code>DynamicPageList.php</code>之後,響<code>LocalSettings.php</code>度設定一個合適嘅變數。)',
@@ -1206,7 +1206,7 @@
12071207 'intersection_toofewcats' => 'DynamicPageList: 太少分类!',
12081208 'intersection_noresults' => 'DynamicPageList: 没有结果!',
12091209 'intersection_noincludecats' => 'DynamicPageList: 您需要去包含最少一个分类,或者指定一个空间名!',
1210 - 'dpl_description' => '一个给MediaWiki的高弹性报告产生器',
 1210+ 'dpl-des' => '一个给MediaWiki的高弹性报告产生器',
12111211 'dpl_log_' . self::FATAL_WRONGNS => "错误: 错误的 '$0' 参数: '$1'! 帮助: <code>$0= <i>空白字符串</i> (主)$3</code>。",
12121212 'dpl_log_' . self::FATAL_TOOMANYCATS => '错误: 过多分类! 最大值: $0。 帮助: 增加 <code>ExtDynamicPageList::$maxCategoryCount</code> 的值去指定更多的分类或设定 <code>ExtDynamicPageList::$allowUnlimitedCategories=true</code> 以解除限制。 (当加上 <code>DynamicPageList.php</code>后,在<code>LocalSettings.php</code>中设定变量。)',
12131213 'dpl_log_' . self::FATAL_TOOFEWCATS => '错误: 过少分类! 最小值: $0。 帮助: 减少 <code>ExtDynamicPageList::$minCategoryCount</code> 的值去指定更少的分类。 (当加上 <code>DynamicPageList.php</code>后,在<code>LocalSettings.php</code>中设定一个合适的变量。)',
@@ -1243,7 +1243,7 @@
12441244 'intersection_toofewcats' => 'DynamicPageList: 太少分類!',
12451245 'intersection_noresults' => 'DynamicPageList: 沒有結果!',
12461246 'intersection_noincludecats' => 'DynamicPageList: 您需要去包含最少一個分類,或者指定一個空間名!',
1247 - 'dpl_description' => '一個給MediaWiki的高彈性報告產生器',
 1247+ 'dpl-desc' => '一個給MediaWiki的高彈性報告產生器',
12481248 'dpl_log_' . self::FATAL_WRONGNS => "錯誤: 錯誤的 '$0' 參數: '$1'! 說明: <code>$0= <i>空白字串</i> (主)$3</code>。",
12491249 'dpl_log_' . self::FATAL_TOOMANYCATS => '錯誤: 過多分類! 最大值: $0。 說明: 增加 <code>ExtDynamicPageList::$maxCategoryCount</code> 的值去指定更多的分類或設定 <code>ExtDynamicPageList::$allowUnlimitedCategories=true</code> 以解除限制。 (當加上 <code>DynamicPageList.php</code>後,在<code>LocalSettings.php</code>中設定變數。)',
12501250 'dpl_log_' . self::FATAL_TOOFEWCATS => '錯誤: 過少分類! 最小值: $0。 說明: 減少 <code>ExtDynamicPageList::$minCategoryCount</code> 的值去指定更少的分類。 (當加上 <code>DynamicPageList.php</code>後,在<code>LocalSettings.php</code>中設定一個合適的變數。)',
Index: trunk/extensions/DynamicPageList/DynamicPageList.php
@@ -66,8 +66,8 @@
6767 'name' => 'DynamicPageList',
6868 'author' => '[http://de.wikipedia.org/wiki/Benutzer:Algorithmix Gero Scholz]',
6969 'url' => 'http://www.mediawiki.org/wiki/DynamicPageList_(third-party)',
70 - 'descriptionmsg' => 'dpl_description',
7170 'description' => 'A highly flexible report generator for MediaWikis - manual and examples: see [http://semeb.com/dpldemo]',
 71+ 'descriptionmsg' => 'dpl-desc',
7272 'version' => $DPLVersion
7373 );
7474
Index: trunk/extensions/DynamicPageList/DynamicPageListMigration.php
@@ -47,8 +47,8 @@
4848 'name' => 'DynamicPageList',
4949 'author' => '[http://de.wikipedia.org/wiki/Benutzer:Algorithmix Gero Scholz]',
5050 'url' => 'http://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party)',
51 - 'descriptionmsg' => 'dpl_description',
5251 'description' => 'A highly flexible report generator for MediaWikis - manual and examples: see [http://semeb.com/dpldemo]',
 52+ 'descriptionmsg' => 'dpl-desc',
5353 'version' => $DPLVersion
5454 );
5555

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r51697Update the DPL codebase to 1.8.1, tweaked some messages for displaying SVN re...shinjiman17:12, 10 June 2009
r51701fix up incorrect URLshinjiman18:05, 10 June 2009

Comments

#Comment by Shinjiman (talk | contribs)   14:02, 15 June 2009

Juse need to mention it's a follow up of r51698 instead of r51898.

Status & tagging log