• Differences between current version and predecessor to the previous major change of Help/ExternalSearchPlugin.

    Other diffs: Previous Revision, Previous Author

    Newer page: version 2 Last edited on December 16, 2018 by hege
    Older page: version 1 Last edited on March 9, 2017 by 5.188.211.19 Revert
    @@ -1 +1,75 @@
    -Describe [Help/ExternalSearchPlugin ] here
    +The **~ExternalSearch** [ [Help:WikiPlugin|plugin]] creates a form to query [[Help:InterWiki|InterWikis]] or other internet sites.  
    +  
    +== Usage ==  
    +  
    +{{{  
    +<<ExternalSearch  
    + url="InterWiki or URL"  
    + name="button text"  
    +>>  
    +}}}  
    +  
    +== Arguments ==  
    +  
    +{| class="bordered"  
    +|-  
    +! Argument  
    +! Description  
    +! Default value  
    +|-  
    +| **url**  
    +| Specify a wiki from the InterWikiMap or a url. Any text entered by  
    +the user will be appended to the search url. The string placeholder  
    +'##**%s**##' can be used to insert a search query into the url rather  
    +than appending it.  
    +|  
    +|-  
    +| **name**  
    +| Text to display in the submit button.  
    +| For ~InterWiki sites the default is the wiki name, for other urls the default is the text “External Search”.  
    +|-  
    +| **formsize**  
    +| Specify the input area size.  
    +| 30 characters  
    +|-  
    +| **debug**  
    +| Don't really redirect to the external site, just print out the url that would be redirected to.  
    +|  
    +|}  
    +  
    +== Examples ==  
    +  
    +{{{  
    + url="http: //sunir.org/apps/meta.pl?" name="Metawiki Search"  
    + url="http://www.usemod.com/cgi-bin/mb.pl?" name="MeatBall Search"  
    + url=php-lookup  
    + url=php-function  
    + url=PhpWiki  
    +}}}  
    +  
    +Perform a full-text search on multiple wiki's:  
    +<<ExternalSearch url="http://sunir.org/apps/meta.pl?" name="Metawiki Search">>  
    +  
    +Perform a full-text search on [[MeatBall:SiteSearch|MeatBall ]] wiki:  
    +<<ExternalSearch url="http://www .usemod.com/cgi-bin/mb.pl?" name="MeatBall Search">>  
    +  
    +Search the PHP web site for a function name:  
    +<<ExternalSearch url=php-lookup name="PHP Lookup">>  
    +  
    +Enter the name of a PHP function to view the documentation page:%%%  
    +<<ExternalSearch url=php-function>>  
    +  
    +Enter any existing page name on ~PhpWiki to jump to that page:  
    +<<ExternalSearch url=PhpWiki>>  
    +  
    +== See Also ==  
    +* [[Help:TitleSearchPlugin]]  
    +* [[Help:FullTextSearchPlugin]]  
    +* [[Help:InterWikiSearchPlugin]]  
    +* [[Help:LinkSearchPlugin]]  
    +* [[Help:SemanticSearchPlugin]]  
    +  
    +<noinclude>  
    +----  
    +[[PhpWikiDocumentation]] [[CategoryWikiPlugin]]  
    +</noinclude>  

    current version

    The ExternalSearch plugin creates a form to query InterWikis or other internet sites.

    Usage

    <<ExternalSearch
             url="InterWiki or URL"
             name="button text"
    >>

    Arguments

    Argument

    Description

    Default value

    url

    Specify a wiki from the InterWikiMap or a url. Any text entered by the user will be appended to the search url. The string placeholder '%s' can be used to insert a search query into the url rather than appending it.

    name

    Text to display in the submit button.

    For InterWiki sites the default is the wiki name, for other urls the default is the text “External Search”.

    formsize

    Specify the input area size.

    30 characters

    debug

    Don't really redirect to the external site, just print out the url that would be redirected to.

    Examples

      url="http://sunir.org/apps/meta.pl?"       name="Metawiki Search"
      url="http://www.usemod.com/cgi-bin/mb.pl?" name="MeatBall Search"
      url=php-lookup
      url=php-function
      url=PhpWiki

    Perform a full-text search on multiple wiki's:

    Perform a full-text search on MeatBall wiki:

    Search the PHP web site for a function name:

    Enter the name of a PHP function to view the documentation page:

    Enter any existing page name on PhpWiki to jump to that page:

    See Also

Warning: "Declaration of HtmlUnifiedDiffFormatter::lines($lines, $class, $prefix = false, $elem = false) should be compatible with DiffFormatter::lines($lines, $prefix = ' ')"