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 22:39, 21 December 2015 (document two rdcheck messages, move a comment to H:L#Link reports). 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.

Rdcheck can report "No anchor or section". Otherwise the Show redirects only reports redirects whose purpose is to link to a section. If a particular section name is explicitly listed, then the redirect pages under it can have incoming links that will then go to that section.

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? See Help:Link § Link reports.

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

Rdcheck may report a warning — Hidden links on redirect — and an explanation These redirects have more than one link. This causes problems with WhatLinksHere since it does not determine redirects, instead listing backlinks which are also redirect pages..

This occurs, for example, when a full fledged page with many links was converted to a redirect page with markup at the top of the page, while retaining all its content with its wikilinks below that markup, like "Ardence" does.

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. ^ 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.