Nikki added a comment.

  Searching my chat history I found that I had actually reproduced it before, 
but I couldn't find a ticket so I assume I never got round to making one.
  
  Apparently I could reproduce it on https://test.wikidata.org/wiki/Q185851 
using
  
    mw.hook("wikibase.statement.saved").add(function () {
        for (let el of document.querySelectorAll(".wb-monolingualtext-value")) {
                el.style.color = "red";
        }
    });
  
  After adding a monolingual text statement for a property not yet used on the 
item, nothing changed. When I added a second statement, both statements turned 
red.
  
  Screenshot before saving the second statement:
  
  F41508821: beforesave.jpg <https://phabricator.wikimedia.org/F41508821>
  
  Screenshot after saving the second statement:
  
  F41508823: aftersave.jpg <https://phabricator.wikimedia.org/F41508823>

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

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

To: Nikki
Cc: Nikki, Aklapper, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to