MediaWiki:Common.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Mecl67 (Diskussion | Beiträge) |
Mecl67 (Diskussion | Beiträge) |
||
| Zeile 1: | Zeile 1: | ||
/* Das folgende JavaScript wird für alle Benutzer geladen. */ | /* Das folgende JavaScript wird für alle Benutzer geladen. */ | ||
| − | + | let oewaPath = "Service/Verzeichnisse/LexikaGlossareEnzyklopedien"; | |
| − | + | const isMobile = screen.width < 768 | |
| − | + | isMobile ? oewaPath + "/moewa/" : oewaPath | |
| − | + | ||
| − | + | if (typeof IOMm !== "undefined") { | |
| − | + | IOMm('configure', { st: 'at_w_atsn', dn: 'data-f6693670bf.sn.at', cn: 'at', dc: 'hyb', mh: 5 }) | |
| − | + | IOMm('pageview', { cp: oewaPath }) | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
Aktuelle Version vom 9. April 2024, 09:16 Uhr
/* Das folgende JavaScript wird für alle Benutzer geladen. */
let oewaPath = "Service/Verzeichnisse/LexikaGlossareEnzyklopedien";
const isMobile = screen.width < 768
isMobile ? oewaPath + "/moewa/" : oewaPath
if (typeof IOMm !== "undefined") {
IOMm('configure', { st: 'at_w_atsn', dn: 'data-f6693670bf.sn.at', cn: 'at', dc: 'hyb', mh: 5 })
IOMm('pageview', { cp: oewaPath })
}