[Mediawiki-l] Two questions: Javascript & Top left image

Gary Kirk gary.kirk at gmail.com
Tue Jan 9 14:29:39 UTC 2007


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 at ngs.org <khuffman at ngs.org> wrote:
> Hi, I'm using Using MediaWiki ver 1.8.2 and had two questions:
>
> 1) 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.
>
> 2) 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 at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


-- 
Gary Kirk



More information about the MediaWiki-l mailing list