Template:Search

    From KDE UserBase Wiki
    Revision as of 14:50, 19 January 2014 by Claus chr (talk | contribs) (Corrected descriptive text)

    Find pages containing a string: {{Search|string}} finds all pages containing the string. Searches are case sensitive. In order to find both xyz and Xyz use a regular expression: {{Search|[Xx]yz}}.

    Regular expressions use a perl like syntax. Special characters like '[', '[','(' and ')' need to be escaped.

    No wiki expansion takes place before passing arguments to the template.

    Warning

    Due to the limitations of the underlying database queries, the search is split in five parts, each searching less that 500 pages. To check that this limit is not exceeded, the number of pages in each search is also printed. Should one of the page counts exceed 500, some pages will have been ignored. The template then needs to be modified!


    Example: {{Search|1=Learn more}} gives

    There are 2019 pages beginning with A-J

    There are 1436 pages beginning with KA-KZ

    There are 1165 pages beginning with Ka-Kz but not Kd

    There are 388 pages beginning with Kd

    There are 2283 pages beginning with L-Z