Last modified: 2009-09-21 16:58:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11367 - Update self-transclude on preview
Update self-transclude on preview
Status: RESOLVED DUPLICATE of bug 5278
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-09-16 19:56 UTC by Carl Fürstenberg
Modified: 2009-09-21 16:58 UTC (History)
4 users (show)

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


Description Carl Fürstenberg 2007-09-16 19:56:00 UTC
When, for example, previewing a template, that has it self transcluded (for documentation procedure for example), the transcuded data is the old data, not the current edited data. I propose that the edited data is to be used instead of the stored data.
Comment 1 Brion Vibber 2007-09-17 14:09:04 UTC
Self-transcluding is forbidden; you should only get a link to begin with.
Comment 2 Platonides 2007-09-17 14:29:40 UTC
Nope. See
First autotransclusion is via another template. The second one directly on the same page.
Comment 3 Daniel Kinzler 2007-09-18 13:29:10 UTC
@brion: self-transclusion is allowed when the template page itself is viewed. it makes sens as a usage example in a <noinclude> section. makeing this work in preview would be nice and consistent, but tricky, i suppose.
Comment 4 itaj sherman 2007-12-08 02:08:50 UTC
For me the problem occures not only in preview but also after saving.

1) I have a template with text: <includeonly>inc1111</includeonly><noinclude>self-transc={{:{{FULLPAGENAME}}}}</noinclude>
2) I edit change to: <includeonly>inc2222</includeonly><noinclude>self-transc={{:{{FULLPAGENAME}}}}</noinclude>
3) I save, it shows: self-transc=inc1111
4) After purge: self-transc=inc2222

This is a real nuisance when editing templates. Most of them have self-transclusions as examples of how to use, and I always want to see that my change works well with these examples - so I was confused to see that my change didn't show, and thought I did it wrong.
Comment 5 Alexandre Emsenhuber [IAlex] 2009-09-21 16:58:24 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.