r48282 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48281‎ | r48282 | r48283 >
Date:21:14, 10 March 2009
Author:raymond
Status:deferred
Tags:
Comment:
* Add Pipe Escape extension to Translatewiki
* Fix encoding
* Make 3 messages of Flagged Revisions - Reviewed Pages optional instead of ignore
Modified paths:
  • /trunk/extensions/PipeEscape/PipeEscape.i18n.php (modified) (history)
  • /trunk/extensions/PipeEscape/PipeEscape.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/PipeEscape/PipeEscape.i18n.php
@@ -11,7 +11,7 @@
1212 *
1313 * @author David M. Sledge
1414 * @author Purodha Blissenbach, http://ksh.wikipedia.org/wiki/User:Purodha
15 - * @copyright Copyright � 2008 David M. Sledge
 15+ * @copyright Copyright © 2008 David M. Sledge
1616 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1717 */
1818
@@ -23,14 +23,14 @@
2424 */
2525 $messages['en'] = array(
2626 # general messages
27 - 'pipeescape-desc' => 'Parser function <code>#!</code> for when you want a pipe character to be just a pipe character',
 27+ 'pipeescape-desc' => 'Parser function <code>#!</code> for when you want a pipe character to be just a pipe character',
2828 );
2929
3030 /** Message documentation (Message documentation)
3131 * @author Purodha
3232 */
3333 $messages['qqq'] = array(
34 - 'pipeescape-desc' => 'Short description of the [[:mw:Extension:Pipe_Escape|Pipe_Escape]] extension.
 34+ 'pipeescape-desc' => 'Short description of the [[:mw:Extension:Pipe_Escape|Pipe_Escape]] extension.
3535 Shown in [[Special:Version]].
3636 Do not translate link targets, or function names.',
3737 );
@@ -55,4 +55,3 @@
5656 $messages['la'] = array(
5757 'pipeescape-desc' => 'Functio parseris nominae <code>#!</code> adita in vici, protegens litera | qui haec separator parametorum non interpretatur.',
5858 );
59 -
Index: trunk/extensions/PipeEscape/PipeEscape.php
@@ -8,7 +8,7 @@
99 *
1010 * @author David M. Sledge
1111 * @modifier Purodha Blissenbach
12 - * @copyright Copyright � 2008 David M. Sledge
 12+ * @copyright Copyright © 2008 David M. Sledge
1313 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0
1414 * or later
1515 * @version 0.1.0
@@ -40,7 +40,6 @@
4141
4242 $dir = dirname(__FILE__) . DIRECTORY_SEPARATOR;
4343 $wgExtensionMessagesFiles['Pipe Escape'] = $dir . 'PipeEscape.i18n.php';
44 -# $wgExtensionAliasesFiles['Pipe Escape'] = $dir . 'PipeEscape.alias.php';
4544 $wgHooks[ 'LanguageGetMagic' ][] = 'ExtPipeEsc::languageGetMagic';
4645
4746 class ExtPipeEsc
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -301,7 +301,7 @@
302302 Flagged Revisions - Reviewed Pages
303303 id = ext-flaggedrevs-reviewedpages
304304 file = FlaggedRevs/language/ReviewedPages.i18n.php
305 -ignored = reviewedpages-lev-0, reviewedpages-lev-1, reviewedpages-lev-2
 305+optional = reviewedpages-lev-0, reviewedpages-lev-1, reviewedpages-lev-2
306306
307307 Flagged Revisions - Stabilization
308308 id = ext-flaggedrevs-stabilization
@@ -544,6 +544,8 @@
545545 Pdf Handler
546546 descmsg = pdf-desc
547547
 548+Pipe Escape
 549+
548550 Piwik
549551 optional = piwik
550552

Status & tagging log