[Wikidata-bugs] [Maniphest] T354750: Update Wikidata Bridge for new media DOM structure

2024-03-05 Thread Michael
Michael added a subtask: T343786: [TECH][IPM] Investigate ramifications of IP 
masking on Wikidata Bridge.

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

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

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


[Wikidata-bugs] [Maniphest] T354750: Update Wikidata Bridge for new media DOM structure

2024-03-05 Thread Michael
Michael triaged this task as "High" priority.
Michael moved this task from Incoming to Product Bugs on the Wikidata-Bridge 
board.
Michael added a comment.


  This task is the cause for Bridge being defacto-disabled on Catalan 
Wikipedia, so let's mark it as **!!high!!** priority for when work on Bridge 
resumes in earnest.

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/4074/

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

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


[Wikidata-bugs] [Maniphest] T354750: Update Wikidata Bridge for new media DOM structure

2024-01-10 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a parent task: T272186: Update extensions to 
handle the new media structure.

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

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

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


[Wikidata-bugs] [Maniphest] T354750: Update Wikidata Bridge for new media DOM structure

2024-01-10 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikidata, Wikidata-Bridge.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  As a Wikipedia editor, I want to be able to use the Data Bridge with an 
image, such as an “edit” icon, as the “button” / “link” to activate the bridge.
  
  **Problem:**
  The bridge is initialized on all links that are direct children of an element 
with a `data-bridge-edit-flow` attribute:
  
  name=BridgeDomElementsSelector.selectElementsToOverload()
const selectedLinks = Array.from( document.querySelectorAll( 
'[data-bridge-edit-flow] > a' ) );
  
  However, since the new media structure for Parsoid compatibility was rolled 
out, an image link is wrapped in an additional element that causes it not to be 
matched by this selector anymore:
  

   
https://wikidata.beta.wmflabs.org/wiki/Q540739?uselang=en#P725"; 
title="Edit this on Wikidata" rel="nofollow">
  

  
  **Example:**
  This can currently be seen on Beta enwiki:Wikidata Bridge Showcase 
.
  
  The DOM change was deployed to cawiki on 15 December 2022 
, and at 
the same time (plus a couple of days for parser cache expiry), we stopped 
seeing Data Bridge metrics in Grafana 
:
  F41663246: image.png 
  
  **BDD**
  GIVEN a page with wikitext like `[[File:OOjs UI icon 
edit-ltr-progressive.svg|frameless|text-top|10px|alt=Edit this on 
Wikidata|link=https://wikidata.beta.wmflabs.org/wiki/Q540739?uselang=en#P725|Edit
 this on Wikidata]]`
  AND Data Bridge is enabled on the wiki
  WHEN visiting the page
  AND clicking the link / icon
  THEN data bridge is opened
  
  **Acceptance criteria:**
  
  -

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

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

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