Page MenuHomePhabricator

[betalabs] Flow\Exception\WikitextException on clicking deleted topic link from View history
Closed, ResolvedPublic

Description

  1. As an Administrator user, delete one of the topics on any Flow board.
  1. Login as a different user (Users or Autoconfirmed groups).
  1. Go to the board - see the specific example below. Go to 'View History' and click on the deleted topic link

e.g. Talk:ET3
http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Talk:ET3&action=history

<a rel="nofollow" class="external text" href="http://en.wikipedia.beta.wmflabs.org/wiki/Topic:Spsieiw3rpc06kuw">topic</a>

Screen Shot 2015-11-19 at 2.27.08 PM.png (163×1 px, 71 KB)

  1. The error page is displayed:

[cf646bce] /wiki/Topic:Spsieiw3rpc06kuw Flow\Exception\WikitextException from line 150 of /srv/mediawiki/php-master/extensions/Flow/includes/Conversion/Utils.php: Conversion from 'topic-title-wikitext' to 'html' was requested, but this is not supported.

Backtrace:

#0 /srv/mediawiki/php-master/extensions/Flow/includes/Conversion/Utils.php(56): Flow\Conversion\Utils::commentParser(string, string, string)
#1 /srv/mediawiki/php-master/extensions/Flow/includes/Model/AbstractRevision.php(391): Flow\Conversion\Utils::convert(string, string, string, Title)
#2 /srv/mediawiki/php-master/extensions/Flow/includes/Log/ActionFormatter.php(104): Flow\Model\AbstractRevision->getContent()
#3 /srv/mediawiki/php-master/extensions/Flow/includes/Log/ActionFormatter.php(124): Flow\Log\ActionFormatter->getActionMessage()
#4 /srv/mediawiki/php-master/includes/logging/LogEventsList.php(317): Flow\Log\ActionFormatter->getActionText()
#5 /srv/mediawiki/php-master/includes/logging/LogPager.php(347): LogEventsList->logLine(stdClass)
#6 /srv/mediawiki/php-master/includes/pager/IndexPager.php(442): LogPager->formatRow(stdClass)
#7 /srv/mediawiki/php-master/includes/logging/LogEventsList.php(564): IndexPager->getBody()
#8 /srv/mediawiki/php-master/extensions/Flow/includes/Block/Topic.php(893): LogEventsList::showLogExtract(OutputPage, array, string, string, array)
#9 /srv/mediawiki/php-master/extensions/Flow/includes/Block/Topic.php(822): Flow\Block\TopicBlock->getDisallowedErrorMessage(Flow\Model\PostRevision)
#10 /srv/mediawiki/php-master/extensions/Flow/includes/Block/Topic.php(478): Flow\Block\TopicBlock->loadTopicTitle()
#11 /srv/mediawiki/php-master/extensions/Flow/includes/View.php(195): Flow\Block\TopicBlock->renderApi(array)
#12 /srv/mediawiki/php-master/extensions/Flow/includes/View.php(69): Flow\View->buildApiResponse(Flow\WorkflowLoader, array, string, array)
#13 /srv/mediawiki/php-master/extensions/Flow/includes/Actions/Action.php(100): Flow\View->show(Flow\WorkflowLoader, string)
#14 /srv/mediawiki/php-master/extensions/Flow/includes/Actions/ViewAction.php(16): Flow\Actions\FlowAction->showForAction(string, OutputPage)
#15 /srv/mediawiki/php-master/extensions/Flow/includes/Actions/Action.php(46): Flow\Actions\ViewAction->showForAction(string)
#16 /srv/mediawiki/php-master/includes/MediaWiki.php(457): Flow\Actions\FlowAction->show()
#17 /srv/mediawiki/php-master/includes/MediaWiki.php(254): MediaWiki->performAction(Article, Title)
#18 /srv/mediawiki/php-master/includes/MediaWiki.php(672): MediaWiki->performRequest()
#19 /srv/mediawiki/php-master/includes/MediaWiki.php(474): MediaWiki->main()
#20 /srv/mediawiki/php-master/index.php(43): MediaWiki->run()
#21 /srv/mediawiki/w/index.php(3): include(string)
#22 {main}

Event Timeline

Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova updated the task description. (Show Details)
Etonkovidova added a subscriber: Etonkovidova.

Change 254466 had a related patch set uploaded (by Mattflaschen):
Fix regression in log formatting from "links in topic title" patch

https://gerrit.wikimedia.org/r/254466

Change 254466 merged by jenkins-bot:
Fix regression in log formatting from "links in topic title" patch

https://gerrit.wikimedia.org/r/254466