When a sysop tried to protect [[de:Kadhi (Gericht)]] for creation, a database error occured:
A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: INSERT INTO page_restrictions (pr_page,pr_type,pr_level,pr_cascade,pr_expiry) VALUES ('0','aft','aft-noone','0','infinity') Function: DatabaseBase::insert Error: 1062 Duplicate entry '0-aft' for key 'PRIMARY' (10.64.32.28)
For me this seems not to be an issue with upgrading, but with AFT. If AFT protections work on page ids it doesn't make sense to protect missing articles anyway.