Index: trunk/phase3/includes/SpecialMovepage.php |
— | — | @@ -116,6 +116,9 @@ |
117 | 117 | $movetalk = wfMsgHtml( 'movetalk' ); |
118 | 118 | $movereason = wfMsgHtml( 'movereason' ); |
119 | 119 | |
| 120 | + $sk =& $wgUser->getSkin(); |
| 121 | + $cancel = $sk->makeKnownLink( $oldTitle, wfMsg('cancel') ); |
| 122 | + |
120 | 123 | $titleObj = Title::makeTitle( NS_SPECIAL, 'Movepage' ); |
121 | 124 | $action = $titleObj->escapeLocalURL( 'action=submit' ); |
122 | 125 | $token = htmlspecialchars( $wgUser->editToken() ); |
— | — | @@ -163,6 +166,7 @@ |
164 | 167 | <td> </td> |
165 | 168 | <td align='left'> |
166 | 169 | <input type='submit' name=\"{$submitVar}\" value=\"{$movepagebtn}\" /> |
| 170 | + {$cancel} |
167 | 171 | </td> |
168 | 172 | </tr> |
169 | 173 | </table> |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -286,6 +286,7 @@ |
287 | 287 | * (bug 4359) red [[user:#id]] links generated in [[special:Log]] |
288 | 288 | * (bug 1996) Special page to list redirects |
289 | 289 | * (bug 4334) Add "watch" links to Special:Unwatchedpages |
| 290 | +* (bug 3835) Add a 'Cancel' backlink on Special:Movepage |
290 | 291 | |
291 | 292 | Misc.: |
292 | 293 | * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect |