daniel added a comment.

  In T231276#5458596 <https://phabricator.wikimedia.org/T231276#5458596>, @Yann 
wrote:
  
  > The file is a big file (708.4 MB) from 
https://archive.org/details/20190830_20190830_1349
  > This may partly explain that (time out?).
  
  That seems unlikely. Looking at the code in the PageArchive class, files are 
restored first, page revisions are handled after that. A timeout would just 
abort the process, not lead to a new ID being assigned.
  
  The relevant line of code in PageArchive is this one:
  
    $newid = $article->insertOn( $dbw, $latestRestorableRow->ar_page_id );
  
  The code for restoring the page ID is from 2016, see T28123: Special:Undelete 
doesn't use ar_page_id <https://phabricator.wikimedia.org/T28123>. This should 
"usually" work. But I haven't checked that it does. Maybe it's broken somehow, 
and every undelete changes the page ID again? Needs investigation, because if 
that was true, it would greatly aggravate the effect of the MediaInfoID problem.

TASK DETAIL
  https://phabricator.wikimedia.org/T231276

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: daniel, Pablo-WMDE, Urbanecm, Zoranzoki21, Yann, WMDE-leszek, 
Lydia_Pintscher, Cparle, Mholloway, Addshore, hashar, ArielGlenn, 
Lucas_Werkmeister_WMDE, Liuxinyu970226, Aklapper, zeljkofilipin, Hook696, 
Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, alaa_wmde, 
joker88john, DannyS712, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, 
Ramsey-WMF, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, 
Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, 
Maathavan, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Ricordisamoa, 
Jdforrester-WMF, Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to