diff --git a/modules/jquery.wikiEditor.dialogs.config.js b/modules/jquery.wikiEditor.dialogs.config.js index 53867dcd..15e6c213 100644 --- a/modules/jquery.wikiEditor.dialogs.config.js +++ b/modules/jquery.wikiEditor.dialogs.config.js @@ -211,6 +211,7 @@ buttons[ mw.msg( 'wikieditor-toolbar-tool-link-lookslikeinternal-int' ) ] = function () { insertLinkTitleInputField.getField().setValue( match[ 1 ] ); + insertLinkLinkTypeField.setIsExternal( false ); $( this ).dialog( 'close' ); // Select the first match (i.e. the value set above) so that the // message under the title field will be updated correctly.