Go to file
C. Scott Ananian dfdf5cb54a LanguageLibrary: Ensure language code is a string
Defense in depth: catch the error early when calling mw.language.new()
with a non-string `code` argument; but also check late when popping
the code off the argument array in case something altered the code
property after construction.

Bug: T361664
Change-Id: I04476d3e1c32c87e1df95cc9a0dddcaff475b756
2024-04-11 16:20:24 +00:00
.phan Use HookHandlers for CodeEditor hook 2023-08-15 13:50:13 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-04-08 09:26:56 +02:00
includes LanguageLibrary: Ensure language code is a string 2024-04-11 16:20:24 +00:00
modules Assign UUIDs to Scribunto errors independent of page parse order 2023-10-13 15:23:22 +00:00
tests Inject services into ApiScribuntoConsole, CodeEditorHooks and Hooks 2024-03-18 04:40:47 +00:00
.eslintrc.json build: Updating mediawiki/mediawiki-phan-config to 0.10.4 2020-11-20 17:01:25 +00: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: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0 2024-03-10 23:46:30 +01:00
COPYING Add strict.lua to replace "Module:No globals" 2022-10-13 04:39:21 +00:00
extension.json Inject services into ApiScribuntoConsole, CodeEditorHooks and Hooks 2024-03-18 04:40:47 +00:00
Gruntfile.js build: Updating dependencies 2021-01-30 10:41:13 +00:00
package-lock.json build: Updating dependencies 2024-02-10 13:38:43 +00:00
package.json build: Updating dependencies 2024-02-10 13:38:43 +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 Translate Scribunto namespaces into Uzbek (uz) 2023-05-24 22:19:24 +00:00