Forum:Using the "disableOldForumEdit" function

I was trying to use the disableOldForumEdit function, as seen on Central's MediaWiki:Common.js, on Fable Wiki, however it only seems to work spasmodically; it doesn't seem to do anything at all with Firefox and only works on Internet Explorer when logged in. Please can someone advise me on how to get it to work across the board.

Links:
 * w:c:fable:MediaWiki:Common.js
 * w:c:fable:Template:Forumheader

Thanks, Enodoc (Talk ) 12:35, March 31, 2011 (UTC)


 * Hmm, works fine to me, at least in Firefox. Forum threads edited before the end of January, all have the archived tag and can't be edited (the traditional way). Perhaps it's a caching issue - your browser is loading a cached forum thread or Common.js version? I suggest waiting it out and/or clearing your browsers cache. Sovq 12:51, March 31, 2011 (UTC)


 * I'm also seeing it working fine (in Chrome). I'd purge the page a few times if you're not seeing it.


 * When I first set it up and noticed it wasn't there on Firefox, I initially thought it may be due to caching, but that was over a week ago. Maybe its just the Firefox on these computers. Thanks anyway. -- Enodoc (Talk ) 13:07, March 31, 2011 (UTC)


 * The browser version you're using would be helpful info. -- Fandyllic (talk &middot; contr) 31 Mar 2011 4:44 PM Pacific


 * Unfortunately I don't have access to the computers with Firefox this month to check their version, sorry. However, for the logged-out version of the Forum pages, the Archived button doesn't appear at all, on any browser that I've used (Firefox or my current IE, which is v. 8). Is there actually a way to get the button to deactivate for logged out users, or does that option not exist at all? -- Enodoc (Talk ) 21:56, April 1, 2011 (UTC)


 * Yup, it's possible. In the code, you'll see this:

 if( skin == 'oasis' ) { $("#WikiaPageHeader .wikia-menu-button li a:first").html('Archived').removeAttr('href' ); return; }
 * Underneath the line that begins with, add.


 * OK, thanks. I'll give that a go. -- Enodoc (Talk ) 17:38, April 6, 2011 (UTC)

I have a question regarding disabling this. Does anyone know why threads do not get "locked" for editing for anonymous users on the Wikia skin? --D. (talk · contr) 16:07, April 7, 2011 (UTC)


 * The edit button for anons uses a different class name. See my last comment for how to disable editing for anons.