mediawiki-extensions-Templa.../includes
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
..
Api Move getRawParams helper method to ApiTemplateData class 2022-02-09 12:37:33 +00:00
Hooks.php Move last remaining HTML formating code out of blob class 2022-02-03 09:33:03 +01:00
TemplateDataBlob.php Move getRawParams helper method to ApiTemplateData class 2022-02-09 12:37:33 +00:00
TemplateDataCompressedBlob.php Fix use of formatnum in templatedata-invalid-length 2022-01-31 09:34:57 +02:00
TemplateDataHtmlFormatter.php Move last remaining HTML formating code out of blob class 2022-02-03 09:33:03 +01:00
TemplateDataMessageLocalizer.php Inject localizer service into HTML formatter class 2022-02-01 15:59:32 +01:00
TemplateDataValidator.php Split validation into some smaller steps 2022-02-02 12:18:34 +00:00