Last modified: 2013-03-26 11:24:54 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 T7815, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5815 - Add a $1 parameter to [[Mediawiki:Searchnoresults]]
Add a $1 parameter to [[Mediawiki:Searchnoresults]]
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-03 16:58 UTC by Pcb21
Modified: 2013-03-26 11:24 UTC (History)
2 users (show)

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


Attachments

Description Pcb21 2006-05-03 16:58:39 UTC
It would be useful to suggest to readers that they search for the same term
other Wikimedia projects when their search on the current project fails.

To do this we would need to access the searched-for string in
[[Mediawiki:Searchnoresults]]. Please could you make it available as a "$1
parameter".

Many thanks,
Comment 1 Pcb21 2006-05-03 17:46:48 UTC
Oddly the sister message to this message, [[Mediawiki:Nogomatch]], already has a
$1 parameter and is editable using wikitext.
[[Mediawiki:Searchnoresults]] still requires HTML and has no parameters. As the
former is used when a user presses the go button, and the latter when pressing
the search button, it seems to makes sense to have these work in a similar way
to each other.
Comment 2 Rob Church 2006-05-03 18:26:37 UTC
Added to Lucene extension in SVN trunk, r14061.

Three parameters are now passed to the message, as follows:

$1 - Plain search terms
$2 - Search terms with spaces escaped via underscores
$3 - URL-encoded search terms
Comment 3 Andre Klapper 2013-03-26 11:24:54 UTC
[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]

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


Navigation
Links