Page MenuHomePhabricator

Cannot delete pages in MW 1.35: Unknown column 'rev_text_id' in 'field list'
Closed, DuplicatePublic

Description

The extension can't delete pages in mediawiki 1.35. I made clean installation of mw 1.35, but the extension produced this mistake:

[X6e-iHdCgXPzhVfh0ggh7wAAAQ4] /index.php?title=0444-5&action=delete_page_permanently Wikimedia\Rdbms\DBQueryError from line 1699 of /home/huzhusjy/math1solutions.ru/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Error 1054: Unknown column 'rev_text_id' in 'field list' (localhost)
Function: Wikimedia\Rdbms\Database::select
Query: SELECT rev_text_id FROM `revision` WHERE rev_page=1270

Backtrace:

#0 /home/huzhusjy/math1solutions.ru/includes/libs/rdbms/database/Database.php(1683): Wikimedia\Rdbms\Database->getQueryException(string, integer, string, string)
#1 /home/huzhusjy/math1solutions.ru/includes/libs/rdbms/database/Database.php(1658): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#2 /home/huzhusjy/math1solutions.ru/includes/libs/rdbms/database/Database.php(1227): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#3 /home/huzhusjy/math1solutions.ru/includes/libs/rdbms/database/Database.php(1907): Wikimedia\Rdbms\Database->query(string, string, integer)
#4 /home/huzhusjy/math1solutions.ru/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->select(string, string, string)
#5 /home/huzhusjy/math1solutions.ru/includes/libs/rdbms/database/DBConnRef.php(313): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#6 /home/huzhusjy/math1solutions.ru/extensions/DeletePagesForGood/ActionDeletePagePermanently.php(104): Wikimedia\Rdbms\DBConnRef->select(string, string, string)
#7 /home/huzhusjy/math1solutions.ru/extensions/DeletePagesForGood/ActionDeletePagePermanently.php(55): ActionDeletePagePermanently->deletePermanently(Title)
#8 /home/huzhusjy/math1solutions.ru/includes/htmlform/HTMLForm.php(707): ActionDeletePagePermanently->onSubmit(array, OOUIHTMLForm)
#9 /home/huzhusjy/math1solutions.ru/includes/htmlform/HTMLForm.php(597): HTMLForm->trySubmit()
#10 /home/huzhusjy/math1solutions.ru/includes/htmlform/HTMLForm.php(613): HTMLForm->tryAuthorizedSubmit()
#11 /home/huzhusjy/math1solutions.ru/includes/actions/FormAction.php(160): HTMLForm->show()
#12 /home/huzhusjy/math1solutions.ru/includes/MediaWiki.php(527): FormAction->show()
#13 /home/huzhusjy/math1solutions.ru/includes/MediaWiki.php(313): MediaWiki->performAction(Article, Title)
#14 /home/huzhusjy/math1solutions.ru/includes/MediaWiki.php(940): MediaWiki->performRequest()
#15 /home/huzhusjy/math1solutions.ru/includes/MediaWiki.php(543): MediaWiki->main()
#16 /home/huzhusjy/math1solutions.ru/index.php(53): MediaWiki->run()
#17 /home/huzhusjy/math1solutions.ru/index.php(46): wfIndexMain()
#18 {main}

Event Timeline

Aklapper renamed this task from Compatability DeletePagesForGood with MW 1.35 to Cannot delete pages in MW 1.35: Unknown column 'rev_text_id' in 'field list'.Nov 8 2020, 10:11 AM