r60114 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60113‎ | r60114 | r60115 >
Date:09:32, 16 December 2009
Author:werdna
Status:deferred
Tags:
Comment:
LiquidThreads: make reply title suffix localisable
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/Threads.php (modified) (history)
  • /trunk/extensions/LiquidThreads/i18n/Lqt.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/i18n/Lqt.i18n.php
@@ -306,6 +306,9 @@
307307 'lqt-edit-bump-tooltip' => 'Move this thread to the top of its discussion page',
308308
309309 'lqt-historicalrevision-error' => 'The revision you have selected is corrupt, and cannot be viewed.',
 310+
 311+ // Reply subpage name
 312+ 'lqt-reply-subpage' => 'reply',
310313 );
311314
312315 /** Message documentation (Message documentation)
Index: trunk/extensions/LiquidThreads/classes/Threads.php
@@ -191,9 +191,10 @@
192192 }
193193
194194 static function newReplyTitle( $thread, $user ) {
 195+ wfLoadExtensionMessages( 'LiquidThreads' );
195196 $topThread = $thread->topmostThread();
196197
197 - $base = $topThread->title()->getText() . '/reply';
 198+ $base = $topThread->title()->getText() . '/' . wfMsg('lqt-reply-subpage');
198199
199200 return self::incrementedTitle( $base, NS_LQT_THREAD );
200201 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r60115Use content language in r60114werdna09:55, 16 December 2009

Status & tagging log