Jump to content

Help:What links here/demo rdcheck

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Cpiral (talk | contribs) at 10:29, 6 December 2015 (Links to sections). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

When using What links here from Help:What links here, and selecting Show redirects only, it generates a report with rdcheck.py that has many features. What are they?

The Help:What links here#Redirects section says to hide links and hide transclusions in order to show redirects only. It says that that list of redirects show double redirects. Does the rdcheck.py report show double redirects?

This subpage is an attempt to generate all interesting content on the rdcheck report. That way its features can be shown and documented here or at Help:What links here#Redirects, or in its own section.

The Show redirects only report from rdcheck.py shows redirects whose purpose is to link to a section.[1]

The WLH procedure to "show redirects only" hides links. Rdcheck shows only redirects. How do we then list navigable links to content of a section?[2] The most efficient way is to go to rdcheck, click on each of the redirects to the section of interest, which takes you directly to the redirect page on Wikipedia, and run WLH on them.

Rdcheck.py is especially notable for reporting redirects to sections. This subpage intends to demonstrate an example report.[3]

Setup

All Help:What links here sections should show up, except See also is purposefully omitted. Here are their redirects:

  1. Overview Help:What links here/Rd1
  2. Limitations Help:What links here/Rd2
  3. Redirects Help:What links here/Rd3
  4. Transclusion Help:What links here/R4
  5. Number of links Help:What links here/Rd5
  6. Finding external links to a page Help:What links here/Rd6
  7. Extensions and programming Help:What links here/Rd7
  8. Examples Help:What links here/Rd8

Double redirects

Help:What links here/double rdcheck is a redirect to WP:WRH. Therefore it is a double redirect (from a subpage).

It also links to even numbered sections, so rdcheck should report yet another redirect linking to a section. Which title will it be? WRH? double rdcheck? WLH/double rdcheck? Let's see.

Notes and references

  1. ^ Redirects that link to a section are part of a valiant effort to enable changing a section heading without breaking a link to the name. That effort also must ask editors who want to link to a section to find, read and understand to link to a single redirect page instead. Then that redirect page links to the section.
  2. ^ This important question is the ultimate answer to the many possible points of failure of the proceeding, at some point, to direct editors who would link to a section to check the wikitext for the recommended redirect title.
  3. ^ See {{linksto}} to find all the wikilinks to a section name: heading, anchor, or id. {{tl:Linksto}} plus rdcheck can together find all links to a section. That way the name can be changed without fear of breaking a link.