r89459 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89458‎ | r89459 | r89460 >
Date:10:57, 4 June 2011
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Add Jarry1250's Translate tool

Possibly completely wrong, I've no idea
Modified paths:
  • /trunk/tools/ToolserverI18N/language/Domains.php (modified) (history)
  • /trunk/tools/ToolserverI18N/language/messages/Templatecount.i18n.php (added) (history)

Diff [purge]

Index: trunk/tools/ToolserverI18N/language/Domains.php
@@ -10,4 +10,5 @@
1111 'Recentanonymousactivity' => 'Recentanonymousactivity.i18n.php',
1212 'Svgtranslate' => 'Svgtranslate.i18n.php',
1313 'Tsintuition' => 'Tsintuition.i18n.php',
 14+ 'Templatecount' => 'Templatecount.i18n.php',
1415 );
\ No newline at end of file
Index: trunk/tools/ToolserverI18N/language/messages/Templatecount.i18n.php
@@ -0,0 +1,25 @@
 2+<?php
 3+/**
 4+ * Interface messages for tool "templatecount"
 5+ *
 6+ * @toolowner jarry
 7+ */
 8+
 9+$url = '~jarry/templatecount/';
 10+
 11+$messages = array();
 12+
 13+/** English
 14+ * @author Jarry1250
 15+ */
 16+$messages['en'] = array(
 17+ 'enter-details' => 'Enter details'
 18+ 'introduction' => "Type in the name of a template (Wikipedias only at the moment, sorry) and press go. It's as simple as that. There is some caching (remembering of results), but that is unfortunately outside of the control of this tool and its owner."
 19+ 'language-label' => 'Language'
 20+ 'namespace-label' => 'Namespace'
 21+ 'pagename-label' => 'Page name (excluding namespace)'
 22+ 'transclusion-count-label' => 'Number of tranclusions'
 23+ 'transclusion-count' => '$1 transclusion(s) found.'
 24+ 'error-suggestion' => 'Perhaps you misspelt (or mis-capitalised) the name of the page?'
 25+ 'time-label' => 'Time taken to execute command'
 26+);
\ No newline at end of file
Property changes on: trunk/tools/ToolserverI18N/language/messages/Templatecount.i18n.php
___________________________________________________________________
Added: svn:eol-style
127 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r89467Fixing FATAL in r89459; Also added a title.krinkle15:00, 4 June 2011
r89469TsIntuition fixes...krinkle15:17, 4 June 2011
r89470TsIntuition fixes...krinkle15:17, 4 June 2011

Comments

#Comment by Krinkle (talk | contribs)   14:57, 4 June 2011

This broke the TsIntuition sandbox with an E_FATAL.

Where are the comma's after the array values ?

#Comment by Krinkle (talk | contribs)   15:15, 4 June 2011

Also, altho non-breaking, in order to be shown in the list of tools on the Dashboard, a 'title' message must be present.

Added in r89467.

Status & tagging log