Last modified: 2014-01-31 15:06:52 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 T57525, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55525 - Transcluded edit section links direct to wrong page title
Transcluded edit section links direct to wrong page title
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 60207 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-09 21:16 UTC by Yair Rand
Modified: 2014-01-31 15:06 UTC (History)
6 users (show)

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


Attachments

Description Yair Rand 2013-10-09 21:16:46 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.
Comment 1 Andre Klapper 2013-10-10 12:53:59 UTC
Thanks for taking the time to report this!

Is there a testcase/example where this can be seen?
Comment 2 Yair Rand 2013-10-10 15:16:18 UTC
(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
Comment 3 Gerrit Notification Bot 2013-10-10 16:03:17 UTC
Change 89011 had a related patch set uploaded by Anomie:
Use a child frame in frame:expandTemplate

https://gerrit.wikimedia.org/r/89011
Comment 4 Brad Jorsch 2014-01-19 02:24:21 UTC
*** Bug 60207 has been marked as a duplicate of this bug. ***
Comment 5 Gerrit Notification Bot 2014-01-30 22:51:28 UTC
Change 89011 merged by jenkins-bot:
Use a child frame in frame:expandTemplate

https://gerrit.wikimedia.org/r/89011
Comment 6 Brad Jorsch 2014-01-31 15:06:52 UTC
Should be deployed to WMF wikis with 1.23wmf13, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.

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


Navigation
Links