r106778 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106777‎ | r106778 | r106779 >
Date:10:33, 20 December 2011
Author:raymond
Status:ok
Tags:
Comment:
r106664 : Consistency tweaks in preparation for adding extension to translatewiki.net:
* i18n file:
** Tweak description message
** Change description message key to our standards
* Extension credits:
** http -> https for mediawiki.org + FIXME
Modified paths:
  • /trunk/extensions/MarkAsHelpful/MarkAsHelpful.i18n.php (modified) (history)
  • /trunk/extensions/MarkAsHelpful/MarkAsHelpful.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MarkAsHelpful/MarkAsHelpful.i18n.php
@@ -12,21 +12,21 @@
1313 * @author Rob Moen
1414 */
1515 $messages['en'] = array(
16 - 'mark-as-helpful-desc' => 'Hooks in to specified objects and provides a user interface to mark them as helpful',
 16+ 'markashelpful-desc' => 'Provides a user interface to mark comments as helpful',
1717 'mah-mark-text' => 'Mark this as helpful',
1818 'mah-you-marked-text' => 'You think this is helpful',
1919 'mah-someone-marked-text' => '$1 thinks this is helpful',
2020 'mah-undo-mark-text' => 'undo',
21 -
2221 );
2322
2423 /** Message documentation (Message documentation)
2524 * @author Rob Moen
2625 */
2726 $messages['qqq'] = array(
28 - 'mark-as-helpful-desc' => 'This is a feature in development. See [[mw:MarkAsHelpful]] for background information.',
 27+ 'markashelpful-desc' => '{{desc}}
 28+This is a feature in development. See [[mw:MarkAsHelpful]] for background information.',
2929 'mah-mark-text' => 'Text to prompt the user to mark this item as helpful',
3030 'mah-you-marked-text' => 'Text displayed to the logged in user if they mark an item helpful',
3131 'mah-someone-marked-text' => 'Text displayed as to who marked this is helpful, shown if not the user who marked {$1 is the username}',
3232 'mah-undo-mark-text' => 'Text for the the undo mark link',
33 -);
\ No newline at end of file
 33+);
Index: trunk/extensions/MarkAsHelpful/MarkAsHelpful.php
@@ -6,9 +6,9 @@
77
88 $wgExtensionCredits['other'][] = array(
99 'author' => array( 'Rob Moen', 'Benny Situ' ),
10 - 'descriptionmsg' => 'mark-as-helpful-desc',
 10+ 'descriptionmsg' => 'markashelpful-desc',
1111 'name' => 'MarkAsHelpful',
12 - 'url' => 'http://www.mediawiki.org/wiki/Mark_as_Helpful',
 12+ 'url' => 'https://www.mediawiki.org/wiki/Mark_as_Helpful', // FIXME: A page in the extension namespace should be created
1313 'version' => '0.1',
1414 'path' => __FILE__,
1515 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106664Create new extension base MarkAsHelpful.rmoen17:46, 19 December 2011

Status & tagging log