Log::info( "removing orphanized pages from list" );
try {
$wiki->login()->edit( [
'title' => $TITLE_SOURCE,
'text' => $wikitext->getWikitext(),
'summary' => $LIST_SUMMARY,
'basetimestamp' => $list_timestamp,
'bot' => 1,
] );
} catch( ProtectedPageException $e ) {
Log::warn( "can't update list because of protection" );
} catch( EditConflictException $e ) {
Log::warn( "ARGHHHH! Is someone editing my list? MY PRECIOUSss LIST!?!? WHAAT?? I will find you, and I will rewrite your edit. Damn human beings... asd." );