https://bugzilla.wikimedia.org/show_bug.cgi?id=45673
Web browser: ---
Bug ID: 45673
Summary: Get "add" button related DOM remnants out of
jQuery.wikibase.claimlistview and don't use 'wb-claim'
template for "add" button
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Even though with bug 44745 being solved, the toolbar went out of the
claimlistview widget, the DOM which contains the "add" button is still there.
The DOM should probably go and be generated where the "add" button is being
generated since that DOM doesn't really belong to the widget. If a list of
claims should only be displayed and not editable (e.g. during diff views where
we don't display the edit buttons) there is no point in having this piece of
DOM.
Also, the jQuery.wikibase.claimlistview is currenlty abusing the 'wb-claim'
template for the row which displays that "add" button. This is quite confusing
and as a result there is some weird code in claimlistview that has to
differentiate whether a row is an actual claim or just that row with the "add"
button.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l