The AllowJS is the switch enabling pages of the form pagename.js to work, often as user subpages for tools like (on the English Wikipedia) vandal-fighting scripts. For actual JS on pages, such as used in the Google Adsense extension, I don't know. But it would thus seem likely.
On 1/9/07, khuffman@ngs.org khuffman@ngs.org wrote:
Hi, I'm using Using MediaWiki ver 1.8.2 and had two questions:
- How can we allow our users to add javascript to a page? I tried adding
$wgAllowUserJS = true to my localsettings.php file but nothing seemed to happed when I dropped javascript onto a page.
- Has anyone been able to change the upper left image/make it swap to
another image depending on what page(s) a user was on. I noticed on WikiIndex.org it changes when you are on the Sandbox page vs. when you are on the other pages of the wiki. Would be cool to be able to set up for "sections"/division of content.
Thanks, Karen
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l