MediaWiki:Comment.js

if (mw.config.get('wgNamespaceNumber') === 0 || mw.config.get('wgNamespaceNumber') === 500) { (function{   var o = jQuery.fn.removeClass;    jQuery.fn.removeClass = function {        var result = o.apply(this, arguments);        jQuery(this).trigger('commentsLoaded');        return result;    } }); $(function{   $('#WikiaArticleComments').one('commentsLoaded', function(event){ var timer = window.setInterval(function {           if ($('.article-comments-pagination').length > 1) {                doStuff;                window.clearInterval(timer);            }        }, 100); });   function doStuff {        $('#article-comments-ul .edited-by').each(function { var link = $(this).children('a:first').attr('href'); link = link.substring(0, link.indexOf('?')); $(this).find('.edit-link').append(             '(full)'            ); });   } }); }