Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikidata, wdwb-tech, Performance Issue, 
MediaWiki-Page-diffs, Wikidata-Campsite.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Wikibase has a useful feature where plain wikilinks in edit summaries are 
formatted with the label of the entity, which is very useful when looking e.g. 
at page histories:
  
  > `[[Property:P735]]: [[Q463035]]`
  
  →
  
  > given name (P735) <https://www.wikidata.org/wiki/Property:P735>: Douglas 
(Q463035) <https://www.wikidata.org/wiki/Q463035>
  
  F34662730: Screenshot 2021-09-30 at 15-45-26 Revision history of Douglas 
Adams (Q42) - Wikidata.png <https://phabricator.wikimedia.org/F34662730> 
F34662732: Screenshot 2021-09-30 at 15-45-51 Difference between revisions of 
Douglas Adams (Q42) - Wikidata.png <https://phabricator.wikimedia.org/F34662732>
  
  However, the way this is implemented actually affects all links on diff and 
history URLs – specifically, this includes links in page content shown on 
diffs. This causes performance issues (T140879: WMFTimeoutException when 
loading some diffs on Wikidata [Timebox 8h] 
<https://phabricator.wikimedia.org/T140879>), but it’s also undesirable 
regardless of that – the content of a page looks different in diff and regular 
views, which is strange. For example:
  
  Here’s the original appearance of my sandbox 
<https://www.wikidata.org/w/index.php?title=User:Lucas_Werkmeister_(WMDE)/sandbox&oldid=1505856440>:
  F34662778: Screenshot 2021-09-30 at 16-09-37 User Lucas Werkmeister (WMDE) 
sandbox - Wikidata.png <https://phabricator.wikimedia.org/F34662778>
  
  Then, I purged it without loading the result: `curl --data-binary @- 
'https://www.wikidata.org/w/index.php?title=User:Lucas_Werkmeister_(WMDE)/sandbox&diff=1505856440&oldid=1463378660&diffmode=source&action=purge'`
  
  And then loaded the diff: 
https://www.wikidata.org/w/index.php?title=User:Lucas_Werkmeister_(WMDE)/sandbox&diff=1505856440&oldid=1463378660&diffmode=source
  
  And not only are there entity labels in the diff view – because this ends up 
in the parser cache, those labels will also be shown on subsequent non-diff 
views:
  
  F34662782: Screenshot 2021-09-30 at 16-15-14 User Lucas Werkmeister (WMDE) 
sandbox - Wikidata.png <https://phabricator.wikimedia.org/F34662782>
  
  We should fix this, and only apply this special formatting to links that are 
actually in edit summaries.

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Invadibot, maantietaja, Akuckartz, 
Nandana, Amorymeltzer, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
Vali.matei, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, WMDE-Fisch, aude, 
Dinoguy1000, Lydia_Pintscher, Addshore, Mbch331, Jay8g
_______________________________________________
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