מדיה ויקי:Mobile.js: הבדלים בין גרסאות
מתוך ויקיתרופות
ערן רוזנטל (שיחה | תרומות) |
ערן רוזנטל (שיחה | תרומות) |
||
שורה 1: | שורה 1: | ||
/* Any JavaScript here will be loaded for users using the mobile site */ | /* Any JavaScript here will be loaded for users using the mobile site */ | ||
− | |||
if($.inArray('user', wgUserGroups)==-1){ | if($.inArray('user', wgUserGroups)==-1){ | ||
$('.section').filter(function(){ return $(this).parents('#content_0').length==0}) | $('.section').filter(function(){ return $(this).parents('#content_0').length==0}) |
גרסה מתאריך 08:51, 18 ביולי 2014
/* Any JavaScript here will be loaded for users using the mobile site */ if($.inArray('user', wgUserGroups)==-1){ $('.section').filter(function(){ return $(this).parents('#content_0').length==0}) } else { $('.extendedInfoForDoc').show(); $('.nonRegisteredShow').remove(); } $.getScript(mw.config.get('wgScript')+'?title=MediaWiki:DrugTabs.js&action=raw&ctype=text/javascript');