Page MenuHomePhabricator

"InvalidArgumentException" in Language Conversion Table: The supplied ParserOptions are not safe to cache. Use NO_CACHE.
Closed, DuplicatePublicPRODUCTION ERROR

Description

When I attempt to visit https://zh.wikinews.org/wiki/MediaWiki:Conversiontable/zh-hk?uselang=en , the page returns the following:

Internal error
[6a40dc21-6541-492d-b953-a7a66aa89abb] 2020-12-02 04:45:11: Fatal exception of type "InvalidArgumentException"

The issue can also be reproduced if I visit the page via static link, like
https://zh.wikinews.org/w/index.php?title=MediaWiki:Conversiontable/zh-hk&oldid=188975

Another user also reports the same issue with a screen capture available on a Telegram group:
https://t.me/wikinews_zh_n/28442

Details

Request ID
6a40dc21-6541-492d-b953-a7a66aa89abb
Request URL
https://zh.wikinews.org/wiki/MediaWiki:Conversiontable/zh-hk?uselang=en
Stack Trace
#0 /srv/mediawiki/php-1.36.0-wmf.18/includes/page/ParserOutputAccess.php(184): MediaWiki\Page\ParserOutputAccess->checkPreconditions(WikiPage, ParserOptions, MediaWiki\Revision\RevisionStoreCacheRecord, integer)
#1 /srv/mediawiki/php-1.36.0-wmf.18/includes/page/Article.php(732): MediaWiki\Page\ParserOutputAccess->getParserOutput(WikiPage, ParserOptions, MediaWiki\Revision\RevisionStoreCacheRecord, integer)
#2 /srv/mediawiki/php-1.36.0-wmf.18/includes/actions/ViewAction.php(74): Article->view()
#3 /srv/mediawiki/php-1.36.0-wmf.18/includes/MediaWiki.php(532): ViewAction->show()
#4 /srv/mediawiki/php-1.36.0-wmf.18/includes/MediaWiki.php(316): MediaWiki->performAction(Article, Title)
#5 /srv/mediawiki/php-1.36.0-wmf.18/includes/MediaWiki.php(945): MediaWiki->performRequest()
#6 /srv/mediawiki/php-1.36.0-wmf.18/includes/MediaWiki.php(548): MediaWiki->main()
#7 /srv/mediawiki/php-1.36.0-wmf.18/index.php(53): MediaWiki->run()
#8 /srv/mediawiki/php-1.36.0-wmf.18/index.php(46): wfIndexMain()
#9 /srv/mediawiki/w/index.php(3): require(string)
#10 {main}

Event Timeline

Aklapper renamed this task from Fatal exception of type "InvalidArgumentException" in Language Conversion Table on zh.wikinews to "InvalidArgumentException" in Language Conversion Table: The supplied ParserOptions are not safe to cache. Use NO_CACHE..Dec 2 2020, 10:21 AM
Aklapper added a project: MediaWiki-Parser.
Aklapper changed the subtype of this task from "Task" to "Production Error".
Aklapper set Request URL to https://zh.wikinews.org/wiki/MediaWiki:Conversiontable/zh-hk?uselang=en.
Aklapper set Request ID to 6a40dc21-6541-492d-b953-a7a66aa89abb.
Aklapper edited Stack Trace. (Show Details)
Aklapper set Phatality ID to ae532de0359ba245c00b66f6368d4e7d394e7b17a23024cd0be281f3d6acfd72.