User:7yultukuri7/global.js

//--- //dev.wikia.com/wiki/ToolbarLinks window.customToolbarLinks = [ /*   { // Link added to "My Tools" menu action: "link", title: "おまかせ表示", placement: "myTools", address: "/wiki/Special:Random", },   { // Single stylesheet import action: "import", title: "Dark Nav", placement: "myTools", styles: [ "DarkScrollingGlobalNav.css" ]   },    { // Import scripts and stylesheets action: "import", title: "PseudoMonobook Tools", placement: "toolbar", scripts: [ "ToggleSideBar/code.js", "SkinSwitchButton/code.js" ],       styles: [ "PseudoMonobook.css", "Highlight.css" ]   } -    { // Single script import action: "import", title: "RevealAnonIP", placement: "myTools", scripts: [ "RevealAnonIP/usercode.js" ]   },    { // Single script import action: "import", title: "AjaxRC", placement: "myTools", scripts: [ "AjaxRC/code.js" ]   },    { // Single script import action: "import", title: "ユーザー:～にグループを表示", placement: "myTools", scripts: [ "MediaWiki:ShowUserGroups.js" ]   },    { // Single script import action: "import", title: "ユーザー:～にグローバル編集", placement: "myTools", scripts: [ "GlobalEditcount/code.js" ]   },    { // Single script import action: "import", title: "RailWAM", placement: "myTools", scripts: [ "RailWAM/code.js" ]   },    { // Single script import action: "import", title: "再読込を追加", placement: "myTools", scripts: [ "PurgeButton/code.js" ]   },    { // Single script import action: "import", title: "アクティビティの詳細", placement: "myTools", scripts: [ "SeeMoreActivityButton/code.js" ]   },    { // Single script import action: "import", title: "ブロックユーザーマーク", placement: "myTools", scripts: [ "MarkBlocked.js" ]   },    { // Single script import action: "import", title: "言語の切り替え追加", placement: "myTools", scripts: [ "LangSwitch.js" ]   },    { // Single script import action: "import", title: "SearchSuggest", placement: "myTools", scripts: [ "SearchSuggest/code.js" ]   },    { // Single script import action: "import", title: "カスタムリンク", placement: "myTools", scripts: [ "CustomToolbarLinks/code.js" ]   }/*,*/ ];

//--- //カスタムリンク customPages = [ ['List of JavaScript Enhancements', 'JS'], ['Category:Guides'], ['https://www.google.com/', 'Google'], ['Help:JavaScript and CSS Cheatsheet', 'Cheatsheet'], ['Main Page'] ];

//--- importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ToolbarLinks/code.js',    ] });