r113799 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113798‎ | r113799 | r113800 >
Date:07:18, 14 March 2012
Author:wikinaut
Status:new
Tags:
Comment:
follow up r113772 . getText() changed to getPrefixedText() in order to store the full page name in the database for admins convenience. It does not influence the voting and rendering of polls, because this value is never read.
Modified paths:
  • /trunk/extensions/AJAXPoll/AJAXPoll.php (modified) (history)
  • /trunk/extensions/AJAXPoll/AJAXPoll_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AJAXPoll/AJAXPoll.php
@@ -19,7 +19,7 @@
2020 * @author Jack Phoenix <jack@countervandalism.net>
2121 * @author Thomas Gries
2222 * @maintainer Thomas Gries
23 - * @version 1.70
 23+ * @version 1.71
2424 * @link http://www.mediawiki.org/wiki/Extension:AJAX_Poll Documentation
2525 */
2626
@@ -31,7 +31,7 @@
3232 $wgExtensionCredits['parserhook'][] = array(
3333 'path' => __FILE__,
3434 'name' => 'AJAX Poll',
35 - 'version' => '1.70 20120313',
 35+ 'version' => '1.71 20120314',
3636 'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries' ),
3737 'descriptionmsg' => 'ajaxpoll-desc',
3838 'url' => 'https://www.mediawiki.org/wiki/Extension:AJAX_Poll',
Index: trunk/extensions/AJAXPoll/AJAXPoll_body.php
@@ -76,7 +76,7 @@
7777 'poll_id' => $id,
7878 'poll_txt' => $input,
7979 'poll_date' => wfTimestampNow(),
80 - 'poll_title' => $parser->mTitle->getText()
 80+ 'poll_title' => $parser->mTitle->getPrefixedText()
8181 ),
8282 __METHOD__
8383 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113772follow up r113554 . fixing a regression which was introduced in r113554. Maki...wikinaut22:31, 13 March 2012

Status & tagging log