-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined properties #15
Comments
mszabo-wikia
added a commit
to Wikia/TippingOver
that referenced
this issue
Jun 2, 2022
followRedirect() may be called with a LinkTarget implementation such as TitleValue rather than a full Title, so ensure we cast it to Title first before attempting to call canExist(). Avoid the following: ``` Error from line 52 of /extensions/TippingOver/includes/WikiTooltipsCore.php: Call to undefined method TitleValue::canExist() #0 /extensions/TippingOver/includes/WikiTooltips.php(495): WikiTooltipsCore::followRedirect(TitleValue) #1 /extensions/TippingOver/includes/WikiTooltips.php(614): WikiTooltips::runEarlyTooltipChecks(TitleValue) #2 /extensions/TippingOver/includes/WikiTooltips.php(647): WikiTooltips::maybeAttachTooltip(TitleValue, array) #3 /includes/HookContainer/HookContainer.php(338): WikiTooltips::linkTooltipRender(MediaWiki\Linker\LinkRenderer, TitleValue, boolean, HtmlArmor, array, NULL) #4 /includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array) #5 /includes/HookContainer/HookRunner.php(2031): MediaWiki\HookContainer\HookContainer->run(string, array) #6 /includes/linker/LinkRenderer.php(321): MediaWiki\HookContainer\HookRunner->onHtmlPageLinkRendererEnd(MediaWiki\Linker\LinkRenderer, TitleValue, boolean, HtmlArmor, array, NULL) #7 /includes/linker/LinkRenderer.php(217): MediaWiki\Linker\LinkRenderer->buildAElement(TitleValue, HtmlArmor, array, boolean) #8 /includes/linker/LinkRenderer.php(248): MediaWiki\Linker\LinkRenderer->makePreloadedLink(TitleValue, HtmlArmor, string, array, array) #9 /includes/linker/LinkRenderer.php(165): MediaWiki\Linker\LinkRenderer->makeKnownLink(TitleValue, HtmlArmor, array, array) #10 /includes/Linker.php(123): MediaWiki\Linker\LinkRenderer->makeLink(TitleValue, HtmlArmor, array, array) oOeyes#11 /includes/Linker.php(1091): Linker::link(TitleValue, string, array) oOeyes#12 /includes/Linker.php(1335): Linker::userLink(integer, string) oOeyes#13 /includes/actions/pagers/HistoryPager.php(426): Linker::revUserTools(MediaWiki\Revision\RevisionStoreRecord, boolean, boolean) oOeyes#14 /includes/actions/pagers/HistoryPager.php(159): HistoryPager->historyLine(stdClass, stdClass, boolean, boolean, boolean) oOeyes#15 /includes/pager/IndexPager.php(613): HistoryPager->formatRow(stdClass) oOeyes#16 /includes/actions/HistoryAction.php(319): IndexPager->getBody() oOeyes#17 /includes/actions/FormlessAction.php(48): HistoryAction->onView() oOeyes#18 /includes/MediaWiki.php(543): FormlessAction->show() #19 /includes/MediaWiki.php(320): MediaWiki->performAction(Article, Title) #20 /includes/MediaWiki.php(930): MediaWiki->performRequest() #21 /includes/MediaWiki.php(564): MediaWiki->main() #22 /index.php(53): MediaWiki->run() #23 /index.php(46): wfIndexMain() #24 {main} ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Guessing these were renamed or typoed.
The text was updated successfully, but these errors were encountered: