diff --git a/resources/skins.vector.js/languageButton.js b/resources/skins.vector.js/languageButton.js
index cef4f6c97..a7c3a83b2 100644
--- a/resources/skins.vector.js/languageButton.js
+++ b/resources/skins.vector.js/languageButton.js
@@ -13,7 +13,7 @@ function addInterwikiLinkToMainMenu() {
var $li = $( '
' )
// If the Wikibase code runs last, this class is required so it matches the selector @:
// https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/f2e96e1b08fc5ae2e2e92f05d5eda137dc6b1bc8/client/resources/wikibase.client.linkitem.init.js#82
- .addClass( 'wb-langlinks-link' )
+ .addClass( 'wb-langlinks-link mw-list-item' )
.append( $editLink );
$li.appendTo( '#p-tb ul' );
}
diff --git a/skin.json b/skin.json
index d6b3c456a..f60c4df36 100644
--- a/skin.json
+++ b/skin.json
@@ -446,6 +446,7 @@
"+ext.uls.compactlinks": "skinStyles/ext.uls.compactlinks.less",
"+ext.uls.interface": "skinStyles/ext.uls.interface.less",
"+ext.visualEditor.base": "skinStyles/ext.visualEditor.less",
+ "wikibase.client.init": "skinStyles/wikibase.client.init.css",
"jquery.ui": [
"skinStyles/jquery.ui/jquery.ui.core.css",
"skinStyles/jquery.ui/jquery.ui.theme.css",
diff --git a/skinStyles/images/edit.svg b/skinStyles/images/edit.svg
new file mode 100644
index 000000000..62cfb371d
--- /dev/null
+++ b/skinStyles/images/edit.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/skinStyles/wikibase.client.init.css b/skinStyles/wikibase.client.init.css
new file mode 100644
index 000000000..3a37ec578
--- /dev/null
+++ b/skinStyles/wikibase.client.init.css
@@ -0,0 +1,12 @@
+.wb-langlinks-link > a:before {
+ content: '';
+ background-image: url( images/edit.svg );
+ background-position: 2px center;
+ background-repeat: no-repeat;
+ background-size: 10px 10px;
+ display: inline-block;
+ width: 14px; /* extra 2px of white space around the icon */
+ height: 10px;
+ margin-left: -14px;
+ vertical-align: top;
+}