https://bugzilla.wikimedia.org/show_bug.cgi?id=23588
Summary: Transclusion of file or category pages may produce
unexpected results if post-expand include size limit
is exceeded
Product: MediaWiki
Version: 1.17-svn
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Normal
Component: Page rendering
AssignedTo: [email protected]
ReportedBy: [email protected]
When the post-expand include size limit is exceeded while transcluding a page,
Parser::braceSubstitution() will replace the transclusion with a link to the
page in question. However, no colon is prepended to the page name, leading to
unexpected behavior if the page being transcluded is a file or a category page
(or an interlanguage link, but I don't think there's any sensible reason to try
transcluding those).
While such pages are rarely transcluded, it does occasionally happen; in
particular, this behavior recently triggered a rather nasty bug in the
ImageAnnotator script on Commons: see
http://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&oldid=39469993#Many_megabytes_of_unwanted_downloads
Incidentally, the code also doesn't prepend the template namespace to titles
with no namespace given, which means that such links will incorrectly point to
the main namespace instead.
I have a fix for this bug that I plan to commit shortly, but I felt I should
file this bug first so that I can refer to it in the comments instead of having
to explain the issue in detail there.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l