Fix categories detele SPARQL clause

Bug: T228348
Change-Id: I87b3b5831e31dc619b5eefb7854d3223acd605fc
This commit is contained in:
Stanislav Malyshev 2019-08-27 16:18:30 -07:00
parent ab9436fb9a
commit af8e2632ad
4 changed files with 5 additions and 0 deletions

View file

@ -46,6 +46,7 @@ SPARQL;
DELETE {
?category ?x ?y
} WHERE {
?category ?x ?y
VALUES ?category {
%s
}
@ -62,6 +63,7 @@ DELETE {
} INSERT {
%s
} WHERE {
?category ?x ?y
VALUES ?category {
%s
}

View file

@ -2,6 +2,7 @@
DELETE {
?category ?x ?y
} WHERE {
?category ?x ?y
VALUES ?category {
<http://acme.test/wiki/Category:Test> <http://acme.test/wiki/Category:Test_2>
}

View file

@ -2,6 +2,7 @@
DELETE {
?category ?x ?y
} WHERE {
?category ?x ?y
VALUES ?category {
<http://acme.test/wiki/Category:Changed_category>
}

View file

@ -2,6 +2,7 @@
DELETE {
?category ?x ?y
} WHERE {
?category ?x ?y
VALUES ?category {
<http://acme.test/wiki/Category:Test> <http://acme.test/wiki/Category:MovedTo> <http://acme.test/wiki/Category:Test_2> <http://acme.test/wiki/Category:Test_3> <http://acme.test/wiki/Category:Test_4>
}