Fix #6082: id for the form element
authorAntoine Musso <hashar@users.mediawiki.org>
Thu, 25 May 2006 13:46:13 +0000 (13:46 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Thu, 25 May 2006 13:46:13 +0000 (13:46 +0000)
includes/SpecialUndelete.php

index 12cc45d..6e5bb17 100644 (file)
@@ -479,7 +479,7 @@ class UndeleteForm {
                        $titleObj = Title::makeTitle( NS_SPECIAL, "Undelete" );
                        $action = $titleObj->getLocalURL( "action=submit" );
                        # Start the form here
-                       $top = wfOpenElement( 'form', array( 'method' => 'post', 'action' => $action ) );
+                       $top = wfOpenElement( 'form', array( 'method' => 'post', 'action' => $action, 'id' => 'undelete' ) );
                        $wgOut->addHtml( $top );
                }