User:고인물/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:PageCreator/code2.js',    ] }); importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:LastEdited/code.js',    ] }); importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:View Source/code.js',    ] }); //create the element we're attaching to $('.toolbar .tools').append(' '); //attach to the element, as well as make the script only show one line window.lastEdited = { size: false, comment: false, position: { element: 'li#lastedited', method: 'append' } }; //change how the links look (JustLeafy's suggestion, is optional) mw.util.addCSS('#lastEdited a { color: ' + $(".lastEdited-timeago").css("color") + '; text-decoration: underline }');