r50482 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50481‎ | r50482 | r50483 >
Date:14:04, 11 May 2009
Author:jan
Status:deferred
Tags:
Comment:
Add index.php?title=...
Modified paths:
  • /trunk/extensions/Poll/Poll_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Poll/Poll_body.php
@@ -42,7 +42,7 @@
4343 $wgOut->addWikiMsg( 'poll-create-block-error' );
4444 }
4545 else {
46 - $wgOut->addHtml( '<form action="index.php?action=submit" method="post">' );
 46+ $wgOut->addHtml( '<form action="index.php?title=Special:Poll&action=submit" method="post">' );
4747 $wgOut->addHtml( '<table style="border: 0px;">' );
4848 $wgOut->addHtml( '<tr><td>'.wfMsg( 'poll-question' ).':</td><td><input type="text" name="poll_name"></td></tr>' );
4949 $wgOut->addHtml( '<tr><td>'.wfMsg( 'poll-alternative' ).' 1:</td><td><input type="text" name="poll_alternative_1"></td></tr>' );

Status & tagging log