mediawiki-extensions-Templa.../modules/ext.templateDataGenerator.data
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
..
init.js Migrate to package files: ext.templateDataGenerator.data 2020-12-04 19:41:30 +01:00
Model.js Fix and update type hints in JSDoc comments 2022-01-10 11:48:42 +01:00
SourceHandler.js Move getRawParams helper method to ApiTemplateData class 2022-02-09 12:37:33 +00:00