Fix categories detele SPARQL clause
Bug: T228348 Change-Id: I87b3b5831e31dc619b5eefb7854d3223acd605fc
This commit is contained in:
parent
ab9436fb9a
commit
af8e2632ad
4 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
DELETE {
|
||||
?category ?x ?y
|
||||
} WHERE {
|
||||
?category ?x ?y
|
||||
VALUES ?category {
|
||||
<http://acme.test/wiki/Category:Changed_category>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue