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

Revision: 112627
Author:   emsmith
Date:     2012-02-28 18:53:17 +0000 (Tue, 28 Feb 2012)
Log Message:
-----------
bug 34090 - follow up to r112599 - change to use getText since it's going into 
a title constructor as part of the permalink

Modified Paths:
--------------
    trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5Utils.php

Modified: trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5Utils.php
===================================================================
--- trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5Utils.php        
2012-02-28 18:46:36 UTC (rev 112626)
+++ trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5Utils.php        
2012-02-28 18:53:17 UTC (rev 112627)
@@ -229,7 +229,7 @@
                }
 
                // get the string name of the page
-               $page_name = $title_object->getPartialURL();
+               $page_name = $title_object->getText();
 
                // to build our permalink, use the feedback entry key + the 
page name (isn't page name a title? but title is an object? confusing)
                $permalink = SpecialPage::getTitleFor( 'ArticleFeedbackv5', 
"$page_name/$itemId" );


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

Reply via email to