Last modified: 2011-06-14 00:22:36 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 T21955, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19955 - New parameter: "searchtemplate"
New parameter: "searchtemplate"
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-27 17:01 UTC by FT2
Modified: 2011-06-14 00:22 UTC (History)
0 users

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


Attachments

Description FT2 2009-07-27 17:01:35 UTC
At present, a search box is very limited. One can search for the exact text the user enters, and one can specify namespaces or a prefix.

This request is to allow for much more flexible searches, in what seems to be a trivial enhancement - the ability to specify a search template. Example:

searchtemplate = %% (intitle:Deletion OR intitle:Vandalism)
user input at inputbox: 
    thisandthat
actual search performed: 
    thisandthat (intitle:Deletion OR intitle:Vandalism)

searchtemplate = (sockpuppet* OR sock-puppet*) intitle:"%%"
user input at inputbox: 
    footballvandal
actual search performed: 
    (sockpuppet* OR sock-puppet*) intitle:"footballvandal"

The one check that's obvious is to check for accidental doubled quotation marks, if the searchtemplate contains "%%" (in quotes) and the search text also is quoted.

This would allow a wide range of specialized wiki searches, for example portals could could search for entered text on pages with a given text in the title.
Comment 1 Mark A. Hershberger 2011-06-14 00:22:36 UTC
unassigned Trevor from Inputbox extension.

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


Navigation
Links