Page MenuHomePhabricator

Prev parameter does not show up for second subpage link of NS:0 using <pages header=1>
Closed, ResolvedPublic


Bengali Wikisource uses Module:Header template to generate number of parameters like author(s), translator(s), name of the edition, current chapter, previous page and next page etc. if they are not manually provided in <pages header=1/> tag.

For second subpage link of a NS:0 using the same tag does not display the previous page parameter (i.e. the link for the first subpage) even though they are present in the Table of Content of that page. This is not happening for any other subpages of NS:0 which are faithfully replicating all the prev and next parameters as they are from TOC.

See a second subpage link for example and the corresponding TOC here of the book

The ticket is reproduced as suggested at T285610#7182040

Event Timeline

Change 704564 had a related patch set uploaded (by Tpt; author: Tpt):

[mediawiki/extensions/ProofreadPage@master] Build prev/next link only from the TOC

Bodhisattwa assigned this task to Tpt.

Change 704564 merged by jenkins-bot:

[mediawiki/extensions/ProofreadPage@master] Build prev/next link only from the TOC