r88885 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88884‎ | r88885 | r88886 >
Date:11:36, 26 May 2011
Author:diebuche
Status:ok (Comments)
Tags:
Comment:
Remove reset button from Special:Undelete. It does more harm than good
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUndelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUndelete.php
@@ -1166,7 +1166,6 @@
11671167 <td>&#160;</td>
11681168 <td class='mw-submit'>" .
11691169 Xml::submitButton( wfMsg( 'undeletebtn' ), array( 'name' => 'restore', 'id' => 'mw-undelete-submit' ) ) . ' ' .
1170 - Xml::element( 'input', array( 'type' => 'reset', 'value' => wfMsg( 'undeletereset' ), 'id' => 'mw-undelete-reset' ) ) . ' ' .
11711170 Xml::submitButton( wfMsg( 'undeleteinvert' ), array( 'name' => 'invert', 'id' => 'mw-undelete-invert' ) ) .
11721171 "</td>
11731172 </tr>" .

Follow-up revisions

RevisionCommit summaryAuthorDate
r88886r88885: Change message as welldiebuche11:44, 26 May 2011

Comments

#Comment by Reedy (talk | contribs)   13:01, 26 May 2011

Is the 'undeletereset' message used anywhere else?

As if not, it needs removing from messages.inc

Status & tagging log