Manual talk:Interface/JavaScript


 * Would you please tell me how do I install the Commons.js file into the MediaWiki? Where do I put this file? How do I activate it? Thank you in advance.
 * Write it in your wiki page titled [[MediaWiki:Common.js]]. --almaghi 17:03, 22 July 2009 (UTC)

It's sometimes useful to start your Common.js with "// " and end it with "// " -- Sidcom 23:01, 22 February 2010 (UTC)
 * why is that? --12.46.139.200 17:23, 22 August 2011 (UTC)

Not working in 1.16.2?
Is this a new feature?

I put some JavaScript on this page and force-reloaded the browser. Looking at the source returned, I expected to see either my JavaScript in the head or a "script src" call to Common.js. I see neither.

I have been putting off upgrading because (I know, bad) I've changed some of the files, and 1.16 was working well for me. But I need to do some JavaScript on pages now.