Content deleted Content added
Mike Dillon (talk | contribs) mNo edit summary |
Mike Dillon (talk | contribs) No edit summary |
||
Line 54:
for (var n in historyItems) {
var itemUrl = wgArticlePath.replace(/\$1/,
var itemLabel = historyItems[n].replace(/_/g, " ");
var itemSlash = itemLabel.lastIndexOf("/");
if (itemSlash != -1) itemLabel = itemLabel.substr(itemSlash + 1);
historyList.appendChild(li(
a({ href: itemUrl, title: historyItems[n] }, itemLabel)));
|