Fix handling categorization changes
authorStanislav Malyshev <smalyshev@gmail.com>
Wed, 8 Aug 2018 05:08:22 +0000 (22:08 -0700)
committerSmalyshev <smalyshev@wikimedia.org>
Tue, 14 Aug 2018 00:40:08 +0000 (00:40 +0000)
commitba5bce123be1ebc4f271cd1119bafdf767a0f4c7
tree035ff1418a5c914cf8af673ecb6e67d8d8b53edc
parentc5c1ecf1e8176144b387fe2a69a03c8c8d85421f
Fix handling categorization changes

Previously, we handled categorization changes using wrong assumptions
- that rc_cur_id refers to the parent category. Instead, it refers to
the child page.

Change-Id: I40e886c3548ccca57db7ab83f14ec4dcd804cf2f
Bug: T201216
maintenance/categoryChangesAsRdf.php
tests/phpunit/data/categoriesrdf/change.sparql [deleted file]
tests/phpunit/data/categoriesrdf/edit.sparql [new file with mode: 0644]
tests/phpunit/maintenance/categoryChangesRdfTest.php