Changes
Jump to navigation
Jump to search
1,692 bytes added
, 09:45, 20 July 2021
Line 19: |
Line 19: |
| } | | } |
| | | |
− | mw.util.addPortletLink(
| + | |
− | 'p-personal',
| + | var timer = setInterval(function() { |
− | '/wiki/Special:PrefixIndex/User:username',
| + | if ($('.menu ul:first').length) { |
− | 'subpages',
| + | console.log("mobile menu exists"); |
− | 'pt-subpages',
| + | clearInterval(timer); |
− | 'Your subpages',
| + | $('.menu ul:first').after( |
− | null,
| + | '<ul> \ |
− | '#pt-preferences'
| + | <li> \ |
− | );
| + | <a href="http://wiki2.larnitech.com/index.php/How_to_do" \ |
| + | class="mw-ui-icon mw-ui-icon-before mw-ui-icon-minerva-watchlist"> \ |
| + | <span>How to do</span> \ |
| + | </a> \ |
| + | </li> \ |
| + | <li> \ |
| + | <a href="http://wiki2.larnitech.com/index.php/din-rail" \ |
| + | class="mw-ui-icon mw-ui-icon-before mw-ui-icon-minerva-watchlist"> \ |
| + | <span>Din rail devices</span> \ |
| + | </a> \ |
| + | </li> \ |
| + | <li> \ |
| + | <a href="http://wiki2.larnitech.com/index.php/box" \ |
| + | class="mw-ui-icon mw-ui-icon-before mw-ui-icon-minerva-watchlist"> \ |
| + | <span>Box devices</span> \ |
| + | </a> \ |
| + | </li> \ |
| + | <li> \ |
| + | <a href="http://wiki2.larnitech.com/index.php/app" \ |
| + | class="mw-ui-icon mw-ui-icon-before mw-ui-icon-minerva-watchlist"> \ |
| + | <span>Application</span> \ |
| + | </a> \ |
| + | </li> \ |
| + | <li> \ |
| + | <a href="http://wiki2.larnitech.com/index.php/xml" \ |
| + | class="mw-ui-icon mw-ui-icon-before mw-ui-icon-minerva-watchlist"> \ |
| + | <span>Xml</span> \ |
| + | </a> \ |
| + | </li> \ |
| + | </ul>' |
| + | ); |
| + | } |
| + | }, 100); // check every 100ms |