r36839 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36838‎ | r36839 | r36840 >
Date:11:22, 1 July 2008
Author:huji
Status:old
Tags:
Comment:
Removing movepage-moved, using movepage-page-moved in its place. The former was actually a bolded version of the later.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialMovepage.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialMovepage.php
@@ -291,7 +291,7 @@
292292 $oldLink = "<span class='plainlinks'>[$oldUrl $oldText]</span>";
293293 $newLink = "<span class='plainlinks'>[$newUrl $newText]</span>";
294294
295 - $wgOut->addWikiMsg( 'movepage-moved', $oldLink, $newLink, $oldText, $newText );
 295+ $wgOut->addWikiMsg( 'movepage-page-moved', $oldLink, $newLink, $oldText, $newText );
296296
297297 # Now we move extra pages we've been asked to move: subpages and talk
298298 # pages. First, if the old page or the new page is a talk page, we
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2432,7 +2432,6 @@
24332433 'move-watch' => 'Watch this page',
24342434 'movepagebtn' => 'Move page',
24352435 'pagemovedsub' => 'Move succeeded',
2436 -'movepage-moved' => '<big>\'\'\'"$1" has been moved to "$2"\'\'\'</big>', # The two titles are passed in plain text as $3 and $4 to allow additional goodies in the message.
24372436 'articleexists' => 'A page of that name already exists, or the name you have chosen is not valid.
24382437 Please choose another name.',
24392438 'cantmove-titleprotected' => 'You cannot move a page to this location, because the new title has been protected from creation',
@@ -2443,7 +2442,7 @@
24442443 'move-subpages' => 'Move all subpages, if applicable',
24452444 'move-talk-subpages' => 'Move all subpages of talk page, if applicable',
24462445 'movepage-page-exists' => 'The page $1 already exists and cannot be automatically overwritten.',
2447 -'movepage-page-moved' => 'The page $1 has been moved to $2.',
 2446+'movepage-page-moved' => 'The page $1 has been moved to $2.', # The two titles are passed in plain text as $3 and $4 to allow additional goodies in the message.
24482447 'movepage-page-unmoved' => 'The page $1 could not be moved to $2.',
24492448 'movepage-max-pages' => 'The maximum of $1 {{PLURAL:$1|page|pages}} has been moved and no more will be moved automatically.',
24502449 '1movedto2' => '[[$1]] moved to [[$2]]',

Follow-up revisions

RevisionCommit summaryAuthorDate
r36962Revert r36839 (merge of movepage-moved and movepage-page-moved) -- the two me...brion23:47, 2 July 2008
r36963Revert r36841 -- followup to reverted r36839brion23:49, 2 July 2008

Status & tagging log