Page MenuHomePhabricator

Create automatic forward/back links on subpages
Closed, DeclinedPublic

Description

Create automatic forward/back links on subpages, possibly at top and bottom of
pages

(separating T17073 into smaller pieces)

Details

Reference
bz54231

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:55 AM
bzimport set Reference to bz54231.
bzimport added a subscriber: Unknown Object (MLST).
MJL added a subscriber: MJL.Apr 7 2019, 3:51 AM
Krinkle updated the task description. (Show Details)Apr 7 2019, 4:06 PM
Krinkle removed a subscriber: wikibugs-l-list.
Krinkle closed this task as Declined.Apr 7 2019, 4:21 PM

As a task for MediaWiki core this doesn't appear to be actionable as there is no concept of sequentially-associated sibling pages. The only association there is is between subject and talk page, and between child and parent. Those concepts have built-in magic words that templates can use to automatically link from one to the other.

  • {{SUBJECTPAGENAME}}, {{TALKPAGENAME}}
  • {{FULLPAGENAME}}, {{ROOTPAGENAME}}, {{SUBPAGENAME}}, {{#titleparts:}}
  • {{Special:PrefixIndex/{{FULLPAGENAME}}/}}

See also https://www.mediawiki.org/wiki/Help:Magic_words.

Other kinds of associations could be introduced in an extension, at which point that extension could expose a magic word for this purpose.

Alternatively, the list of associated pages could be declared in a template or Lua module, which a function to find the current, previous, and next one accordingly, which seems to be what wikis are doing currently.