r21381 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21380‎ | r21381 | r21382 >
Date:14:40, 19 April 2007
Author:brion
Status:old
Tags:
Comment:
Re-apply r20779 fix and use changed text for the (non-miser) search textbox
Modified paths:
  • /trunk/phase3/includes/SpecialLog.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialLog.php
@@ -347,12 +347,12 @@
348348 if ( $s->log_type == 'move' && isset( $paramArray[0] ) ) {
349349 $destTitle = Title::newFromText( $paramArray[0] );
350350 if ( $destTitle ) {
351 - $reviewlink = $this->skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Movepage' ),
 351+ $revert = '(' . $this->skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Movepage' ),
352352 wfMsg( 'revertmove' ),
353353 'wpOldTitle=' . urlencode( $destTitle->getPrefixedDBkey() ) .
354354 '&wpNewTitle=' . urlencode( $title->getPrefixedDBkey() ) .
355355 '&wpReason=' . urlencode( wfMsgForContent( 'revertmove' ) ) .
356 - '&wpMovetalk=0' );
 356+ '&wpMovetalk=0' ) . ')';
357357 }
358358 // show undelete link
359359 } elseif ( $s->log_action == 'delete' && $wgUser->isAllowed( 'delete' ) ) {
@@ -469,7 +469,7 @@
470470 */
471471 function getTitlePattern() {
472472 $pattern = $this->reader->queryPattern();
473 - return Xml::checkLabel( wfMsg( 'title-pattern' ), 'pattern', 'pattern', $pattern );
 473+ return Xml::checkLabel( wfMsg( 'log-title-wildcard' ), 'pattern', 'pattern', $pattern );
474474 }
475475
476476 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r20779Fixing a regression (caused by r20473 and then r20525) that the move revert l...rotem17:10, 28 March 2007