Template:LinksTo: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- | |||
{{#dpl: | {{#dpl: | ||
| namespace = | | namespace = | ||
Line 49: | Line 50: | ||
| resultsheader = There are %TOTALPAGES% pages beginning with L-Z\n | | resultsheader = There are %TOTALPAGES% pages beginning with L-Z\n | ||
}} | }} | ||
--> | |||
<noinclude> | <noinclude> | ||
---- | ---- | ||
{{Warning|1=Searching doesn't work on UserBase due do an issue with the 3. party module DynamicPageList3 - | |||
see [https://invent.kde.org/teams/web/wiki-sites/-/issues/16 issue on invent]}} | |||
Finds all English pages in namespace Main linking to the page given as argument. Usage <nowiki>{{LinksTo|</nowiki>'''''page name'''''<nowiki>}}</nowiki>, where '''''page name''''' is the name of the page. Note, that any space characters or underscores in the name should be replaced by <nowiki>[_ ]</nowiki> — that is: 'open square bracket', 'underscore', 'space', 'close square bracket'. This is because the links are found by a string search of the text of pages. In wiki format names can be written with either space or underscore, and for many pages both form occur. | Finds all English pages in namespace Main linking to the page given as argument. Usage <nowiki>{{LinksTo|</nowiki>'''''page name'''''<nowiki>}}</nowiki>, where '''''page name''''' is the name of the page. Note, that any space characters or underscores in the name should be replaced by <nowiki>[_ ]</nowiki> — that is: 'open square bracket', 'underscore', 'space', 'close square bracket'. This is because the links are found by a string search of the text of pages. In wiki format names can be written with either space or underscore, and for many pages both form occur. | ||
Revision as of 11:09, 6 March 2024
Finds all English pages in namespace Main linking to the page given as argument. Usage {{LinksTo|page name}}, where page name is the name of the page. Note, that any space characters or underscores in the name should be replaced by [_ ] — that is: 'open square bracket', 'underscore', 'space', 'close square bracket'. This is because the links are found by a string search of the text of pages. In wiki format names can be written with either space or underscore, and for many pages both form occur.
As an example, {{LinksTo|Getting[_ ]Help}} gives