Change delimiter for multiple namespaces and tags
authorMatthew Flaschen <mflaschen@wikimedia.org>
Mon, 8 May 2017 05:06:12 +0000 (01:06 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Tue, 9 May 2017 03:03:46 +0000 (23:03 -0400)
commitefe994d3c3d2465b3b6ec457afb661e109e89e60
tree87caf042db97d18fe39e61e6044adbee9e29041a
parent4a4021f2a6fd657d5832567d3af6d4d83fcfa1f1
Change delimiter for multiple namespaces and tags

It's ; for namespaces (since that is generally what we're using,
e.g. for STRING_OPTIONS), and | for tags.  I would have
preferred them to all be consistent, but there is one revision
that has a ;, and this seems better than modifying the DB.

Comma is already used as a delimiter between separate parameters
(e.g. hideanons and namepsace).

Also, fix multiple namespaces for parseParameters and add test
cases.

Bug: T164132
Bug: T164133
Change-Id: Iad061e0bc17e3522a3f5d330ac2c8bf9cf0e614f
includes/changetags/ChangeTags.php
includes/specialpage/ChangesListSpecialPage.php
includes/specials/SpecialRecentchanges.php
tests/phpunit/includes/specialpage/ChangesListSpecialPageTest.php
tests/phpunit/includes/specials/SpecialRecentchangesTest.php