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

       Web browser: ---
             Bug #: 31628
           Summary: When #ifexists target page is created/deleted, does
                    not update links tables
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Parser
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Consider a page "SourcePage" containing wikitext like this:

    {{#ifexist:TargetPage|Exists.[[Category:Foo]]|Does not
exist.[[Category:Bar]]}}

Assume that when the above is first added to SourcePage, TargetPage does not
exist. SourcePage is therefore categorized in Category:Bar.

Then create TargetPage. SourcePage is correctly purged, showing "Exists" and
showing Category:Foo at the bottom of the page. But if you actually look at the
two categories, SourcePage remains in Category:Bar and is not found in
Category:Foo.

This same thing happens with image links (the list at the bottom of the image
page is wrong) and template transclusion links (the list in the template's
Special:WhatLinksHere output is wrong). I haven't tested external links,
interwiki links, language links, or the like, but they are probably wrong too.

A null edit to SourcePage will, of course, fix all these problems, but it
shouldn't be necessary.

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

Reply via email to