Last modified: 2013-10-09 17:24:14 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 T51978, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49978 - API warnings do not provide plain text message
API warnings do not provide plain text message
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
https://en.wikidata.org/w/index.php?t...
:
Depends on:
Blocks: repoapi 45274
  Show dependency treegraph
 
Reported: 2013-06-21 21:00 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-09 17:24 UTC (History)
4 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-06-21 21:00:43 UTC
Occasionally a warning like:

{u'messages': {u'0': {u'type': u'warning', u'name': u'wikibase-warning-constraint-violation-length', u'parameters': [u'ru']}, u'html': {u'*': u'<p>A length constraint is triggered for language code "ru".\n</p>'}}}

will show up. These warnings only have a html representation, not one in plaintext, which causes an issue for bots, which are expecting a plain text and human readable message (see linked discussion and error message).
Comment 1 Kunal Mehta (Legoktm) 2013-06-21 21:37:37 UTC
[[pyrev:r11686]] is a temporary fix for this.
Comment 2 Lydia Pintscher 2013-10-08 22:03:35 UTC
Is this still the case?
Comment 3 Addshore 2013-10-09 09:33:12 UTC
As far as I am aware everything should now be plain text.
If this is not the case please reopen.

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


Navigation
Links