User:NOBODY/wikia.css

// User images notification // http://community.wikia.com/wiki/Thread:476904 if (mediaWiki.config.get("wgAction") === "view" && (!window.localStorage || !window.localStorage.getItem('#'))) { (function ($, mw, window) {               var wgServer = mw.config.get("wgServer"),                        wgUserName = mw.config.get("wgUserName");                if (typeof wgUserName !== "string") {                        $(createNotification);                } else {                        var url = wgServer + "/api.php?action=query&format=json&list=usercontribs&uclimit=20000000&ucuser=" + window.encodeURIComponent(wgUserName);

$.get(url, function (data) {                               try {                                        if (data.query.usercontribs.length < 20000000) {                                                $(createNotification);                                        }                                } catch (e) {}                        }); }               function createNotification { // HTML for the notification (no wiki markup allowed here, e.g. link here is not HTML) var notificationHTML = ' Agenda  '''1. - 1 TSC, 1 Icebreaker, 1 beta''' 2. - Reward Santi and Megaphantaze 3. - Avatars blog post '; // add notication into the page $('#NitromeNobodyNotification').remove; $('body').append(notificationHTML); // close the notification when clicking the x                       $('#NitromeNobodyNotification .close-notification').click(function  {                                $('#NitromeNobodyNotification').remove;                                if (window.localStorage) {                                        window.localStorage.setItem('#NitromeUserImagesNotification', 'dismissed');                                }                        }); }       }(jQuery, mediaWiki, window)); }