Difference between revisions 24224 and 24238 on pswiktionary

/* Any JavaScript here will be loaded for all users on every page load. */

/*</pre>
=== DOM creation ===
<pre>*/
/**
 * Create a new DOM node for the current document.
 *    Basic usage:  var mySpan = newNode('span', "Hello World!")
(contracted; show full)                if (hidecats[i] == category || hidecats[i] == 'all')
                    return false;
                else if (hidecats[i] == '!' + category || hidecats[i] == 'none')
                    return true;
        }
        if ($.cookie('WiktionaryPreferencesShowNav') == 'true')
            return true;
        if ($.cookie('Visibility')
 && $.cookie('Visibility').indexOf(';' + category + ';') >= 0)
            return true;
        // TODO check category-specific cookies
        return false;
    }
};
/*</pre>
=== NavBars ===
(contracted; show full)	}
 })

/*</pre>
===WT:ES Discussion tool===
<pre>*/

wgPageName == "Wiktionary:Etymology_scriptorium" && importScript("User:Yair rand/DiscussionSandbox.js");