Lucas_Werkmeister_WMDE added a comment.

  I looked a bit into it, and the following patch
  
    diff --git a/repo/resources/wikibase.ui.entityViewInit.js 
b/repo/resources/wikibase.ui.entityViewInit.js
    index d88740deb1..bc83d49b82 100644
    --- a/repo/resources/wikibase.ui.entityViewInit.js
    +++ b/repo/resources/wikibase.ui.entityViewInit.js
    @@ -355,7 +355,7 @@
         */
        function attachCopyrightTooltip( $entityview, viewName ) {
                $entityview.on(
    -                   'entitytermsviewafterstartediting 
sitelinkgroupviewafterstartediting statementviewafterstartediting',
    +                   'entitytermsviewafterstartediting 
sitelinkgroupviewafterstartediting statementviewafterstartediting 
lexemeviewafterstartediting',
                        function ( event ) {
                                var $target = $( event.target ),
                                        gravity = 'sw';
  
  is sufficient to have `showCopyrightTooltip()` get called when editing 
(`lexemeheaderafterstartediting` also works, but then we’d presumably also have 
to register `lexemeformviewafterstartediting` and `senseviewafterstartediting` 
– not sure which is better); but then `showCopyrightTooltip()` doesn’t do 
anything. It apparently has two mechanisms to show the copyright tooltip, 
either on an `EditableTemplatedWidget` or on an `edittoolbar`; in the case of 
the lexeme header, neither exists, so there’s nowhere to attach the message. 
We’ll have to look into which of these mechanisms fits us better, and how we 
can integrate it with the use of Vue.

TASK DETAIL
  https://phabricator.wikimedia.org/T343999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, ItamarWMDE, Michael, Aklapper, Arian_Bozorg, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to