Osnard
Does anybody have experience with the OOJS-UI widget ve.ui.TargetWidget
[1][2] or ve.ui.MWTargetWidget
[3] from the VisualEditor extension? It is used in “Extension:Cite” and in the “Insert Media” dialog of VE.
Does it need to be executed in context of a VisualEditor-page-editing-session? Or can is also be used in another context (e.g. in a OOJS-UI dialog opened in normal view mode or a page or even on a SpecialPage)?
[1] https://codesearch.wmflabs.org/search/?q=ve\.ui\.(.*%3F)TargetWidget&i=nope&files=&repos=
[2] https://doc.wikimedia.org/VisualEditor/master/#!/api/ve.ui.TargetWidget
[3] https://doc.wikimedia.org/VisualEditor/master/#!/api/ve.ui.MWTargetWidget