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

--- Comment #4 from duplicate...@googlemail.com 2011-04-30 06:01:00 UTC ---
The problem is, that updateRestriction.php only copy the page_restriction and
does not remove it from page table. That sounds like space waste.

When a wiki has never run updateRestriction.php the api shows no protection
with prop=info&siprop=protection. That is because old restrictions are only
check for pages with new protection, useless when updateRestriction.php was
run.

But the problem for this bug is, that the table page_restrictions contains two
rows for one page, one for edit and one for move, for each of that both old
protection are added

type="edit" -> new style, from table page_restrictions
type="edit" -> old style, from page.page_restrictions
type="move" -> old style, from page.page_restrictions
type="move" -> new style, from table page_restrictions
type="edit" -> old style, from page.page_restrictions
type="move" -> old style, from page.page_restrictions

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to