Last modified: 2014-01-31 15:06:52 UTC
When using Lua to transclude a wiki page using frame:expandTemplate{}, the edit section links in any transcluded headers direct to the page being directly viewed instead of the page originally containing the headers, resulting in either a "Cannot find section" error or going to the wrong section if clicked, depending on whether the viewed page has in itself a section with that number. The edit section link seems to be otherwise correctly formatted, even including the correct section number, but the page target (the title= parameter of the link) is incorrect.
Thanks for taking the time to report this! Is there a testcase/example where this can be seen?
(In reply to comment #1) > Is there a testcase/example where this can be seen? https://www.wikidata.org/wiki/User:Yair_rand/International_Project_Chat
Change 89011 had a related patch set uploaded by Anomie: Use a child frame in frame:expandTemplate https://gerrit.wikimedia.org/r/89011
*** Bug 60207 has been marked as a duplicate of this bug. ***
Change 89011 merged by jenkins-bot: Use a child frame in frame:expandTemplate https://gerrit.wikimedia.org/r/89011
Should be deployed to WMF wikis with 1.23wmf13, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.