Page MenuHomePhabricator

Use of InternalParseBeforeSanitize hook deprecated in MediaWiki 1.35
Closed, DuplicatePublic

Description

Activating extension on 1.35.0 shows error for depreciated hook used in debugger console.

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

Use of InternalParseBeforeSanitize hook (used in VariablesHooks::onInternalParseBeforeSanitize) was deprecated in MediaWiki 1.35. [Called from MediaWiki\HookContainer\HookContainer::run in /home/dh_dmlinfo/dragon-mania-legends.info/includes/HookContainer/HookContainer.php at line 131]

Backtrace:
GlobalFunctions.php line 1029 calls MWDebug::deprecated()
HookContainer.php line 316 calls wfDeprecated()
HookContainer.php line 131 calls MediaWiki\HookContainer\HookContainer->callLegacyHook()
HookRunner.php line 2219 calls MediaWiki\HookContainer\HookContainer->run()
Parser.php line 1559 calls MediaWiki\HookContainer\HookRunner->onInternalParseBeforeSanitize()
Parser.php line 651 calls Parser->internalParse()
WikitextContent.php line 374 calls Parser->parse()
AbstractContent.php line 590 calls WikitextContent->fillParserOutput()
RenderedRevision.php line 263 calls AbstractContent->getParserOutput()
RenderedRevision.php line 235 calls MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached()
RevisionRenderer.php line 215 calls MediaWiki\Revision\RenderedRevision->getSlotParserOutput()
RevisionRenderer.php line 152 calls MediaWiki\Revision\RevisionRenderer->combineSlotOutput()

  • line - calls MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}()

RenderedRevision.php line 197 calls call_user_func()
PoolWorkArticleView.php line 216 calls MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
PoolCounterWork.php line 162 calls PoolWorkArticleView->doWork()
Article.php line 810 calls PoolCounterWork->execute()
CategoryPage.php line 63 calls Article->view()
ViewAction.php line 74 calls CategoryPage->view()
MediaWiki.php line 527 calls ViewAction->show()
MediaWiki.php line 313 calls MediaWiki->performAction()
MediaWiki.php line 940 calls MediaWiki->performRequest()
MediaWiki.php line 543 calls MediaWiki->main()
index.php line 53 calls MediaWiki->run()
index.php line 46 calls wfIndexMain()