Use XmlSelect to simplify Xml::monthSelector
authorGeoffrey Mon <geofbot@gmail.com>
Sun, 7 Jun 2015 00:26:57 +0000 (20:26 -0400)
committerGeoffrey Mon <geofbot@gmail.com>
Sun, 7 Jun 2015 00:26:57 +0000 (20:26 -0400)
commit78401facfe7ad0e83eff0ab4443a636665eb2997
tree03c82b8b233f2c2ebd540367668323eb40c26d6e
parente302fc5b66bd77f1f3cfa7007bea34ca3b12dc8a
Use XmlSelect to simplify Xml::monthSelector

 * Modify Xml::monthSelector
 * Tweak XmlTest.php to swap the order of some props (XmlSelect
    output swaps the position of id and name props of <select>s)

Bug: T93234
Change-Id: If7e41251a6b2314e36dac8b7522c8e7b765f1814
includes/Xml.php
tests/phpunit/includes/XmlTest.php