r63370 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63369‎ | r63370 | r63371 >
Date:18:57, 7 March 2010
Author:nad
Status:deferred
Tags:
Comment:
add id's to hidden inputs
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin.php (modified) (history)
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -300,8 +300,8 @@
301301 # Render the form
302302 $wgOut->addHTML( "<form class=\"{$this->formClass}\"{$this->formAtts} action=\"$action\" method=\"POST\">" );
303303 $wgOut->addHTML( $this->form );
304 - $wgOut->addHTML( Xml::element( 'input', array( 'type' => 'hidden', 'name' => 'wpType', 'value' => $type ) ) );
305 - $wgOut->addHTML( Xml::element( 'input', array( 'type' => 'hidden', 'name' => 'wpRecord', 'value' => $record ) ) );
 304+ $wgOut->addHTML( Xml::element( 'input', array( 'type' => 'hidden', 'name' => 'wpType', 'id' => 'ra-type', 'value' => $type ) ) );
 305+ $wgOut->addHTML( Xml::element( 'input', array( 'type' => 'hidden', 'name' => 'wpRecord', 'id' => 'ra-record', 'value' => $record ) ) );
306306 $wgOut->addHTML( '<br /><hr /><br />'
307307 . "<span id='wpSummaryLabel'><label for='wpSummary'>Summary:</label></span>&nbsp;"
308308 . Xml::element( 'input', array( 'type' => 'text', 'name' => 'wpSummary', 'id' => 'wpSummary', 'maxlength' => '200', 'size' => '60' ) )
Index: trunk/extensions/RecordAdmin/RecordAdmin.php
@@ -11,7 +11,7 @@
1212 * @licence GNU General Public Licence 2.0 or later
1313 */
1414
15 -define( 'RECORDADMIN_VERSION', '0.11.6, 2010-03-05' );
 15+define( 'RECORDADMIN_VERSION', '0.11.7, 2010-03-08' );
1616
1717 $wgRecordAdminUseNamespaces = false; # Whether record articles should be in a namespace of the same name as their type
1818 $wgRecordAdminCategory = 'Records'; # Category containing record types

Status & tagging log