Last modified: 2008-03-19 00:04:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14801, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12801 - $1 paramter isn't replaced correctly in 'searchsubtitle' message with AjaxSearch
$1 paramter isn't replaced correctly in 'searchsubtitle' message with AjaxSearch
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.12.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-26 18:26 UTC by Alexandre Emsenhuber [IAlex]
Modified: 2008-03-19 00:04 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
patch for AjaxFunctions.php (716 bytes, patch)
2008-01-26 18:26 UTC, Alexandre Emsenhuber [IAlex]
Details
new patch (1.27 KB, patch)
2008-01-26 20:13 UTC, Alexandre Emsenhuber [IAlex]
Details
new patch (716 bytes, patch)
2008-01-30 20:33 UTC, Alexandre Emsenhuber [IAlex]
Details

Description Alexandre Emsenhuber [IAlex] 2008-01-26 18:26:06 UTC
Created attachment 4585 [details]
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.
Comment 1 Alexandre Emsenhuber [IAlex] 2008-01-26 20:13:40 UTC
Created attachment 4586 [details]
new patch

patch for r30173 and after, also documented the hook (maybe add an entry in RELEASE-NOTES for the hook)
Comment 2 Alexandre Emsenhuber [IAlex] 2008-01-30 20:33:34 UTC
Created attachment 4598 [details]
new patch

new patch for r30275 +
Comment 3 Brion Vibber 2008-03-19 00:04:16 UTC
Applied with slight modification (wikitext escaping to avoid formatting errors) in r32146.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links