User:So9q/FilterTranslations.js

/* if (typeof window.CustomLanguagesFilter == 'undefined') { // CustomLanguagesFilter is not defined, set to defaults window.CustomLanguagesFilter = "[lang=nb], [lang=da], [lang=fr], [lang=de], [lang=sv], [lang=no], [lang=nl]"; } // Hide all $(".NavFrame").children(".NavContent") .find(".translations tr:first-child li").hide; // Show only the ones we want $(".NavFrame").children(".NavContent") .find(".translations tr:first-child li").find(CustomLanguagesFilter).parentsUntil("ul").show;
 * Filter the list of translations
 * Author So9q
 * Year: 2019
 * License: GPL-v3 or later
 * Synopsis: Filter the list of translations to hide clutter when translating.
 * Synopsis: Filter the list of translations to hide clutter when translating.