https://bugzilla.wikimedia.org/show_bug.cgi?id=63944

            Bug ID: 63944
           Summary: "Show preview" doesn't handle the case of a page
                    transcluding itself
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Page editing
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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.)

-- 
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

Reply via email to