https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113799

Revision: 113799
Author:   wikinaut
Date:     2012-03-14 07:18:14 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
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
    trunk/extensions/AJAXPoll/AJAXPoll_body.php

Modified: trunk/extensions/AJAXPoll/AJAXPoll.php
===================================================================
--- trunk/extensions/AJAXPoll/AJAXPoll.php      2012-03-14 07:09:21 UTC (rev 
113798)
+++ trunk/extensions/AJAXPoll/AJAXPoll.php      2012-03-14 07:18:14 UTC (rev 
113799)
@@ -19,7 +19,7 @@
  * @author Jack Phoenix <[email protected]>
  * @author Thomas Gries
  * @maintainer Thomas Gries
- * @version 1.70
+ * @version 1.71
  * @link http://www.mediawiki.org/wiki/Extension:AJAX_Poll Documentation
  */
 
@@ -31,7 +31,7 @@
 $wgExtensionCredits['parserhook'][] = array(
        'path' => __FILE__,
        'name' => 'AJAX Poll',
-       'version' => '1.70 20120313',
+       'version' => '1.71 20120314',
        'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries' 
),
        'descriptionmsg' => 'ajaxpoll-desc',
        'url' => 'https://www.mediawiki.org/wiki/Extension:AJAX_Poll',

Modified: trunk/extensions/AJAXPoll/AJAXPoll_body.php
===================================================================
--- trunk/extensions/AJAXPoll/AJAXPoll_body.php 2012-03-14 07:09:21 UTC (rev 
113798)
+++ trunk/extensions/AJAXPoll/AJAXPoll_body.php 2012-03-14 07:18:14 UTC (rev 
113799)
@@ -76,7 +76,7 @@
                                        'poll_id' => $id,
                                        'poll_txt' => $input,
                                        'poll_date' => wfTimestampNow(),
-                                       'poll_title' => 
$parser->mTitle->getText()
+                                       'poll_title' => 
$parser->mTitle->getPrefixedText()
                                ),
                                __METHOD__
                        );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to