Jump to content

MediaWiki:Common.js/Wikinews:Dialog/xyzzy

From Wikinews, the free news source you can write!

/* 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.');
           }
       );
   }

);