Open main menu
Home
Random
Log in
Settings
About wiki
Terms and conditions of use
wiki
Search
Changes
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 13:29, 18 April 2018
37 bytes added
,
13:29, 18 April 2018
no edit summary
Line 8:
Line 8:
var prefs = JSON.parse(localStorage.getItem("uls-preferences"));
var prefs = JSON.parse(localStorage.getItem("uls-preferences"));
−
console.log('GCcollab lang: ' + getCookie('
gccollab_lang
'));
+
console.log('GCcollab lang: ' + getCookie('
lang
'));
console.log('MediaWiki lang: ' + getCookie('wikilanguage'));
console.log('MediaWiki lang: ' + getCookie('wikilanguage'));
+
console.log('LocalStorage: ' + localStorage);
console.log('MediaWiki localStorage lang: ' + prefs.ime.language);
console.log('MediaWiki localStorage lang: ' + prefs.ime.language);
Mark.wooff
Bureaucrats
,
Administrators
55
edits