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

Dan Collins <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8792|0                           |1
        is obsolete|                            |

--- Comment #7 from Dan Collins <[email protected]> 2011-07-18 00:52:31 UTC 
---
Created attachment 8795
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8795
Updated patch

There was a syntax error in that maintenance script, and apparently my !== was
too specific for PHP to handle. I also added the necessary code to a
deleteIfUnused() function in Category.php, although the maintenance script
doesn't use it since it needs the --dry-run functionality. This script is
tested against r92419 with categories containing only pages, though the logic
is obviously the same for subcats and files. Also tested with both extant and
non-extant category description pages. Only categories with no members and no
description page are removed from the database, and there is no bad behavior
when viewing old revisions or anything like that.

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