[SOLVED] Bug on saving a wiki article
Posted: Tue Jun 18, 2024 5:14 am
Hi all,
I have encountered a bug while saving a change on the wiki of my user.
The message is:
I have encountered a bug while saving a change on the wiki of my user.
The message is:
Code: Select all
[a43e144c2cadcc2a6d6afeff] /index.php?title=User:Narke/Languages&action=submit Wikimedia\Rdbms\DBQueryError: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading or after adding a new extension?
Please see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading and https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:How_to_debug for more information.
Error 1146: Table 'wikidb.abuse_filter' doesn't exist
Function: MediaWiki\Extension\AbuseFilter\FilterLookup::getAllActiveFiltersInGroupFromDB
Query: SELECT af_id,af_pattern,af_user,af_user_text,af_timestamp,af_enabled,af_comments,af_public_comments,af_hidden,af_hit_count,af_throttled,af_deleted,af_actions,af_global,af_group FROM `abuse_filter` WHERE af_enabled = 1 AND af_deleted = 0 AND af_group = 'default'
Backtrace:
from /var/www/wiki.osdev.org/includes/libs/rdbms/database/Database.php(1618)
#0 /var/www/wiki.osdev.org/includes/libs/rdbms/database/Database.php(1602): Wikimedia\Rdbms\Database->getQueryException()
#1 /var/www/wiki.osdev.org/includes/libs/rdbms/database/Database.php(1576): Wikimedia\Rdbms\Database->getQueryExceptionAndLog()
#2 /var/www/wiki.osdev.org/includes/libs/rdbms/database/Database.php(952): Wikimedia\Rdbms\Database->reportQueryError()
#3 /var/www/wiki.osdev.org/includes/libs/rdbms/database/Database.php(1711): Wikimedia\Rdbms\Database->query()
#4 /var/www/wiki.osdev.org/includes/libs/rdbms/database/DBConnRef.php(103): Wikimedia\Rdbms\Database->select()
#5 /var/www/wiki.osdev.org/includes/libs/rdbms/database/DBConnRef.php(326): Wikimedia\Rdbms\DBConnRef->__call()
#6 /var/www/wiki.osdev.org/extensions/AbuseFilter/includes/FilterLookup.php(199): Wikimedia\Rdbms\DBConnRef->select()
#7 /var/www/wiki.osdev.org/extensions/AbuseFilter/includes/FilterLookup.php(165): MediaWiki\Extension\AbuseFilter\FilterLookup->getAllActiveFiltersInGroupFromDB()
#8 /var/www/wiki.osdev.org/extensions/AbuseFilter/includes/FilterRunner.php(330): MediaWiki\Extension\AbuseFilter\FilterLookup->getAllActiveFiltersInGroup()
#9 /var/www/wiki.osdev.org/extensions/AbuseFilter/includes/FilterRunner.php(220): MediaWiki\Extension\AbuseFilter\FilterRunner->checkAllFiltersInternal()
#10 /var/www/wiki.osdev.org/extensions/AbuseFilter/includes/Hooks/Handlers/FilteredActionsHandler.php(142): MediaWiki\Extension\AbuseFilter\FilterRunner->run()
#11 /var/www/wiki.osdev.org/extensions/AbuseFilter/includes/Hooks/Handlers/FilteredActionsHandler.php(88): MediaWiki\Extension\AbuseFilter\Hooks\Handlers\FilteredActionsHandler->filterEdit()
#12 /var/www/wiki.osdev.org/includes/HookContainer/HookContainer.php(160): MediaWiki\Extension\AbuseFilter\Hooks\Handlers\FilteredActionsHandler->onEditFilterMergedContent()
#13 /var/www/wiki.osdev.org/includes/HookContainer/HookRunner.php(1475): MediaWiki\HookContainer\HookContainer->run()
#14 /var/www/wiki.osdev.org/includes/editpage/Constraint/EditFilterMergedContentHookConstraint.php(106): MediaWiki\HookContainer\HookRunner->onEditFilterMergedContent()
#15 /var/www/wiki.osdev.org/includes/editpage/Constraint/EditConstraintRunner.php(88): MediaWiki\EditPage\Constraint\EditFilterMergedContentHookConstraint->checkConstraint()
#16 /var/www/wiki.osdev.org/includes/EditPage.php(2507): MediaWiki\EditPage\Constraint\EditConstraintRunner->checkConstraints()
#17 /var/www/wiki.osdev.org/includes/EditPage.php(1905): EditPage->internalAttemptSave()
#18 /var/www/wiki.osdev.org/includes/EditPage.php(722): EditPage->attemptSave()
#19 /var/www/wiki.osdev.org/includes/actions/EditAction.php(73): EditPage->edit()
#20 /var/www/wiki.osdev.org/includes/actions/SubmitAction.php(38): EditAction->show()
#21 /var/www/wiki.osdev.org/includes/MediaWiki.php(542): SubmitAction->show()
#22 /var/www/wiki.osdev.org/includes/MediaWiki.php(322): MediaWiki->performAction()
#23 /var/www/wiki.osdev.org/includes/MediaWiki.php(904): MediaWiki->performRequest()
#24 /var/www/wiki.osdev.org/includes/MediaWiki.php(562): MediaWiki->main()
#25 /var/www/wiki.osdev.org/index.php(50): MediaWiki->run()
#26 /var/www/wiki.osdev.org/index.php(46): wfIndexMain()
#27 {main}