Page MenuHomePhabricator

Claim-UI broken when language-table (Babel) is active
Closed, ResolvedPublic

Description

It is not possible to add new claims when the language-table (AKA "In other languages") is active. Saving the claim will result in a JS error.


Version: unspecified
Severity: critical

Details

Reference
bz46123

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:17 AM
bzimport set Reference to bz46123.
bzimport added a subscriber: Unknown Object (MLST).

The JS error already occurred when clicking "add" or "edit" on anything related to the new jQuery.wikibase widgets. This has been an issue since 8f0ec9094e235f1c17c1cface881ddb986d92f22 which changed the "startItemPageEditMode". The second parameter there has been undefined in case of jQuery.wikibase widgets before, since 8f0ec909 it is a jQuery object. Code using the event has to be changed to deal with the jQuery object instead of undefined.

Verified in Wikidata demo sprint 35-2

Restricted Application added a subscriber: StudiesWorld. · View Herald Transcript