composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2
* mediawiki/mediawiki-codesniffer: 26.0.0 → 28.0.0
The following sniffs are failing and were disabled:
* PSR12.Files.ImportStatement.LeadingSlash
The following sniffs now pass and were enabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang
npm:
* grunt-banana-checker: 0.6.0 → 0.8.1
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: Ibdd18a68f35644e2a6abea849e47d6a1b284fbd4
This increases the minimum supported version of MediaWiki to 1.32+ (and
makes it work at all on MediaWiki 1.34+).
Change-Id: Ibc22b6666d997d9edd95a54e36132c10c9e550aa
Using MovePage class methods to check for permissions and to move the
page.
Also added code to handle errors encountered during move operation.
Bug: T225741
Change-Id: I4c4f5bcb3001d4eead64334c5097be5372c173b9
wfGetDB() returns IDatabase, not Database. Actual implementation
can be a DBConnRef proxy or something else entirely from an
extension that reimplements the interface.
Change-Id: I67c0f3517fc9f1d17d2e4bb11c1669485f1999ba
The method ReplaceTextUtils::link (which is already complicated because
it tries to support ancient MediaWiki) can perform different levels of
escaping depending on whether the HtmlArmor class exists. This is confusing
for taint-check and for humans, and can inevitably lead to errors. Plus
it's bad practice to have a method returning something with a variable
level of taintedness, especially if that depends on something ephemeral
like if a class exists or not.
Thus, the HtmlArmor part is removed, the text is escaped for Linker::link,
and the method now requires non-escaped HTML to be passed in.
Change-Id: I6e2783827580e3d470d316f1d3879679eb67aeda
Deprecated since MediaWiki 1.27 and removed by 0a4c2670a1.
Keep the old way for pre 1.27, because mw.org says 1.23
Change-Id: I0d191734f08752d02def657eef004ce5d16ea83d
The following sniffs are failing and were disabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang
Change-Id: I56fb225b2f158ed69fed80fe9a1a2066f407064f
The core module 'mediawiki.special.search' contains more functions
which are not needed here and which causes an error message in the
JavaScript console. (T211384)
This change copies the used part of module 'mediawiki.special.search'
to the local module 'ext.ReplaceText'.
The CSS file for the style module 'ext.ReplaceTextStyles' is renamed
from ext.ReplaceText.css to ext.ReplaceTextStyles.css to make
ext.ReplaceText.css free for the CSS part of module 'ext.ReplaceText'.
Bug: T211384
Change-Id: I41225ccdf8a95a7c501fb6eea99abbd08353f4ea
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.
Bug: T206485
Change-Id: I3e96122ab056c43e9e064cb0f14a190921c47f74