https://bugzilla.wikimedia.org/show_bug.cgi?id=30404
Web browser: ---
Bug #: 30404
Summary: Possibility to insert inputbox entered string in a
predefined search containing boolean operators
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Inputbox
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Currently you can perform searches like these:
*incategory:"Heads of state" incategory:"YYYY deaths"
*fish incategory:"Chefs"
*intitle:"John" incategory:"American comedy writers"
Well, suppose you insert this code in [[Category:Heads of state]] or any other
'people' category page:
<inputbox>
type=search
boolean=incategory:"{{PAGENAME}}" incategory:"$1 deaths"
width=4
searchbuttonlabel=Find {{PAGENAME}} dead in a given year
</inputbox>
Or this simpler one in any category page:
<inputbox>
type=search
boolean= $1 incategory:"{{PAGENAME}}"
searchbuttonlabel=Find a word in this category
</inputbox>
Where 'boolean' is the requested new parameter with a unique wildcard (ie. $1
or %s). Using the 'default' parameter to define a boolean search results in an
annoying *visible* text in the input box.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l