Last modified: 2010-05-15 15:48:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9291 - section edit links form multiply included template point to calling page
section edit links form multiply included template point to calling page
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-03-14 21:26 UTC by Steve Sanbeg
Modified: 2010-05-15 15:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Steve Sanbeg 2007-03-14 21:26:52 UTC
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?
Comment 1 Steve Sanbeg 2007-03-14 21:38:08 UTC
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.  
Comment 2 Brion Vibber 2007-03-15 00:38:49 UTC
Can you provide a link to a page exhibiting the problem, and/or a sample page text?
Comment 3 Steve Sanbeg 2007-03-29 19:34:46 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.