Last modified: 2013-03-26 11:24:54 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 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