5,960
edits
(Replacing OWA tracking code with Matomo tracking code) |
No edit summary |
||
Line 21: | Line 21: | ||
} | } | ||
/* ======================================= All texts ======================================= */ | |||
function toggleListTable() { | function toggleListTable() { | ||
var x = document.getElementById("all-texts-table"); | var x = document.getElementById("all-texts-table"); | ||
Line 34: | Line 35: | ||
y.style.display = "none"; | y.style.display = "none"; | ||
} | } | ||
} | } | ||
/ | /* ======================================= customising text in Special:Search ======================================= */ | ||
$(function searchText() { | $(function searchText() { | ||
if (window.location.href.indexOf("search") != -1 || window.location.href.indexOf("Special:Search") != -1) { | if (window.location.href.indexOf("search") != -1 || window.location.href.indexOf("Special:Search") != -1) { | ||
Line 56: | Line 49: | ||
}()); | }()); | ||
/ | /* ======================================= template:Top ======================================= */ | ||
function closeTooltip() { | function closeTooltip() { | ||
document.getElementById("custom-tooltip").style.visibility = "hidden"; | document.getElementById("custom-tooltip").style.visibility = "hidden"; | ||
} | } | ||
/ | /* ======================================= template:Print Button ======================================= */ | ||
function openExportOptions() { | function openExportOptions() { | ||
document.getElementById("export-options").style.display = "block"; | document.getElementById("export-options").style.display = "block"; | ||
} | } | ||
/* ======================================= template:Menu bar ======================================= */ | |||
function toggleExportOptions() { | function toggleExportOptions() { | ||
var x = document.getElementById("export-options"); | var x = document.getElementById("export-options"); | ||
Line 79: | Line 73: | ||
} | } | ||
/ | /* ======================================= Tractatus Logico-Philosophicus (multilingual side-by-side view) ======================================= */ | ||
function hide_show_table(col_name) | function hide_show_table(col_name) | ||
{ | { | ||
Line 106: | Line 100: | ||
} | } | ||
/* ======================================= Matomo tracking code ======================================= */ | |||
var _paq = window._paq = window._paq || []; | var _paq = window._paq = window._paq || []; | ||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ | /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ |