r112324 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112323‎ | r112324 | r112325 >
Date:14:58, 24 February 2012
Author:jdlrobson
Status:resolved
Tags:
Comment:
follow up escaping based on r112321 c31426
Modified paths:
  • /trunk/extensions/MobileFrontend/templates/SearchTemplate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/templates/SearchTemplate.php
@@ -13,7 +13,7 @@
1414 $randomPageUrl = $this->data['randomPageUrl'];
1515 $homeButton = $this->data['messages']['mobile-frontend-home-button'];
1616 $randomButton = $this->data['messages']['mobile-frontend-random-button'];
17 - $clearText = $this->data['messages']['mobile-frontend-clear-search'];
 17+ $clearText = htmlentities( $this->data['messages']['mobile-frontend-clear-search'], ENT_QUOTES );
1818
1919 $scriptUrl = wfScript();
2020 $searchBoxDisplayNone = ( $this->data['hideSearchBox'] ) ? ' style="display: none;" ' : '';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112321i18n the clear search button...jdlrobson14:27, 24 February 2012

Status & tagging log