mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-27 04:06:51 +00:00
Set href attribute of newly inserted image to image title
I'm not sure if that's the long term solution, however for now it fixes bug 49844 and bug 49848. Change-Id: I75dbbfdd248a6f5696252ef3a2d7ca6ede0fa156
This commit is contained in:
parent
8a28dbf48b
commit
537e431466
|
@ -55,7 +55,8 @@ ve.ui.MWMediaInsertDialog.prototype.onClose = function ( action ) {
|
|||
'attributes': {
|
||||
'type': 'thumb',
|
||||
'align': 'right',
|
||||
'href': info.descriptionurl,
|
||||
//'href': info.descriptionurl,
|
||||
'href': './' + this.item.title,
|
||||
'src': info.thumburl,
|
||||
'width': info.thumbwidth,
|
||||
'height': info.thumbheight,
|
||||
|
|
Loading…
Reference in a new issue