r12512 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r12511‎ | r12512 | r12513 >
Date:13:49, 8 January 2006
Author:hashar
Status:old
Tags:
Comment:
Bug 3835: add a cancel link on special:movepage
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialMovepage.php
@@ -116,6 +116,9 @@
117117 $movetalk = wfMsgHtml( 'movetalk' );
118118 $movereason = wfMsgHtml( 'movereason' );
119119
 120+ $sk =& $wgUser->getSkin();
 121+ $cancel = $sk->makeKnownLink( $oldTitle, wfMsg('cancel') );
 122+
120123 $titleObj = Title::makeTitle( NS_SPECIAL, 'Movepage' );
121124 $action = $titleObj->escapeLocalURL( 'action=submit' );
122125 $token = htmlspecialchars( $wgUser->editToken() );
@@ -163,6 +166,7 @@
164167 <td>&nbsp;</td>
165168 <td align='left'>
166169 <input type='submit' name=\"{$submitVar}\" value=\"{$movepagebtn}\" />
 170+ {$cancel}
167171 </td>
168172 </tr>
169173 </table>
Index: trunk/phase3/RELEASE-NOTES
@@ -286,6 +286,7 @@
287287 * (bug 4359) red [[user:#id]] links generated in [[special:Log]]
288288 * (bug 1996) Special page to list redirects
289289 * (bug 4334) Add "watch" links to Special:Unwatchedpages
 290+* (bug 3835) Add a 'Cancel' backlink on Special:Movepage
290291
291292 Misc.:
292293 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect

Follow-up revisions

RevisionCommit summaryAuthorDate
r12522REVERT: Bug 3835: add a cancel link on special:movepagehashar16:23, 8 January 2006

Status & tagging log