Page MenuHomePhabricator

$1 paramter isn't replaced correctly in 'searchsubtitle' message with AjaxSearch
Closed, ResolvedPublic

Description

patch for AjaxFunctions.php

When using ajax search and getting the results, the subtitle is "You searched for (Article)" as it should be but the link always points to the '$1' as this is replaced after parsing. Using wfMsgExt instead of wfMsgWikiHtml resolve this problem.


Version: 1.12.x
Severity: normal

attachment ajaxSearch.patch ignored as obsolete

Details

Reference
bz12801

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:05 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz12801.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 4586
new patch

patch for r30173 and after, also documented the hook (maybe add an entry in RELEASE-NOTES for the hook)

attachment sajaxsearch.patch ignored as obsolete

Created attachment 4598
new patch

new patch for r30275 +

Attached:

Applied with slight modification (wikitext escaping to avoid formatting errors) in r32146.