Community Central

Forum:Can You edit special pages


Can You edit special pages

Forum page

19,671pages on
this wiki
Add New Page

This Forum has been archived

Visit the new Forums
Forums: Index Community Central Forum Can You edit special pages
Fandom'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 2431 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>');

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.