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 21:34, 18 April 2018
2 bytes removed
,
21:34, 18 April 2018
no edit summary
Line 32:
Line 32:
var currentLang = data.query.userinfo.options.language;
var currentLang = data.query.userinfo.options.language;
−
if(
username
!= 0 && lang && lang != currentLang){
+
if(
userid
!= 0 && lang && lang != currentLang){
$.ajax({
$.ajax({
url: 'api.php',
url: 'api.php',
Mark.wooff
Bureaucrats
,
Administrators
55
edits