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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12801 - $1 paramter isn't replaced correctly in 'searchsubtitle' message with AjaxSearch
$1 paramter isn't replaced correctly in 'searchsubtitle' message with AjaxSearch
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  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: ---

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

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.