Template:Search link/doc: Difference between revisions
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{redirect|Template:Sl|the template for linking to sections|Template:Section link}} {{Documentation subpage}} {{Warning|This template should not be used in [[WP:WIAA|articles]..." |
Caleb Cooper (talk | contribs) m Text replacement - "[[Help:Template" to "[[Wikipedia:Help:Template " |
||
| (2 intermediate revisions by the same user not shown) | |||
Line 1:
{{redirect|Template:Sl|the template for linking to sections|Template:Section link}}
{{Documentation subpage}}
{{Wikipedia-Warning|This template should not be used in [[Wikipedia:WP:WIAA|articles]] as links to search result pages are among the [[Wikipedia:WP:LINKSTOAVOID|links normally to be avoided]].}}
{{tsh|sl}}{{Commons Import}}
Line 109:
''But'' when specifying "all", the query time is about seven times greater because there are [[special:statistics|that many more pages on the wiki]] than there are articles. If a more targeted search is possible, it runs much more quickly than the "all" search.
For example, if you have a query for which know the search domain is 10 and 11, and you want ''no label'', then you need a parameter 3, ''but you need no parameter 2'', so per the [[Wikipedia:Help:
*<code>{<nowiki/>{sl|''query'''''||'''ns10|ns11}}</code> When parameter 1 unnamed, and parameter 2 is unnamed '''{{big|{{!}} {{!}}}}''' (defined as the "empty string"), then parameter 3 can be defined unnamed <kbd>ns10</kbd>, and parameter 4 can be defined unnamed <code>ns11</code>, and so on. Nothing is named because everything is defined.
*<code>{<nowiki/>{sl|''query''|3=ns10|4=ns11}}</code> Parameter 2 is undefined, but that's fine because parameters 3 and above are all named...
| |||