MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 2: Line 2:
/* Class Code */
/* Class Code */
(function () {
(function () {
     var colorContent = function (text, color) { return { text, color, xpath: "//td[contains(text(),'" + text + "')]" } }
     function colorContent(text, color) {
        return { text, color, xpath: "//td[contains(text(),'" + text + "')]" }
    }
     /* Active Code */
     /* Active Code */
     console.log("on page: " + mw.config.get('wgPageName'));
     console.log("on page: " + mw.config.get('wgPageName'));
EFF, ZEON, approveduser, Bureaucrats, Interface administrators, Administrators, uploadaccess
843

edits

Navigation menu