As an update, I was able to address this issue by changing the line added to 
LocalSettings.php. Instead of

wfLoadExtension( 'cldr' );

I used:

require_once "$IP/extensions/cldr/cldr.php";

I am still using the most recent version of cldr (1.26). I do not know if this 
is only an issue with my wiki or a bug, which is why I did not change the 
directions on the Mediawiki site.

Sincerely,
Andrew

Andrew Geary
SEG Publications outreach editor
Society of Exploration Geophysicists (SEG)
8801 South Yale, Suite 500 / Tulsa, OK 74137 USA
504-407-1303
age...@seg.org
www.seg.org


-----Original Message-----
From: Andrew Geary 
Sent: Thursday, February 25, 2016 2:18 PM
To: mediawiki-l@lists.wikimedia.org
Subject: cldr not installing properly

I am attempting to install cldr. In previous installations, I have not had any 
issues with this extension and is currently live at wiki.seg.org. When working 
on updating the Mediawiki software from 1.23.2 to 1.26.2, after installing 
several other extensions, I get this message in the command prompt when 
attempting to update the database after installing cldr.

PHP Notice:  Use of undefined constant MW_MATH_MATHML - assumed 
'MW_MATH_MATHML' in /var/www/html/mediawiki/LocalSettings.php on line 166 PHP 
Fatal error:  Uncaught exception 'Exception' with message 
'/var/www/html/mediawiki/extensions/cldr/extension.json does not exist!' in 
/var/www/html/mediawiki/includes/registration/ExtensionRegistry.php:106
Stack trace:
#0 /var/www/html/mediawiki/includes/GlobalFunctions.php(181): 
ExtensionRegistry->queue('/var/www/html/m...')
#1 /var/www/html/mediawiki/LocalSettings.php(202): wfLoadExtension('cldr')
#2 /var/www/html/mediawiki/maintenance/doMaintenance.php(83): 
require('/var/www/html/m...')
#3 /var/www/html/mediawiki/maintenance/update.php(214): 
require_once('/var/www/html/m...')
#4 {main}
  thrown in /var/www/html/mediawiki/includes/registration/ExtensionRegistry.php 
on line 106

I have enabled the Math extension and set MathML as the rendering option. This 
is how it appears in LocalSettings.php:

require_once "$IP/extensions/Math/Math.php"; // Set MathML as default rendering 
option; $wgDefaultUserOptions['math'] = MW_MATH_MATHML; $wgMathFullRestbaseURL= 
'https://api.formulasearchengine.com/';

Can someone please provide guidance in troubleshooting this issue? Thank you.

Andrew Geary
age...@seg.org

















Andrew Geary


SEG Publications outreach editor


Society of Exploration Geophysicists (SEG)


8801 South Yale, Suite 500 / Tulsa, OK 74137 USA


504-407-1303


age...@seg.org


www.seg.org












_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to