https://bugzilla.wikimedia.org/show_bug.cgi?id=18036

           Summary: Allow arguments to pass into <inputbox> search fields?
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://en.wikipedia.org/wiki/Template:Search_subpages
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Inputbox
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The normal form requires hardcoding:
<inputbox>
type=search
prefix={{FULLPAGENAME}}/Archive
</inputbox>

This form (used at [[Template:Search archives]]) doesn't work in cases such as
[[Wikipedia:Archived deletion discussions]] (WP:ADD), because most of the
discussions are under [[Wikipedia:Articles for deletion/Log/]]. Using that
template means hard-transcluding the page name where the tag/searchbox is,
rather than the desired subpage prefix.

I created [[Template:Search subpages]] to try and correct this problem but
found out that there's more going on:

<inputbox>
type=fulltext
prefix={{{1}}}
</inputbox>

Search "foo" returns:
 Search results for: [foo prefix:{{{1}}} ] = None found.

I don't know how this might be done. I'm guessing there might be some security
issues.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to