mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 23:43:54 +00:00
da8969812c
This method is not used anywhere else: https://codesearch.wmcloud.org/search/?q=getRawParams I tried to make the code a bit more readable. Notable: * Make use of the return value we get from the preg_… function. * {{3,} means "the character '{' 3 or more times". {{{+ does the same. Note the { doesn't need to be escaped when it's not followed by a number. * At the end, it doesn't make any difference when we scan for optional closing brackets. The moment we find at least 3 we are done. The test is intentionally not moved. This is something for a later patch. Bug: T301337 Change-Id: I55e31ceecea2ae7c35bcfbc2d641b35f751820db |
||
---|---|---|
.. | ||
Api | ||
Hooks.php | ||
TemplateDataBlob.php | ||
TemplateDataCompressedBlob.php | ||
TemplateDataHtmlFormatter.php | ||
TemplateDataMessageLocalizer.php | ||
TemplateDataValidator.php |