Bug 438278 - Install MediaWiki Glossary Extension . . .
Summary: Install MediaWiki Glossary Extension . . .
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: Wiki
Version: 1.0
Hardware: All
OS: Linux
low
low
Target Milestone: 1.0
Assignee: Benjamin Kahn
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 443788
TreeView+ depends on / blocked
 
Reported: 2008-03-20 02:32 UTC by Matthew Harmsen
Modified: 2015-01-04 23:31 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-15 13:28:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Matthew Harmsen 2008-03-20 02:32:36 UTC
Benjamin Kahn sent the following email:

I wrote a mediawiki extension called Glossary located here:

http://www.mediawiki.org/wiki/Extension:Glossary

(since rewritten by "BarkerJr") to allow in-place tooltip definitions of
acronyms.

I believe it would make the CS wiki easier to digest.

Comment 1 Matthew Harmsen 2008-03-26 00:58:35 UTC
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
Wiki.

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
/var/www/html/wiki/LocalSettings.php.


Comment 2 Benjamin Kahn 2008-03-26 02:08:20 UTC
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
reproduce.

Comment 3 Rob Crittenden 2008-03-26 02:32:54 UTC
The error is:

[client 24.35.55.158] PHP Fatal error:  Cannot instantiate non-existent class: 
domdocument in /var/www/html/wiki/extensions/glossary.php on line 50, referer:
http://pki.fedoraproject.org/wiki/ECC_Enabling_Dogtag

The problem seems to be that this was written for PHP 5 and the wiki runs RHEL 4
so we have PHP 4.

Comment 4 Benjamin Kahn 2008-03-26 03:18:08 UTC
Oh yes.  The new version of this extension requires PHP5.  Let me see what I can
do to support PHP.

Comment 5 Benjamin Kahn 2008-04-05 02:15:31 UTC
Ahh... Support PHP4.

Comment 6 Bob Lord 2008-04-11 18:13:16 UTC
Assigning to Ben to work on backporting to PHP4.


Comment 7 Benjamin Kahn 2008-04-11 20:42:26 UTC
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.

Comment 8 Matthew Harmsen 2008-04-11 21:21:54 UTC
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.


Comment 9 Benjamin Kahn 2008-04-14 18:47:12 UTC
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.

Comment 10 Benjamin Kahn 2008-07-10 17:21:04 UTC
My extension was moved to: http://www.mediawiki.org/wiki/Extension:Terminology

because I lost control of the previous URL.  :-/

Comment 11 Chandrasekar Kannan 2008-08-27 00:26:53 UTC
Bug already MODIFIED. setting target CS8.0 and marking screened+


Note You need to log in before you can comment on or make changes to this bug.