Changes

Jump to: navigation, search

Learning Collaborative Development Lab Fall 2008 Results

533 bytes added, 12:24, 9 September 2008
no edit summary
--[[User:nadavers|nadavers]] 17:16, 9 September 2008 (UTC)
 
--[[User:twlai1|twlai1]] 17:24, 9 September 2008 (UTC)
 
---- Simple command, goes to edit a user's page.
 
CmdUtils.CreateCommand( {
name: "EditUserPage",
author: {name: "Tony Lai"},
takes: {"user": noun_arb_text},
preview: function (pblock, user) {
pblock.innerHTML = "Edits " + user + "'s profile page if the user's page exists";
},
execute: function (user) {
var url = "http://zenit.senecac.on.ca/wiki/index.php?title=User:" + user.text + "&action=edit";
Utils.openUrlInBrowser(url);
}
})
1
edit

Navigation menu