Last modified: 2006-12-30 19:49:47 UTC
Title::loadRestrictions will sometimes set mRestrictions to array('') and sometimes not set it at all when there's no restriction level set for an action in page_restriction. brion suggested it should always be array() for these cases. Title::isSemiProtected wasn't working right for the cases where it mRestrictions was set to array() or not set. Since it'll be either array() or an array containing restriction levels now, it's an easy fix.
Created attachment 2988 [details] Fixes.
Applied in r18677, with minor modifications.