wiki.techinc.nl/includes/skins/components
Nicholas Ray 89287735b0 Add number-section-count to data returned by SkinComponentTableOfContents
The data returned by SkinComponentTableOfContents::getTemplateData is a
nested array which makes it somewhat arduous for the client to know how
many sections are in the array. Add `number-section-count` to make it
easier on the client.

Additionally:

* Add validation in SkinMustacheTest for keys that contain numbers.
* Revise unit tests to only test public method (`getTemplateData`) and
  not private methods.
* Remove `testGetTOCData` test as these test cases will now be covered
  by the `testGetTemplateData` unit test.

Bug: T300973
Change-Id: Ifaee451e1903f2accd0ada2f2ed6dfa3f83037b6
2022-02-21 14:41:01 -07:00
..
SkinComponent.php
SkinComponentLogo.php
SkinComponentRegistry.php
SkinComponentTableOfContents.php Add number-section-count to data returned by SkinComponentTableOfContents 2022-02-21 14:41:01 -07:00