Last modified: 2014-11-14 04:47:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72702, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70702 - claimit and harvest_template - add another value for one property
claimit and harvest_template - add another value for one property
Status: NEW
Product: Pywikibot
Classification: Unclassified
Wikidata (Other open bugs)
core-(2.0)
All All
: High enhancement
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks: 73398
  Show dependency treegraph
 
Reported: 2014-09-11 05:51 UTC by JAn Dudík
Modified: 2014-11-14 04:47 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description JAn Dudík 2014-09-11 05:51:48 UTC
Some items needs to have two values for one property.
typical example is p31
instance of castle + instance of cultural monument

harvest_template and claimit should 
- check, if this property exists
- if no
-- add property with new value
- if yes
-- check value
-- if same
--- skip
--if another
--- add another value

(claimit -pagegenerator P31 Q123)


Additionally these script should be able to replace one value with another
(P123: Q123 -> Q456)

(claimit -pagegenerator P31 Q456 -overwrite:Q123)
Comment 1 JAn Dudík 2014-10-06 08:21:46 UTC
Ideally, when there is some parameter like -manual.
If bot found that value exists, there will be possibilities 
[r]eplace / [s]kip / [a]dd
(overwrite value / do nothing / add new walue)

without this parameter bot automatically skips.
Comment 2 JAn Dudík 2014-11-11 13:29:03 UTC
See also
https://bugzilla.wikimedia.org/show_bug.cgi?id=67284

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links