r59453 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59452‎ | r59453 | r59454 >
Date:15:32, 26 November 2009
Author:raymond
Status:ok
Tags:
Comment:
Fix typos in messages (en), consistent spelling of "e-mail"
Add path to extension credits
Remove trailing ?>
Add eol-style:native
Modified paths:
  • /trunk/extensions/SendmailToWiki/SendmailToWiki.i18n.php (modified) (history)
  • /trunk/extensions/SendmailToWiki/SendmailToWiki.php (modified) (history)
  • /trunk/extensions/SendmailToWiki/SendmailToWiki_body.php (modified) (history)
  • /trunk/extensions/SendmailToWiki/scripts/post_to_wiki.sh (modified) (history)

Diff [purge]

Property changes on: trunk/extensions/SendmailToWiki/SendmailToWiki_body.php
___________________________________________________________________
Name: svn:eol-style
11 + native
Index: trunk/extensions/SendmailToWiki/SendmailToWiki.i18n.php
@@ -1,23 +1,24 @@
22 <?php
33 $messages = array();
44
5 -/* *** English *** */
 5+/** English
 6+ * @author Jure Kajzer - freakolowsky
 7+ */
68 $messages['en'] = array(
79 'sendmailtowiki' => 'SendmailToWiki',
8 - 'sendmailtowiki-desc' => "Post wiki content trough dedicated dynamic email address.",
9 - 'prefs-sendmailtowiki' => "Posting content with email",
10 - 'sendmailtowiki-inemail' => "Dedicated email:",
11 - 'sendmailtowiki-inpin' => "PIN:",
12 - 'prefs-help-sendmailtowiki_pin' => "Blank field for PIN number disables posting content to wiki with your account.",
13 - 'sendmailtowiki-err-pinlength' => "PIN must contain exactly 5 numbers!",
14 - 'sendmailtowiki-err-wrongprefix' => "Wrong wiki account prefix. Contact your administrator!",
15 - 'sendmailtowiki-err-invalidaccount' => "Invalid account. Check the email address you're sending to.",
16 - 'sendmailtowiki-err-invalidsender' => "Invalid sender. Check the email address you're sending from.",
17 - 'sendmailtowiki-err-invalidpin' => "Invalid PIN. Access Denied.",
18 - 'sendmailtowiki-err-onlyplain' => "Because of potential misinterpretatons only text/plain messages are accepted.",
 10+ 'sendmailtowiki-desc' => 'Post wiki content trough dedicated dynamic e-mail address.',
 11+ 'prefs-sendmailtowiki' => 'Posting content with e-mail',
 12+ 'sendmailtowiki-inemail' => 'Dedicated e-mail:',
 13+ 'sendmailtowiki-inpin' => 'PIN:',
 14+ 'prefs-help-sendmailtowiki_pin' => 'Blank field for PIN number disables posting content to wiki with your account.',
 15+ 'sendmailtowiki-err-pinlength' => 'PIN must contain exactly 5 numbers!',
 16+ 'sendmailtowiki-err-wrongprefix' => 'Wrong wiki account prefix. Contact your administrator!',
 17+ 'sendmailtowiki-err-invalidaccount' => 'Invalid account. Check the e-mail address you are sending to.',
 18+ 'sendmailtowiki-err-invalidsender' => 'Invalid sender. Check the e-mail address you are sending from.',
 19+ 'sendmailtowiki-err-invalidpin' => 'Invalid PIN. Access denied.',
 20+ 'sendmailtowiki-err-onlyplain' => 'Because of potential misinterpretations only text/plain messages are accepted.',
1921 );
20 -
21 -/* *** German (Deutsch) *** */
 22+
2223 $messages['sl'] = array(
2324 'sendmailtowiki' => 'SendmailToWiki',
2425 'sendmailtowiki-desc' => 'Pošiljanje wiki vsebine preko namenskega dinamičnega email naslova.',
@@ -32,4 +33,4 @@
3334 'sendmailtowiki-err-invalidpin' => "Nepravilen PIN. Dostop zavrnjen.",
3435 'sendmailtowiki-err-onlyplain' => "Zaradi potencialnega nepravilnega interpretiranja so podprta samo text/plain sporočila.",
3536 );
36 -?>
 37+
Property changes on: trunk/extensions/SendmailToWiki/SendmailToWiki.i18n.php
___________________________________________________________________
Name: svn:eol-style
3738 + native
Index: trunk/extensions/SendmailToWiki/scripts/post_to_wiki.sh
@@ -34,4 +34,4 @@
3535
3636 mail($mailData['headers']['from'], 'RE: '.$mailData['headers']['subject'], $csessionReturn, $headers);
3737 }
38 -?>
 38+
Property changes on: trunk/extensions/SendmailToWiki/scripts/post_to_wiki.sh
___________________________________________________________________
Name: svn:eol-style
3939 + native
Index: trunk/extensions/SendmailToWiki/SendmailToWiki.php
@@ -9,6 +9,7 @@
1010 }
1111
1212 $wgExtensionCredits['specialpage'][] = array(
 13+ 'path' => __FILE__,
1314 'name' => 'SendmailToWiki',
1415 'author' => 'Jure Kajzer - freakolowsky <jure.kajzer@abakus.si>',
1516 'url' => 'http://www.mediawiki.org/wiki/Extension:SendmailToWiki',
@@ -21,7 +22,6 @@
2223
2324 $wgAutoloadClasses['SendmailToWiki'] = $dir . 'SendmailToWiki_body.php';
2425 $wgExtensionMessagesFiles['SendmailToWiki'] = $dir . 'SendmailToWiki.i18n.php';
25 -//$wgExtensionAliasesFiles['SendmailToWiki'] = $dir . 'SendmailToWiki.alias.php';
2626 $wgSpecialPages['SendmailToWiki'] = 'SendmailToWiki';
2727
2828 $wgHooks['GetPreferences'][] = 'sendmailtowikiPrefHook';
@@ -67,4 +67,3 @@
6868 return true;
6969 }
7070
71 -?>
Property changes on: trunk/extensions/SendmailToWiki/SendmailToWiki.php
___________________________________________________________________
Name: svn:eol-style
7271 + native

Status & tagging log