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

       Web browser: ---
             Bug #: 35123
           Summary: Need help fixing failed move
           Product: Wikimedia
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


The following page is maintained by a bot[1]:

https://commons.wikimedia.org/wiki/Commons:Auto-protected_files/wikipedia/zh

As usual with these kind of pages that tend to get a huge history, I
periodically move them to a subpage (/Archive_1, /Archive_2, ..) so that next
time the bot edits a new page is created. Usually directly after the move I
also delete such subpage, as theres no need to keep it live.

For this Commons:Auto-protected_files/wikipedia/zh this would've been the first
clean up. I accidentally deleted it directly instead of moving it. So the plan
was to undelete it and then move it. However during undeletion (POST request to
Special:Undelete) I got the following:

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 `revision`
(rev_id,rev_page,rev_text_id,rev_comment,rev_minor_edit,rev_user,rev_user_text,rev_timestamp,rev_deleted,rev_len,rev_parent_id,rev_sha1)
VALUES ('61103209','18649456','60077341','[[COM:AES|←]]Created page with
\'-\'','0','607047','Krinkle','20111016202912','0','1','0','')
Function: Revision::insertOn
Error: 1062 Duplicate entry '18649456-61103209' for key 'PRIMARY' (10.0.6.41)





[1] Every 10 minutes the bot checks which images are used on the zh.wikipedia
Main Page, and lists them on that commons page, which as cascading protection
enabled. To basically forward the cascading protection to Commons since most
files there are embedded from Commons, and cascading protection only applies
locally (which is usually good, but in case of Main pages we want to forward it
as well, but that's feature request, other bug)

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