Wikia

Community Central

Can You edit special pages

86,671pages on
this wiki

Forum page

This Forum has been archived

Visit the new Forums
Forums: Index Community Central Forum Can You edit special pages
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1315 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

Is there a way to change special pages?Unstubber 22:02, August 30, 2010 (UTC)

Not really, some special pages allow you to change text on them through system messages, and you can do some hackish stuff with JavaScript, but it really depends on what specifically you're trying to change. --Pcj (TC) 22:09, August 30, 2010 (UTC)
A patron in #wikia showed me this:
$(function() {
if ( wgNamespaceNumber === -1 && wgCanonicalSpecialPageName === "Specialpages" ) $("#contentSub").after("Hello world!");
});
It adds the text Hello world! at the top of Special:Specialpages. Does anyone know if you can prepend text with wiki links? I basically just want a See also: [[Foo]]. Duskey(talk) 18:24, August 31, 2010 (UTC)
You can't use wiki links in JS, you will have to use full HTML. --Pcj (TC) 18:28, August 31, 2010 (UTC)
Ah yes, that did the tricks. Thanks Pee Cee Jay. Duskey(talk) 13:28, September 1, 2010 (UTC)

Thought I'd include this. If you want you can "prepend" text or a link in special pages. My thanks goes out to pcj who pretty much made it. Replace link and text. Duskey(talk) 22:17, September 2, 2010 (UTC)

$(function() {
if ( wgNamespaceNumber === -1 && wgCanonicalSpecialPageName === "Specialpages" ) $("#siteSub").after('<br /><br /><a href="link">text</a>');
});
Advertisement | Your ad here

Around Wikia's network

Random Wiki