- 67 名前:65 mailto:sage [2007/08/14(火) 12:18:45 ID:???]
- 書いた後にextension経由でJavaScriptを表示できることを思い出しました。
例えば、HTMLets(www.mediawiki.org/wiki/Extension:HTMLets)を使った方法だと $wgHTMLetsDirectory(LocalSettings.php)で指定したディレクトリに例えば hello.htmlという名前のファイルを設置した後に <htmlet>hello</htmlet>をMediaWiki:Sitenoticeのページに埋め込めば JavaScriptが表示できます。 hello.htmlの中身は <script type="text/javascript">document.write("Hello World");</script> とかで試してみて下さい。
|

|