Last modified: 2014-04-15 18:39:48 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 T65944, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63944 - "Show preview" doesn't handle the case of a page transcluding itself
"Show preview" doesn't handle the case of a page transcluding itself
Status: RESOLVED DUPLICATE of bug 5278
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-15 17:06 UTC by Jackmcbarn
Modified: 2014-04-15 18:39 UTC (History)
1 user (show)

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


Attachments

Description Jackmcbarn 2014-04-15 17:06:43 UTC
When previewing a page, if the page transcludes itself in some way, the version of the page from the database is used for this transclusion rather than the version of the page being previewed. Example: Create a page called Template:Foo with this content:
<noinclude>{{Foo|one}}</noinclude>
<includeonly>{{{1}}} two</includeonly>
Save it, then reopen the edit window and change it to the following:
<noinclude>{{Foo|three}}</noinclude>
<includeonly>{{{1}}} four</includeonly>
Upon pressing "Show preview", the expected result is to see "three four", but instead, "three two" is seen.

(Related: If Extension:TemplateSandbox is used, and the template's own name is entered as the page to preview, the result is "one four", although "three four" is still expected.)
Comment 1 Brad Jorsch 2014-04-15 18:39:48 UTC

*** This bug has been marked as a duplicate of bug 5278 ***

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


Navigation
Links