Page MenuHomePhabricator

claimit.py remove and rewrite option
Open, LowPublicFeature

Description

Sometimes some statement can be repalced by better. There should be possibility how to rewrite it.
Or simper option - remove exact staement...

pwb.py claimit -pagegenerator P1 Q112 -remove
or
pwb.py claimit -pagegenerator P1 -Q112
removes P1=Q112 from every page in pagegenerator if exists.

rewrite should be

pwb.py claimit -pagegenerator P1 Q123 P1 Q112 -remove (adds P1=Q123 and removes P1=Q112)
or
pwb.py claimit -pagegenerator P1 Q123 P1 -Q112

Related Objects

Mentioned Here
P1 Test paste

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt triaged this task as Low priority.May 13 2019, 10:52 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".

Should it remove all matching claims or only one?
Should qualifiers and references be considered?
If claim doesn’t exist, what should happen?
Is backward compatibility of current claimit behavior required?