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

       Web browser: ---
            Bug ID: 49174
           Summary: Database error when trying to protect a page for
                    creation
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ArticleFeedbackv5
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

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