r40972 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40971‎ | r40972 | r40973 >
Date:02:54, 18 September 2008
Author:demon
Status:old
Tags:
Comment:
Add id to file delete confirmation form.
Modified paths:
  • /trunk/phase3/includes/FileDeleteForm.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/FileDeleteForm.php
@@ -135,7 +135,7 @@
136136 $suppress = '';
137137 }
138138
139 - $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getAction() ) ) .
 139+ $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getAction(), 'id' => 'mw-img-deleteconfirm' ) ) .
140140 Xml::openElement( 'fieldset' ) .
141141 Xml::element( 'legend', null, wfMsg( 'filedelete-legend' ) ) .
142142 Xml::hidden( 'wpEditToken', $wgUser->editToken( $this->oldimage ) ) .

Status & tagging log