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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11291, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9291 - section edit links form multiply included template point to calling page
section edit links form multiply included template point to calling page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.9.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/User:Sa...
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links