Community Central

Admin Forum:Looking for JS to add a Talk button

18,824pages on
this wiki
Add New Page
Add New Page Talk0

This Forum has been archived

Forums: Admin Central Index Technical Help Looking for JS to add a Talk button
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.

Fairly simple, ish. I'm wondering if anyone knows of some JS I can use to re-insert the oasis-skin's talk-page button on pages in the 0 namespace on a wiki with comments enabled. I've tried to convince people that talk pages are better from an ease-of-management perspective; this would open both worlds. (People tend to use the comments to ask non-wiki related questions, like "how do I do this thing in the game", making it a very poor place to start talking seriously about page management.)

I'm not concerned with getting the little .commentsbubble span, just sticking a button in so Talk pages are accessible again. --Cphoenix (talk) 11:14, January 15, 2012 (UTC)

I'd second a request for a way for having a talk page button on pages with comments activated... (and vice versa would also be nice, activating comments on pages that don't have it activated) ForestMonthZero 13:38, January 15, 2012 (UTC)
$('<a class="wikia-button comments secondary" data-id="comment" href="/wiki/' + wgCanonicalNamespace + '_talk:' + wgTitle + '" accesskey="t">Talk</a>').insertAfter('#WikiaPageHeader a[href="#WikiaArticleComments"]');

should suffice. TK999 14:56, January 15, 2012 (UTC)

Also on Fandom

Random Wiki