The Demopædia Encyclopedia on Population is under heavy modernization and maintenance. Outputs could look bizarre, sorry for the temporary inconvenience
Višejezički demografski rečnik, srpskohrvatska verzija 1971
MediaWiki:Vector.js
Iz Demopædia
Napomena: Nakon snimanja možda ćete trebate očistiti cache svog preglednika kako biste vidjeli promjene.
- Firefox / Safari: držite Shift i pritisnite Reload, ili pritisnite bilo Ctrl-F5 ili Ctrl-R (Command-R na Macu)
- Google Chrome: pritisnite Ctrl-Shift-R (Command-Shift-R na Macu)
- Internet Explorer: držite Ctrl i kliknite Refresh, ili pritisnite Ctrl-F5
- Opera: očistite međuspremnik u Tools → Preferences
/* Any JavaScript here will be loaded for users using the Vector skin */
//to be able to switch the language variant (overrides the default buttons with more visible ones)
function tabWorkaround() {
if(mw.config.get('wgUserVariant') === 'sh' && document.getElementById('ca-varlang-1')) {
var tab_urls = {};
tab_urls[0] = document.getElementById('ca-varlang-0').getElementsByTagName('a')[0].href; //Ћирилица
tab_urls[1] = document.getElementById('ca-varlang-1').getElementsByTagName('a')[0].href; //Latinica
$('#p-variants').remove();
mw.util.addPortletLink('p-namespaces', tab_urls[0], 'Ћирилица');
mw.util.addPortletLink('p-namespaces', tab_urls[1], 'Latinica');
}
}
$(document).ready(tabWorkaround);