User:Andrewds1021/common.js

/********************* this comment is 80 characters long *********************/

/* import JS scripts to be used on this wiki

if (mw.config.get("wgPageName") === "User:Andrewds1021/Test_Page") { importArticles({       type: "script",        articles: [            "u:dev:TimeanddateClock.js",            "u:dev:UserAvatarLink.js",            "u:dev:UserLastActivity.js"        ]    }); }

mw.hook("andrewds1021.get_on_site_notifications.send").add(function (identifier) {   console.log("GetOnSiteNotifications: Initiating notification retrieval on behalf of " + identifier + "."); }); mw.hook("andrewds1021.get_on_site_notifications.done").add(function (notifs, counter, identifier) {   console.log("GetOnSiteNotifications: Notification retrieval " + counter + " complete on behalf of " + identifier + "."); }); console.log("Personal JS: Initiating notification second retrieval."); mw.hook("andrewds1021.get_on_site_notifications.send").fire("personal JS");