Sam's notebook

MediaWiki with two database servers April 18th, 2018, 5PM

Programming

I’ve been trying to replicate locally a bug with MediaWiki’s GlobalPreferences extension. The bug is about the increased number of database reads that happen when the extension is loaded, and the increase happens not on the database table that stores the global preferences (as might be expected) but rather on the ‘local’ tables. However, locally […]

[No comments] [Keywords: , , , , , , ] [Permanent link]

Upgrading MediaWiki and SMW July 25th, 2011, 7PM

Programming

I was updating MediaWiki to 1.17 last night, and kept getting a:: Fatal error: Call to undefined function wfWarn() in /var/www/w/extensions/SemanticMediaWiki/includes/SMW_Setup.php on line 49 because I was setting up SMW with $wgServerName: require_once(“$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php”); enableSemantics($wgServerName); and this has been deprecated in 1.17. As for why SMW is using the nonexistant mfWarn(), I haven’t got time to […]

[No comments] [Keywords: , , , ] [Permanent link]

My xorg.conf December 18th, 2005, 11AM

Programming

At last we have Ubuntu working with a SGI 1600SW Flatpanel display. Here’s the xorg.conf: # /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the /etc/X11/xorg.conf […]

[No comments] [Keywords: , , , , , ] [Permanent link]