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

           Summary: Add a link output format to inline queries
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: mar...@semantic-mediawiki.org
        ReportedBy: j...@angrymonkey.net.nz
                CC: jeroen_ded...@yahoo.com


Created attachment 8195
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8195
link format for inline queries

Hello from earthquake ravaged Christchurch!

This patch adds a new inline query output format to the core which produces a
link to the query's equivalent Special:Ask page, much the same as the “further
results” link. 

Use cases are to create additional “further results” links that use different
output formats (eg calendar or event line for blogs), or to link to a query
that shows all pages with a particular property on that property — think
delicious/technorati style blog tags.

The code is pretty simple; it just copies paramaters straight into a link
object for display, using the linkformat parameter to set the actual format of
the linked-to search page.  

The patch was made between 1.5.5.1 and current SVN, but I stripped any
irrelevant changes between them, especially in the messages code.

Needs a help page; I'll write one if you want to use the patch.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to