Page MenuHomePhabricator

Special:Whatlinkshere does not show links in <ref>
Closed, ResolvedPublic

Description

Author: le.korrigan

Description:
When a link is included in a <ref>, the originating article is not included in
the backlinks of the destination article. This is especially problematic on
fr.wikipedia as pages in the Référence: namespace ought to show articles linking
to them.

Have a loook at :

http://fr.wikipedia.org/wiki/Special:Whatlinkshere/Référence:Bulk_Carrier_Register

Touching pages or purging cache does not seem to have any effect.


Version: unspecified
Severity: normal
URL: http://fr.wikipedia.org/wiki/Utilisateur:Korrigan/Brouillon2

Details

Reference
bz5042

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:08 PM
bzimport added a project: Cite.
bzimport set Reference to bz5042.
bzimport added a subscriber: Unknown Object (MLST).

Confirmed.

Most likely the extension's parser instance isn't passing links
back up to the parent parser.

extension/Cite/Cite.php had been using its own Parser instance due
to some prior bugs with extension handling and the unique index.
(Avar is unable provide details of this.)

These bugs appear to no longer be present, as far as I can tell.
But who knows, with no bug report and no test case.

I've changed it to make use of the calling Parser instance, and it
now saves the links properly where one might expect.