Red Hat Bugzilla – Bug 438278
Install MediaWiki Glossary Extension . . .
Last modified: 2015-01-04 18:31:24 EST
Benjamin Kahn sent the following email:
I wrote a mediawiki extension called Glossary located here:
(since rewritten by "BarkerJr") to allow in-place tooltip definitions of
I believe it would make the CS wiki easier to digest.
I have followed the instructions listed above, including installing
/var/www/html/wiki/extensions/tooltip/tooltip_e.htm. When I place the line
require_once( "$IP/extensions/glossary.php" );, it blanks out the entire Dogtag
The page "http://pki.fedoraproject.org/wiki/Glossary" can be examined, but there
appears to be problems with this extension, or more than likely, with my
configuration of this extension.
I have everything in place, simply commented out in
Hmm... I tested it on my local mediawiki install with no problems. Do you
have access to the error_log? What version of mediawiki is it? I can try and
The error is:
[client 220.127.116.11] PHP Fatal error: Cannot instantiate non-existent class:
domdocument in /var/www/html/wiki/extensions/glossary.php on line 50, referer:
The problem seems to be that this was written for PHP 5 and the wiki runs RHEL 4
so we have PHP 4.
Oh yes. The new version of this extension requires PHP5. Let me see what I can
do to support PHP.
Ahh... Support PHP4.
Assigning to Ben to work on backporting to PHP4.
So I can port it, but any chance we can install php5 and a more recent version
of mediawiki? PHP5 /is/ available for RHEL 4.
I discussed this with Rob, and this seems risky from the standpoint that it is a
big change which would only be necessary to support this glossary plug-in. We
would certainly prefer it to be ported to work with PHP4.
Okay. I've updated the URL http://www.mediawiki.org/wiki/Extension:Glossary
with a PHP 4 version (as well as the PHP 5 version)
I've done simple testing, and it seems to work well.
My extension was moved to: http://www.mediawiki.org/wiki/Extension:Terminology
because I lost control of the previous URL. :-/
Bug already MODIFIED. setting target CS8.0 and marking screened+