r51418 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51417‎ | r51418 | r51419 >
Date:16:46, 3 June 2009
Author:dale
Status:deferred
Tags:
Comment:
updated msgs per bug 19066
Modified paths:
  • /trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_EditPageAjax.php (modified) (history)
  • /trunk/extensions/MetavidWiki/languages/MV_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_EditPageAjax.php
@@ -159,7 +159,7 @@
160160 $stream_name = MV_Stream::getStreamNameFromId( $mvd->stream_id );
161161
162162 $lTitle = Title::makeTitle( NS_SPECIAL, 'Userlogin' );
163 - $loginLink = $sk->makeLinkObj( $lTitle, wfMsg( 'login' ), 'returnto=' . MWNamespace::getCanonicalName( MV_NS_STREAM ) . ':' . $stream_name );
 163+ $loginLink = $lTitle->getFullURL('returnto=' . MWNamespace::getCanonicalName( MV_NS_STREAM ) . ':' . $stream_name );
164164
165165 $wgOut->addHTML( wfMsg( 'mv_user_cant_edit', $loginLink, $cancel ) );
166166 $wgOut->readOnlyPage( $this->mArticle->getContent(), true, $permErrors );
Index: trunk/extensions/MetavidWiki/languages/MV_Messages.php
@@ -227,7 +227,7 @@
228228 'mv_missing_stream_text' => 'The stream you requested <b>$1</b> is not available.<br />
229229 You may want to check the <a href="$2">Stream list</a><br />
230230 Or you may want to <a href="$3">Add the stream</a>.',
231 - 'mv_user_cant_edit' => 'You may have to $1 to edit, $2', // $1 is login link and $2 is cancel link
 231+ 'mv_user_cant_edit' => 'You may have to [$1 login] to edit, $2', // $1 is login link and $2 is cancel link
232232
233233 'mv_add_stream_file' => 'Add stream file',
234234 'mv_media_path' => 'media path',

Status & tagging log