mediawiki-extensions-Templa.../modules
Thiemo Kreuz da8969812c Move getRawParams helper method to ApiTemplateData class
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
2022-02-09 12:37:33 +00:00
..
ext.templateData Avoid fit-content, not supported by all browsers 2021-06-03 21:53:40 +01:00
ext.templateData.images Organise resource files in directories after their module bundles 2020-03-15 15:21:39 +00:00
ext.templateDataGenerator.data Move getRawParams helper method to ApiTemplateData class 2022-02-09 12:37:33 +00:00
ext.templateDataGenerator.editPage Organise resource files in directories after their module bundles 2020-03-15 15:21:39 +00:00
ext.templateDataGenerator.editTemplatePage Merge "Fix and update type hints in JSDoc comments" 2022-01-17 17:11:19 +00:00