Meta | Commons | Wikibooks | Wikiquote | Wikisource | Wiktionary | Wikivoyage | Wikidata | Deutsch | Français | Nederlands
This message on this site, depending on the user-specified interface language:
• en (English):
The following pages link to $2
Pages in the MediaWiki namespace regarding this message
|
|
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Show the "Transclusion count" link for subpages of User:UBX (which are de facto templates - userboxes).
Updated code is in User:ProcrastinatingReader/sandbox3. I can't test it, so can't be sure it works. Basically just adds:
|{{#ifeq:{{ROOTPAGENAME}}|UBX|2|999}}
explanation: adds userspace 2 to accepted list if the rootpagename is UBX, otherwise uses '999' as a random invalid namespace (not 100% sure that part is required, verses an empty string). ProcrastinatingReader ( talk) 01:42, 22 September 2020 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The "Show redirects only" link was removed this summer since the tool had stopped functioning. It turns out that it's still possible to only show redirects, but that it is so non-obvious that no normal user could be expected to figure it out.
I want to suggest that we implement Ahecht's proposed solution from a few years back and add the button in again on the form:
<span class="plainlinks">[{{fullurl:Special:WhatLinksHere/{{FULLPAGENAMEE:$1}}|hidetrans=1&hidelinks=1}} Show redirects only]</span>
– Thjarkur (talk) 20:24, 9 October 2020 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I created the tool https://linkcount.toolforge.org to get the number of wikilinks, redirects, transclusion, file links (if applicable), and category links (if applicable) for a page. The tool also covers the usage of https://templatecount.toolforge.org, so it makes sense to remove it. The tool should be added using the code:
<div class="plainlinks">External tool: [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:$1}} Link count]</div>
– BrandonXLF ( talk) 23:10, 8 March 2021 (UTC) Code edited to include urlencode. – BrandonXLF ( talk) 14:04, 10 March 2021 (UTC)
$1
doesn't seem to include the namespace prefix. So it should probably be this way<div class="plainlinks">External tool: [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:$2}} Link count]</div>
{{PAGENAMEE}}
was stripping the prefix.
Nardog (
talk)
13:42, 12 March 2021 (UTC)<div class="plainlinks">External tool: [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:$1}} Link count]</div>
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I have undone this change, as I feel there should be some measure of discussion before making such a dramatic (and visually garish) change. Primefac ( talk) 16:36, 19 March 2021 (UTC)
@ Xaosflux: Can we restore the link now? Perhaps like:
<div class="hlist inline">External tools: * [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:$1}} Link count] * [//templatecount.toolforge.org/index.php?lang=en&namespace={{NAMESPACENUMBER:$1}}&name={{PAGENAMEE:$1}} Transclusion count] </div>
Nardog ( talk) 12:25, 25 March 2021 (UTC)
You are invited to join the discussion at
Wikipedia:Village pump (proposals) § Switch to BrandonXLF's link count tool and remove Jarry1250's tool from Special:WhatLinksHere.
🐶 EpicPupper (he/him |
talk)
04:16, 13 February 2022 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change
<div class="hlist inline">External tools: * [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:{{{1|$1}}}}} Link count] * [//templatecount.toolforge.org/index.php?lang=en&namespace={{NAMESPACENUMBER:{{{1|$1}}}}}&name={{PAGENAMEE:{{{1|$1}}}}} Transclusion count] </div>
to
<div class="hlist inline">External tools: * [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:{{{1|$1}}}}} Link count] * [//templatecount.toolforge.org/index.php?lang=en&namespace={{NAMESPACENUMBER:{{{1|$1}}}}}&name={{PAGENAMEE:{{{1|$1}}}}} Transclusion count] * [//wlh.toolforge.org/pages/{{PAGENAMEE:{{{1|$1}}}}}?ns={{NAMESPACENUMBER:{{{1|$1}}}}} Sorted list] </div>
Hello community,
EGardner (WMF) ( talk · contribs), JKieserman (WMF) ( talk · contribs) and I have been working together on an external tool to be added to MediaWiki:Linkshere and thus included on all Special:WhatLinksHere pages on English Wikipedia. This tool, hosted on Toolforge at, https://wlh.toolforge.org/, provides a sortable list of backlinks (redirects and indirect backlinks through redirects are coming soon) sorted by default in alphabetical order. This has been a requested feature of MediaWiki core since 2005 and a frequently top requested item in the Community WishList Survey. We decided to implement this as an external tool instead of patch to MediaWiki core because there are some concerns about performance implications for well-linked pages on larger wikis. Using toolforge mitigates this risk by allowing us to roll out this tool one wiki at a time targeting the toolforge replica of the wiki’s database while monitoring the performance for slow queries. We’re pleased to report that so far, the tool seems performant. For instance, the DB queries for https://wlh.toolforge.org/Philosophy finish in less than 0.5 seconds, and the front-end page loads in about 1 second.
We hope the community will accept the proposal to include this as an external tool titled "Sorted list" on the Special:WhatLinksHere pages alongside the other tools: "Link count," and "Transclusion count." We are also eager to receive your feedback and contributions to improve the tool. The phabricator board for this tool is at phab:project/profile/6307/. A working example of this tool embedded in a Special:WhatLinksHere page can be seen on Beta-Cluster.
Thanks for your consideration! SDunlap-WMF ( talk) 19:19, 19 December 2022 (UTC)
After
this edit, there is an unwanted space between the open parenthesis and the word "link". I think it could be fixed by moving the open parenthesis to just before the opening bracket in the first link: * ([
Pinging
JPxG.~ –
Jonesey95 (
talk)
16:07, 4 January 2024 (UTC)
Meta | Commons | Wikibooks | Wikiquote | Wikisource | Wiktionary | Wikivoyage | Wikidata | Deutsch | Français | Nederlands
This message on this site, depending on the user-specified interface language:
• en (English):
The following pages link to $2
Pages in the MediaWiki namespace regarding this message
|
|
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Show the "Transclusion count" link for subpages of User:UBX (which are de facto templates - userboxes).
Updated code is in User:ProcrastinatingReader/sandbox3. I can't test it, so can't be sure it works. Basically just adds:
|{{#ifeq:{{ROOTPAGENAME}}|UBX|2|999}}
explanation: adds userspace 2 to accepted list if the rootpagename is UBX, otherwise uses '999' as a random invalid namespace (not 100% sure that part is required, verses an empty string). ProcrastinatingReader ( talk) 01:42, 22 September 2020 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The "Show redirects only" link was removed this summer since the tool had stopped functioning. It turns out that it's still possible to only show redirects, but that it is so non-obvious that no normal user could be expected to figure it out.
I want to suggest that we implement Ahecht's proposed solution from a few years back and add the button in again on the form:
<span class="plainlinks">[{{fullurl:Special:WhatLinksHere/{{FULLPAGENAMEE:$1}}|hidetrans=1&hidelinks=1}} Show redirects only]</span>
– Thjarkur (talk) 20:24, 9 October 2020 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I created the tool https://linkcount.toolforge.org to get the number of wikilinks, redirects, transclusion, file links (if applicable), and category links (if applicable) for a page. The tool also covers the usage of https://templatecount.toolforge.org, so it makes sense to remove it. The tool should be added using the code:
<div class="plainlinks">External tool: [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:$1}} Link count]</div>
– BrandonXLF ( talk) 23:10, 8 March 2021 (UTC) Code edited to include urlencode. – BrandonXLF ( talk) 14:04, 10 March 2021 (UTC)
$1
doesn't seem to include the namespace prefix. So it should probably be this way<div class="plainlinks">External tool: [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:$2}} Link count]</div>
{{PAGENAMEE}}
was stripping the prefix.
Nardog (
talk)
13:42, 12 March 2021 (UTC)<div class="plainlinks">External tool: [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:$1}} Link count]</div>
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I have undone this change, as I feel there should be some measure of discussion before making such a dramatic (and visually garish) change. Primefac ( talk) 16:36, 19 March 2021 (UTC)
@ Xaosflux: Can we restore the link now? Perhaps like:
<div class="hlist inline">External tools: * [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:$1}} Link count] * [//templatecount.toolforge.org/index.php?lang=en&namespace={{NAMESPACENUMBER:$1}}&name={{PAGENAMEE:$1}} Transclusion count] </div>
Nardog ( talk) 12:25, 25 March 2021 (UTC)
You are invited to join the discussion at
Wikipedia:Village pump (proposals) § Switch to BrandonXLF's link count tool and remove Jarry1250's tool from Special:WhatLinksHere.
🐶 EpicPupper (he/him |
talk)
04:16, 13 February 2022 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change
<div class="hlist inline">External tools: * [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:{{{1|$1}}}}} Link count] * [//templatecount.toolforge.org/index.php?lang=en&namespace={{NAMESPACENUMBER:{{{1|$1}}}}}&name={{PAGENAMEE:{{{1|$1}}}}} Transclusion count] </div>
to
<div class="hlist inline">External tools: * [//linkcount.toolforge.org/?project=en.wikipedia.org&page={{urlencode:{{{1|$1}}}}} Link count] * [//templatecount.toolforge.org/index.php?lang=en&namespace={{NAMESPACENUMBER:{{{1|$1}}}}}&name={{PAGENAMEE:{{{1|$1}}}}} Transclusion count] * [//wlh.toolforge.org/pages/{{PAGENAMEE:{{{1|$1}}}}}?ns={{NAMESPACENUMBER:{{{1|$1}}}}} Sorted list] </div>
Hello community,
EGardner (WMF) ( talk · contribs), JKieserman (WMF) ( talk · contribs) and I have been working together on an external tool to be added to MediaWiki:Linkshere and thus included on all Special:WhatLinksHere pages on English Wikipedia. This tool, hosted on Toolforge at, https://wlh.toolforge.org/, provides a sortable list of backlinks (redirects and indirect backlinks through redirects are coming soon) sorted by default in alphabetical order. This has been a requested feature of MediaWiki core since 2005 and a frequently top requested item in the Community WishList Survey. We decided to implement this as an external tool instead of patch to MediaWiki core because there are some concerns about performance implications for well-linked pages on larger wikis. Using toolforge mitigates this risk by allowing us to roll out this tool one wiki at a time targeting the toolforge replica of the wiki’s database while monitoring the performance for slow queries. We’re pleased to report that so far, the tool seems performant. For instance, the DB queries for https://wlh.toolforge.org/Philosophy finish in less than 0.5 seconds, and the front-end page loads in about 1 second.
We hope the community will accept the proposal to include this as an external tool titled "Sorted list" on the Special:WhatLinksHere pages alongside the other tools: "Link count," and "Transclusion count." We are also eager to receive your feedback and contributions to improve the tool. The phabricator board for this tool is at phab:project/profile/6307/. A working example of this tool embedded in a Special:WhatLinksHere page can be seen on Beta-Cluster.
Thanks for your consideration! SDunlap-WMF ( talk) 19:19, 19 December 2022 (UTC)
After
this edit, there is an unwanted space between the open parenthesis and the word "link". I think it could be fixed by moving the open parenthesis to just before the opening bracket in the first link: * ([
Pinging
JPxG.~ –
Jonesey95 (
talk)
16:07, 4 January 2024 (UTC)