Page MenuHomePhabricator

Incompatible with 1.35, support for actor/actor migration needed
Open, Needs TriagePublic

Description

MediaWiki: 1.35.0
PHP: 7.4.12 (cgi-fcgi)
MySQL: 5.7.28-log
ICU: 57.1

DynamicPageList2/third-party does not support actor/actor migration which causes failures on the front end in MediaWiki and errors in the database logs. Please add support for actor/actor migration (the same has been requested in DPL3 as the same issues are present in DPL3 and the same groups are marked as maintaining both extensions.

Please see:
https://phabricator.miraheze.org/T6402
https://gitlab.com/hydrawiki/extensions/DynamicPageList/-/issues/4867
https://gitlab.com/hydrawiki/extensions/DynamicPageList/-/issues/4864
https://gitlab.com/hydrawiki/extensions/DynamicPageList/-/issues/4848 (opened a year ago)

Errors in the database logs when using order and ordermethod:

Fri Nov 13 8:42:15 UTC 2020	ps510641	db_dbname_	Error 1054 from Wikimedia\Rdbms\DBConnRef::query, Unknown column 'rev_user' in 'field list' (mysql.myhostname.com) SELECT  DISTINCT `wiki_page`.page_namespace AS page_namespace,`wiki_page`.page_title AS page_title,`wiki_page`.page_id AS page_id, pl.pl_title AS sel_title, pl.pl_namespace AS sel_ns, rev_user, rev_user_text, rev_comment, rev_timestamp FROM `wiki_revision` AS rev, `wiki_pagelinks` AS pl, `wiki_page` INNER JOIN `wiki_categorylinks` AS cl0 ON `wiki_page`.page_id=cl0.cl_from AND (cl0.cl_to='Events')  WHERE 1=1  AND `wiki_page`.page_is_redirect=0 AND `wiki_page`.page_id=rev.rev_page AND rev.rev_timestamp=( SELECT MIN(rev_aux.rev_timestamp) FROM `wiki_revision` AS rev_aux WHERE rev_aux.rev_page=rev.rev_page ) AND `wiki_page`.page_id=pl.pl_from AND ( (pl.pl_namespace=0 AND pl.pl_title LIKE 'My_Page')) ORDER BY rev_timestamp ASC LIMIT 500 OFFSET 0  mysql.my-site.com
#0 /home/dh_dsimbc/my-site.com/public/includes/libs/rdbms/database/Database.php(1658): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#1 /home/dh_dsimbc/my-site.com/public/includes/libs/rdbms/database/Database.php(1227): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#2 /home/dh_dsimbc/my-site.com/public/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->query(string, string, integer)
#3 /home/dh_dsimbc/my-site.com/public/includes/libs/rdbms/database/DBConnRef.php(286): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#4 /home/dh_dsimbc/my-site.com/public/extensions/DynamicPageList/DPLMain.php(2862): Wikimedia\Rdbms\DBConnRef->query(string)
#5 /home/dh_dsimbc/my-site.com/public/extensions/DynamicPageList/DPLSetup.php(1428): DPLMain::dynamicPageList(string, array, Parser, array, string)
#6 /home/dh_dsimbc/my-site.com/public/extensions/DynamicPageList/DPLSetup.php(1409): ExtDynamicPageList::executeTag(string, array, Parser)
#7 /home/dh_dsimbc/my-site.com/public/includes/parser/Parser.php(3922): ExtDynamicPageList::dplTag(string, array, Parser, PPFrame_Hash)
#8 /home/dh_dsimbc/my-site.com/public/includes/parser/PPFrame_Hash.php(330): Parser->extensionSubstitution(array, PPFrame_Hash)
#9 /home/dh_dsimbc/my-site.com/public/includes/parser/Parser.php(2887): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
#10 /home/dh_dsimbc/my-site.com/public/includes/parser/Parser.php(1556): Parser->replaceVariables(string)
#11 /home/dh_dsimbc/my-site.com/public/includes/parser/Parser.php(651): Parser->internalParse(string)
#12 /home/dh_dsimbc/my-site.com/public/includes/content/WikitextContent.php(374): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
#13 /home/dh_dsimbc/my-site.com/public/includes/content/AbstractContent.php(590): WikitextContent->fillParserOutput(Title, NULL, ParserOptions, boolean, ParserOutput)
#14 /home/dh_dsimbc/my-site.com/public/includes/EditPage.php(4273): AbstractContent->getParserOutput(Title, NULL, ParserOptions)
#15 /home/dh_dsimbc/my-site.com/public/includes/EditPage.php(4178): EditPage->doPreviewParse(WikitextContent)
#16 /home/dh_dsimbc/my-site.com/public/includes/EditPage.php(2956): EditPage->getPreviewText()
#17 /home/dh_dsimbc/my-site.com/public/includes/EditPage.php(701): EditPage->showEditForm()
#18 /home/dh_dsimbc/my-site.com/public/includes/actions/EditAction.php(71): EditPage->edit()
#19 /home/dh_dsimbc/my-site.com/public/includes/actions/SubmitAction.php(38): EditAction->show()
#20 /home/dh_dsimbc/my-site.com/public/includes/MediaWiki.php(527): SubmitAction->show()
#21 /home/dh_dsimbc/my-site.com/public/includes/MediaWiki.php(313): MediaWiki->performAction(Article, Title)
#22 /home/dh_dsimbc/my-site.com/public/includes/MediaWiki.php(940): MediaWiki->performRequest()
#23 /home/dh_dsimbc/my-site.com/public/includes/MediaWiki.php(543): MediaWiki->main()
#24 /home/dh_dsimbc/my-site.com/public/index.php(53): MediaWiki->run()
#25 /home/dh_dsimbc/my-site.com/public/index.php(46): wfIndexMain()
#26 {main}