Go to file
Isabelle Hurbain-Palatin b1cc0225a9 Set language on ScribuntoContentHandler new ParserOutput
I have reproduced at least one instance of the message "ParserOutput
does not specify a language and no page language set in helper." by
trying to query a rest.php html endpoint on a module with the
scribunto-doc-page-does-not-exist message deactivated (which is the case
on wikidata).
I do not know if that path is the one that triggers the current large
amount of these messages coming from Wikidata, but it looks reasonable
to fix that one at least.
I'm also not sure this fix is the right one - I'll let people with more
Scribunto and ContentHandler experience chime on that :)

Bug: T362312
Change-Id: I26c1683c803f5cafd08de83e8b428031414d1c4e
2024-09-12 11:49:40 +02:00
.phan build: Remove suppression of PhanUndeclaredProperty for Parser property 2024-04-23 02:06:26 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-09-02 09:21:31 +02:00
includes Set language on ScribuntoContentHandler new ParserOutput 2024-09-12 11:49:40 +02:00
modules build: Updating npm dependencies 2024-06-08 03:02:14 +00:00
tests Make use of MainConfigNames constants in tests 2024-08-27 20:36:11 +00:00
.eslintrc.json Use ES6 features, replace jQuery bind() with on() 2024-04-20 03:18:34 +08:00
.gitignore build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-07 10:40:41 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:03:31 -07:00
.phpcs.xml tests: Replace assertEmpty with assertCount 2022-11-25 10:26:34 +00:00
.stylelintrc.json Use json extension for .stylelintrc 2017-08-19 10:27:54 +02:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-03 21:33:35 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-12 16:16:21 +00:00
COPYING Add strict.lua to replace "Module:No globals" 2022-10-13 04:39:21 +00:00
extension.json build: Update MediaWiki requirement to 1.43 2024-08-24 14:38:32 +00:00
Gruntfile.js Use ES6 features, replace jQuery bind() with on() 2024-04-20 03:18:34 +08:00
package-lock.json build: Updating micromatch to 4.0.8 2024-08-31 07:19:52 +00:00
package.json build: Updating npm dependencies 2024-06-21 23:09:17 +00:00
Scribunto.constants.php Remove PHP entry point 2019-06-21 00:02:08 +00:00
Scribunto.magic.php Add namespace and magic word translations for mnw and my 2019-10-18 20:03:05 +00:00
Scribunto.namespaces.php Added Talysh namespaces 2024-09-11 17:36:14 +00:00