Author: xkernigh
Description:
Suppose page [[A]] transcludes page [[B]] (for example, with {{:B}}). In
turn, page [[B]] contains [[Category:C]]. Thus both A and B are in
category C, and the page for category C lists both A and B. That is
normal. Now (as a sysop user) delete page B. This removes the
[[Category:C]] link from A. However, the category C page continues to
list page A as being in that category, even though page A itself is not
in the category. The workaround is to edit page A.
Steps to reproduce the bug at en.wikibooks.org:
(1) I create a page at [[b:en:User:Kernigh/delete me]]. I categorise the
page into [[b:en:Category:Candidates for speedy deletion]], the SD
category.
(2) On the [[b:en:User:Kernigh/sandbox]] page, I write
{{User:Kernigh/delete me}}. Because the sandbox transcludes the "delete
me", and the "delete me" is in the SD category, the sandbox is now also
in the SD category.
(3) As sysop, delete [[b:en:User:Kernigh/delete me]]. This removes the
"delete me" page from the SD category. Also, a visit to
[[b:en:User:Kernigh/sandbox]] shows that the sandbox is not in the SD
category.
Bug: At this point, when I look in [[b:en:Category:Candidates for speedy
deletion]], the page [[b:en:User:Kernigh/sandbox]] is in the list. The
bug appears even if I open the SD category in Firefox instead of
Konqueror; the bug is at the server, not my browser cache.
Expected result: the sandbox should not be listed in the SD category,
because the sandbox itself is not in the category and contains no
category tag.
Workaround: Using action=purge does not work. However, if I edit the
sandbox, MediaWiki notices that the new version does not contain an SD
category tag, and removes the sandbox from the SD category.
(This problem appeared at en.wikibooks.org because of a reorganisation
in our C++ book. We are moving the book and all of its subpages from
[[b:en:Programming:C plus plus]] to [[b:en:C++ Programming]]. We are
also trying a new GUI version of the book. Each "C++ Programming/GUI"
page, for example [[b:en:C++ Programming/GUI/About this book/Foreword]],
transcludes another page, like [[b:en:C++ Programming/Foreword]], and
adds some extra navigation links to other parts of the book.)
(We accidentally copied some pages from the old "C plus plus" names to
the new "C++" names instead of moving them. We then decided to mark the
new copies for speedy deletion, to make room for page moves. Some of us
are not sysops, so we tagged the pages with [[b:en:Category:Candidates
for speedy deletion]]. (Actually, we used [[b:en:Template:Delete]],
which contains the category tag, but the effect is the same.) This
marked the new copies for deletion. It also accidentally marked some GUI
pages for deletion, because the GUI pages transclude the new copies and
thus the marks.)
(When we deleted the new copies, the GUI pages remained in the list at
[[b:en:Category:Candidates for speedy deletion]], even though the GUI
pages are not in the category; they do not contain the category tag
anywhere. This is a minor bug, because other than having 20-30 pages
wrongly listed on a category page, there appears to be no problem.)
Version: 1.18.x
Severity: major
URL: http://en.wikibooks.org/wiki/Category:Candidates_for_speedy_deletion