MediaWiki:Common.js/Wikinews:Dialog/xyzzy

/* For Wikinews:Dialog/xyzzy. See Special:WhatLinksHere/Wikinews:Dialog/xyzzy. */

$.getScript( // MediaWiki:Dialog/receive

   mw.config.get('wgScript') + '?title=' + mw.util.wikiUrlencode('MediaWiki:Dialog/receive') +
                               '&action=raw&ctype=text/javascript',
   function () {
       window.wikidialog.receiveAnonymous(
           function () {
               function show(content) { $('div.wikidialog-xyzzy').replaceWith(content); }
               show('Nothing happens.');
           }
       );
   }

);