Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -110,6 +110,8 @@ |
111 | 111 | * Timezones are now recognised in user preferences when offset is different |
112 | 112 | due to DST |
113 | 113 | * (bug 31692) "summary" parameter now also work when undoing revisions |
| 114 | +* (bug 18823) "move succeeded" text displays bluelinks even when redirect was |
| 115 | + suppressed |
114 | 116 | |
115 | 117 | === API changes in 1.19 === |
116 | 118 | * (bug 19838) siprop=interwikimap can now use the interwiki cache. |
Index: trunk/phase3/includes/specials/SpecialMovepage.php |
— | — | @@ -424,15 +424,18 @@ |
425 | 425 | $out = $this->getOutput(); |
426 | 426 | $out->setPagetitle( wfMsg( 'pagemovedsub' ) ); |
427 | 427 | |
428 | | - $oldUrl = $ot->getFullUrl( 'redirect=no' ); |
429 | | - $newUrl = $nt->getFullUrl(); |
| 428 | + $oldLink = Linker::link( |
| 429 | + $ot, |
| 430 | + null, |
| 431 | + array(), |
| 432 | + array( 'redirect' => 'no' ) |
| 433 | + ); |
| 434 | + $newLink = Linker::linkKnown( $nt ); |
430 | 435 | $oldText = $ot->getPrefixedText(); |
431 | 436 | $newText = $nt->getPrefixedText(); |
432 | | - $oldLink = "<span class='plainlinks'>[$oldUrl $oldText]</span>"; |
433 | | - $newLink = "<span class='plainlinks'>[$newUrl $newText]</span>"; |
434 | 437 | |
435 | 438 | $msgName = $createRedirect ? 'movepage-moved-redirect' : 'movepage-moved-noredirect'; |
436 | | - $out->addWikiMsg( 'movepage-moved', $oldLink, $newLink, $oldText, $newText ); |
| 439 | + $out->addHTML( wfMessage( 'movepage-moved' )->rawParams( $oldLink, $newLink, $oldText, $newText ) ); |
437 | 440 | $out->addWikiMsg( $msgName ); |
438 | 441 | |
439 | 442 | # Now we move extra pages we've been asked to move: subpages and talk |