Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/104372


Change subject: Replace usage of deprecated Title::escapeLocalURL()
......................................................................

Replace usage of deprecated Title::escapeLocalURL()

Change-Id: I9995a5afae1690864bf48ef231260554b711d441
---
M includes/pages/VotePage.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SecurePoll 
refs/changes/72/104372/1

diff --git a/includes/pages/VotePage.php b/includes/pages/VotePage.php
index 810d7fa..88f8ba9 100644
--- a/includes/pages/VotePage.php
+++ b/includes/pages/VotePage.php
@@ -112,7 +112,7 @@
 
                // Show form
                $thisTitle = $this->getTitle();
-               $encAction = $thisTitle->escapeLocalURL( "action=vote" );
+               $encAction = htmlspecialchars( $thisTitle->getLocalURL( 
"action=vote" ) );
                $encOK = wfMsgHtml( 'securepoll-submit' );
                $encToken = htmlspecialchars( $this->parent->getEditToken() );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/104372
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9995a5afae1690864bf48ef231260554b711d441
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SecurePoll
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

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

Reply via email to