Page MenuHomePhabricator

section edit links form multiply included template point to calling page
Closed, ResolvedPublic

Description

Author: ssanbeg

Description:
When a template with a section is transcluded, the edit link(s) from the first
transclusion will link back to the template.

However, subsequent transclusions will link to the calling page instead. Making
as many copies of the template as you need to transclude will work around this.

I'm not sure why this would be; maybe some kind of cache issue?


Version: 1.9.x
Severity: normal
URL: http://www.mediawiki.org/wiki/User:Sanbeg/9241

Details

Reference
bz9291

Revisions and Commits

Event Timeline

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

ssanbeg wrote:

I've verifiied that labeled section transclusion doesn't have this problem.
Since that goes through the normal path to generate the links, that seems like
there may be some difference in caching.

Can you provide a link to a page exhibiting the problem, and/or a sample page text?

ssanbeg wrote:

As suspected, it was a cache issue; cached templates didn't do the normal stuff
to redirect links. Fixed in r20823

Presumably, this means the cache isn't used that frequently, and may not be
useful for LST, which seems even less likely to multiply transclude.