Fallout Wiki
Advertisement
Fallout Wiki
Forums: Index > Wiki discussion > Personal improvements for "new look"

Figured I'd share a little JavaScript I created for the FaceWikiShack skin in case anybody else is interested in using it.

Basically, it adds the content of Monaco's/Monobook's pagebar (i.e. the "edit", "move", "delete", "protect", "history" links) as well as a "purge" and "what links here" button to the bottom toolbar. I find it somewhat irritating that those links are in a different position from page to page; this way, they stay in one and the same place. An example screenshot can be found here.

If you are interested, add the following to Special:MyPage/wikia.js:

importScriptPage('OasisToolbarButtons/code.js', 'dev');

If you run into bugs when using it, please let me know :) -- Porter21 (talk) 17:14, November 19, 2010 (UTC)

I quite like it. Although I think you miss some options. How about adding a link to the talk page and any subpages if they exist. To avoid the Archive 1, Archive 2, Archive 3 problem; use Archive 1, 2, 3 etc. if possible? Perhaps the talkpage/subpage links could appear on the right? --Light Daxter - Talk 17:24, November 19, 2010 (UTC)

Yeah, adding a button for going to the talk page (and back) is something I've been considering for future versions. The subpage thing isn't feasible I'm afraid, as I can't query whether a page has subpages or not via JS. -- Porter21 (talk) 17:42, November 19, 2010 (UTC)


Just what the doctor ordered, thank you Porter. Also, to people who would like to have those links on all wikis, just add it to your global.js on 'Community Central'. --Anon talk 03:39, November 21, 2010 (UTC)

Something you forgot Porter; My own wiki has Semantic MediaWiki enabled but sadly there's no Edit with Form button on the toolbar. Perhaps something for a future option? I assume it wouldn't be an annoyance if you could automatically trigger it to hide if there is no SMW on the wiki it's used on. --Light Daxter - Talk 20:07, November 24, 2010 (UTC)

Well, I didn't "forget" it - this is primarily a script for my personal use after all, and I don't visit any SMW-enabled wikis regularly ;) I'll see about adding an option to have an "Edit with form" link displayed. -- Porter21 (talk) 00:03, November 25, 2010 (UTC)
Added. -- Porter21 (talk) 12:44, November 25, 2010 (UTC)

I've posted the script on dev.wikia and will only keep updating the script over there in the future. To use that version, replace the previous code with:

importScriptPage('OasisToolbarButtons/code.js', 'dev');

-- Porter21 (talk) 14:46, November 25, 2010 (UTC)

This is really great. :) Thanks for taking the time to come up with this! ~ Gardimuer { ʈalk } 15:58, December 9, 2010 (UTC)
You're welcome :) -- Porter21 (talk) 11:16, December 10, 2010 (UTC)
Advertisement