r81739 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81738‎ | r81739 | r81740 >
Date:13:39, 8 February 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix bug 27251 "GET" in <form method="GET" should be in lowercase
Modified paths:
  • /trunk/extensions/Gadgets/SpecialGadgets.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Gadgets/SpecialGadgets.php
@@ -146,7 +146,7 @@
147147 $exportList .= "MediaWiki:$page\n";
148148 }
149149
150 - $wgOut->addHTML( Html::openElement( 'form', array( 'method' => 'GET', 'action' => $wgScript ) )
 150+ $wgOut->addHTML( Html::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) )
151151 . Html::hidden( 'title', SpecialPage::getTitleFor( 'Export' )->getPrefixedDBKey() )
152152 . Html::hidden( 'pages', $exportList )
153153 . Html::hidden( 'wpDownload', '1' )

Status & tagging log