MediaWiki

From Bibliotheca Anonoma
Revision as of 15:50, 16 November 2016 by Antonizoon (talk | contribs)

The Bibliotheca Anonoma Wiki is configured quite uniquely for our needs. It uses Amazon AWS with S3 and Cloudfront for hosting, and has a load of interesting extensions.

  • PHP Engine - PHP FPM
  • Database - PostgreSQL

PostgreSQL

PostgreSQL is used as our database for a number of reasons, from stability to compatibility with other apps to support for JSONB values.

However, it is clearly not the most popular choice of database for Mediawiki, so we do make some workarounds to support this unique use case. These mods are noted below.

Extensions

Infrastructure

  • Amazon AWS - The tools needed to support AWS S3 upload.

Mods

  • Anonymous IP Hash - Halcy developed a mod for MediaWiki on tanasinn that hashes ips of anonymous users much like on 4chan's /b/ or 2channel.

Spam

  • SpamBlacklist - Comes with Mediawiki by default, and we've enabled it. However, it blocks a lot of good 4chan sources (naturally), so we've set up a whitelist as well.

Media

  • EmbedVideo - This embeds uploaded videos using the browser's own HTML5 <video> tag for embedding content (requires MP4 or webm). You can even embed from YouTube or NicoNico.

Widgets

Widgets are little bits of HTML which can be used as advanced templates.

  • SoundCloud - Allows us to embed SoundCloud music for playing,