Larry Silverman wrote: > Isn't it a very significant security risk to allow users to write arbitrary > javascript that could get shown to every other wiki user who visits the > site? If this is a public wiki we're talking about that allows free > registration, this would be something you simply cannot allow.
No. Mediawiki:* namespace is protected which is sysops-editable. mailusenet wrote: > Hello, can anybody reply me with a simpel howto use and test js in mediawiki > like here: > > https://www.mediawiki.org/wiki/Adding_HTML_to_wiki_pages > > That instructions don't work for me. > > I have the latest version of mediawiki and centos 6.5. Everything else like > extensions works fine. Thank you. I looked at their example and rewrote it like this, as JQUERY is in MediaWiki core and it saves typing effort: -- var stuff = { doStuff : function() { $('#mw-mywiki-example').html('any HTML'); } }; $(document).ready(stuff.doStuff); -- It works for me! What have you got - feel free to email (to me or to the ML) your wiki URL and I'll try to look. svetlana _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
