jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: MediaWiki-extensions-WikibaseRepository, MediaWiki-API.
Herald added a subscriber: Aklapper.
Herald added a project: Wikidata.
TASK DESCRIPTION
When modifying a non-empty item, so that it becomes a redirect, the API error
code is `target-not-empty`, and the message is something like
```
The redirect can only be created on top of an empty entity. (Entity Q1592 is
not empty) [messages:[{u'html': {u'*': u'The redirect can only be created on
top of an empty entity.'}, u'name': u'wikibase-api-target-not-empty',
u'parameters': []}]; help:See https://test.wikidata.org/w/api.php for API usage]
```
The error code `target-not-empty` is incorrect according to MediaWiki
nomenclature. The target is the item which is being **to**, not the item which
will become the redirect.
TASK DETAIL
https://phabricator.wikimedia.org/T112238
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: jayvdb, Aklapper, Wikidata-bugs, aude, Anomie, Legoktm
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs