Don't process "all" option in Html::namespaceSelectorOptions
authorMatěj Suchánek <matejsuchanek97@gmail.com>
Thu, 4 Jul 2019 08:02:28 +0000 (10:02 +0200)
committerMatěj Suchánek <matejsuchanek97@gmail.com>
Thu, 4 Jul 2019 08:17:59 +0000 (10:17 +0200)
commit5fa9a2a191bf72c18deaf0eb5b8ca29672c9c3c4
tree3b2731e0507b8dc8840eb0975d81fc1a563211d5
parent3ff807dd9a8e1e787b1290f610a5dff5739cd53c
Don't process "all" option in Html::namespaceSelectorOptions

The value of "all" can be completely arbitrary and in practice
it's usually an empty string. Avoid attempting to filter it out
and format anyhow.

Bug: T227202
Change-Id: I371466407bd038914faa4dc3b0cae9547cf427eb
includes/Html.php
tests/phpunit/includes/HtmlTest.php