MediaWiki:Vector.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1:
/* Any JavaScript here will be loaded for users using the Vector skin */
 
var userlinks_datauserlinks = {[];
username: "",
userpage: "",
links: []
};
 
userlinks_data.username = $("#pt-userpage a").text();
userlinks_data.userpage = $("#pt-userpage a").attr("href");
 
$("#p-personal li").each(function() {
userlinks_data.linksuserlinks.push({text: $("a", this).text(), link: $("a", this).attr("href")});
});
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu