mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
//Wow, it looks disgusting :P |
//Wow, it looks disgusting :P |
||
function addJS () { |
function addJS () { |
||
− | if (skin == 'wikiaphone) { |
+ | if (skin == 'wikiaphone') { |
$('<a href="/index.php?title='+encodeURIComponent(wgPageName)+'&action=edit" title="Edit this Page" class="wikia-button secondary">Edit</a> <a href="/index.php?title='+encodeURIComponent(wgPageName)+'&action=history" title="History of this Page" class="wikia-button secondary">History</a> <a href="/wiki/Special:MovePage/'+encodeURIComponent(wgPageName)+'" title="Move this Page" class="wikia-button secondary">Move</a> <a href="/index.php?title='+encodeURIComponent(wgPageName)+'&action=purge" title="Purge this Page" class="wikia-button secondary">Purge</a>').appendTo('#mobile-header'); |
$('<a href="/index.php?title='+encodeURIComponent(wgPageName)+'&action=edit" title="Edit this Page" class="wikia-button secondary">Edit</a> <a href="/index.php?title='+encodeURIComponent(wgPageName)+'&action=history" title="History of this Page" class="wikia-button secondary">History</a> <a href="/wiki/Special:MovePage/'+encodeURIComponent(wgPageName)+'" title="Move this Page" class="wikia-button secondary">Move</a> <a href="/index.php?title='+encodeURIComponent(wgPageName)+'&action=purge" title="Purge this Page" class="wikia-button secondary">Purge</a>').appendTo('#mobile-header'); |
||
break; |
break; |
Latest revision as of 06:00, 1 January 2011
//Wow, it looks disgusting :P
function addJS () {
if (skin == 'wikiaphone') {
$('<a href="/index.php?title='+encodeURIComponent(wgPageName)+'&action=edit" title="Edit this Page" class="wikia-button secondary">Edit</a> <a href="/index.php?title='+encodeURIComponent(wgPageName)+'&action=history" title="History of this Page" class="wikia-button secondary">History</a> <a href="/wiki/Special:MovePage/'+encodeURIComponent(wgPageName)+'" title="Move this Page" class="wikia-button secondary">Move</a> <a href="/index.php?title='+encodeURIComponent(wgPageName)+'&action=purge" title="Purge this Page" class="wikia-button secondary">Purge</a>').appendTo('#mobile-header');
break;
}
}