Fixed ST3/private wiki error

Fixed line 116 based on tosher's patch
See Github issue for details
https://github.com/tosher/Mediawiker/issues/10