Skip to content

Commit b3c5de4

Browse files
committed
Links: improve minerva support
1 parent f865ce5 commit b3c5de4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Links.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@
2929
- modern
3030
- monobook
3131
- timeless
32+
- minerva (TODO: make less ugly)
3233
- right menu (tools menu)
3334
- vector-2022
34-
- not displayed at all
35-
- minerva
3635
*/
3736

3837
class Links {
@@ -52,7 +51,11 @@ class Links {
5251
}
5352

5453
createBottomLeftMenuContainer() {
55-
this.mw.util.addPortlet( 'p-links', 'More tools', '#p-tb' );
54+
if ( this.mw.config.get( 'skin' ) === 'minerva' ) {
55+
this.mw.util.addPortlet( 'p-links', 'More tools', '#p-navigation' );
56+
} else {
57+
this.mw.util.addPortlet( 'p-links', 'More tools', '#p-tb' );
58+
}
5659
}
5760

5861
async generateUserspaceLinks() {

0 commit comments

Comments
 (0)