Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"WARNING: API error modification-failed" #7

Open
ivanhercaz opened this issue Jan 14, 2019 · 6 comments
Open

"WARNING: API error modification-failed" #7

ivanhercaz opened this issue Jan 14, 2019 · 6 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ivanhercaz
Copy link
Owner

ivanhercaz commented Jan 14, 2019

The bot got this error when it tried to edit the item Q26682121.

Change tried

   Q26682121
 - en-desc:     Redgrave, Mid Suffolk, Suffolk, IP22.
 + Replacement: Redgrave, Mid Suffolk, Suffolk, IP22

Error

WARNING: API error modification-failed: Item [[Q26545861|Q26545861]] already has label "Pond Farm House" associated with language code en, using the same description text.
Edit to page [[wikidata:Q26682121]] failed:
modification-failed: Item [[Q26545861|Q26545861]] already has label "Pond Farm House" associated with language code en, using the same description text. [messages:[{'name': 'wikibase-validator-label-with-description-conflict', 'parameters': ['Pond Farm House', 'en', '[[Q26545861|Q26545861]]'], 'html': {'*': 'El elemento <a href="/wiki/Q26545861" title="Q26545861">Q26545861</a> ya tiene la etiqueta "Pond Farm House" asociada con el código de idioma en, usando el mismo texto de descripción.'}}]; help:See https://www.wikidata.org/w/api.php for API usage. Subscribeto the mediawiki-api-announce mailing list at &lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.]

Issues related

@ivanhercaz ivanhercaz added the bug Something isn't working label Jan 14, 2019
@ivanhercaz
Copy link
Owner Author

ivanhercaz commented Jan 14, 2019

Same with Q26684310.

Change tried

   Q26684310
 - en-desc:     Great and Little Chishill, South Cambridgeshire, Cambridgeshire,SG8.
 + Replacement: Great and Little Chishill, South Cambridgeshire, Cambridgeshire,SG8

Error

WARNING: API error modification-failed: Item [[Q26456065|Q26456065]] already haslabel "Rectory Farmhouse" associated with language code en, using the same description text.
Edit to page [[wikidata:Q26684310]] failed:
modification-failed: Item [[Q26456065|Q26456065]] already has label "Rectory Farmhouse" associated with language code en, using the same description text. [messages:[{'name': 'wikibase-validator-label-with-description-conflict', 'parameters':['Rectory Farmhouse', 'en', '[[Q26456065|Q26456065]]'], 'html': {'*': 'El elemento <a href="/wiki/Q26456065" title="Q26456065">Q26456065</a> ya tiene la etiqueta"Rectory Farmhouse" asociada con el código de idioma en, usando el mismo texto de descripción.'}}]; help:See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at &lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.]

@ivanhercaz
Copy link
Owner Author

Same with Q26683774

Change tried

   Q26683774
 - en-desc:     Soulbury, Aylesbury Vale, Buckinghamshire, LU7.
 + Replacement: Soulbury, Aylesbury Vale, Buckinghamshire, LU7

Error

Q26683774       en-desc full stop removed
WARNING: API error modification-failed: Item [[Q26409668|Q26409668]] already haslabel "Hill Farmhouse" associated with language code en, using the same description text.
Edit to page [[wikidata:Q26683774]] failed:
modification-failed: Item [[Q26409668|Q26409668]] already has label "Hill Farmhouse" associated with language code en, using the same description text. [messages:[{'name': 'wikibase-validator-label-with-description-conflict', 'parameters': ['Hill Farmhouse', 'en', '[[Q26409668|Q26409668]]'], 'html': {'*': 'El elemento <a href="/wiki/Q26409668" title="Q26409668">Q26409668</a> ya tiene la etiqueta "HillFarmhouse" asociada con el código de idioma en, usando el mismo texto de descripción.'}}]; help:See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at &lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.]

@ivanhercaz
Copy link
Owner Author

ivanhercaz commented Jan 14, 2019

The problem is with this kind of items in which the description end with a code of two letters, one or more numbers, and the full stop (e. g. LU7, SG8 and IP22). However the item Q29505587 didn't get an error:

Change tried

   Q29505587
 - en-desc:     Grade II listed building in Llanbadarn Fynydd. Approximately 1.2km NW of Llananno church, reached by a farm road S of a minor road W of the A483.
 + Replacement: Grade II listed building in Llanbadarn Fynydd. Approximately 1.2km NW of Llananno church, reached by a farm road S of a minor road W of the A483

Result

Q29505587       en-desc full stop removed

The difference between this item and the last three I reported here is the number of letters and numbers, in this case there is only one letter (A483).

@ivanhercaz
Copy link
Owner Author

Change tried

   Q29501377
 - en-desc:     Grade II listed building in Flintshire. Approximately 1.3km SE of Trelawnyd church, reached at the end of a farm road on the W side of the A5151.
 + Replacement: Grade II listed building in Flintshire. Approximately 1.3km SE of Trelawnyd church, reached at the end of a farm road on the W side of the A5151

Result

Q29501377       en-desc full stop removed

One letter, three numbers (A5151).

@ivanhercaz
Copy link
Owner Author

ivanhercaz commented Jan 14, 2019

To summary the next errors and good results with variants in the set of numbers and letters:

  • Errors: NR18, SY5, PO38, HD3, OL3, BA22, PO9, PL14, SY6, LE17, LN11, SN11, RG26, PO18, NR15, SK2
  • Good: B4381, A497, B5123, A5026, A485, B4313, B4233

@ivanhercaz ivanhercaz added the help wanted Extra attention is needed label Jan 15, 2019
@ivanhercaz
Copy link
Owner Author

Complete log in PAWS Public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant