Inserting raw HTML code in MediaWiki
Someday this post could save you an hour: do you need to insert raw HTML code in MediaWiki (for example, an internal image that links to an external website)? Configure it to use $wgRawHtml (its page says that it is safe to use it only if your site is not publicly editable). I can’t say [...]
A MediaWiki directory lister extension
I wrote this simple Mediawiki extension that lists the directories contained in a hardwired directory: its output is like the following XHTML list: <ul> <li>http://www.foo.org/aaa/</li> <li>http://www.foo.org/aab/</li> <li>…</li> <li>http://www.foo.org/zzz/</li> </ul> The directories are returned in the order in which they are stored by the filesystem. Change the values of $dir and $url_foo before using the extension.
