-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Although a bit late (I'm still crunshing my unread mails)
In the README of the REL1_26 branch (see at github
https://github.com/wikimedia/mediawiki-extensions-cldr/tree/REL1_26 )
is clearly stated that you need:
== Installation ==
Include it in LocalSettings.php:
include("$IP/extensions/cldr/cldr.php");
Seems that the documentation at
mediawiki.org is not up to date. The
reason for not using wfLoadExtension is simply that the extension is not
updated for the new extension registration system.
Regards,
Dennis Roczek
Am 09.03.2016 um 17:57 schrieb Andrew Geary:
As an update, I was able to address this issue by
changing the line ad
ded 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
ageary(a)seg.org
www.seg.org
-----Original Message-----
From: Andrew Geary
Sent: Thursday, February 25, 2016 2:18 PM
To: mediawiki-l(a)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.or
g. 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 c
ommand prompt when attempting to update the database after installing cl
dr.
PHP Notice: Use of undefined constant MW_MATH_MATHML - assumed 'MW_MA
TH_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/h
tml/mediawiki/includes/registration/ExtensionRegistry.php:106
Stack trace:
#0 /var/www/html/mediawiki/includes/GlobalFunctions.php(181): Extensio
nRegistry->queue('/var/www/html/m...')
#1 /var/www/html/mediawiki/LocalSettings.php(202):
wfLoadExtension('cl
dr')
#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/ExtensionReg
istry.php on
line 106
I have enabled the Math extension and set MathML as the rendering opti
on. 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; $wgMat
hFullRestbaseURL= 'https://api.formulasearchengine.com/';
Can someone please provide guidance in troubleshooting this issue? Tha
nk you.
Andrew Geary
ageary(a)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
ageary(a)seg.org
www.seg.org
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQIcBAEBCAAGBQJXqd+nAAoJEM4+Qf3OKrbZ5lEQAKouGDB9BiP0hLJTLWms5C88
i4hemDdjpXpLZDrDBLR90eCXLqw8iw6GtogqNa48OKrMSh5tPKL4bJILwW2EmYdE
R6yq1AV4ViOxyKcw/9Dlm9j+kjy1TnHyH0F76Y//GIBQ4Oict7YEjavJtGI5JZXt
elEk61Kg9YT5qQ09C01WPodDWDslu+XjjzJbwTgMdR8BSUyrI0i9UlSVW11PwvaM
Lj8fZBBGQO6mFbqTKoZTsdQTgxYKZZ8641sK7UgsL/G9Xq06zPSrpgSK4+7FfEBh
1E5PuxpT0f+7ukkQQ+NRTs3Q9kOVy8KowpmNtN5ynZqwcj2HUg8UyKV2PnSEKEOc
sUxYgMeRDatz/fnlgSPvTrOOHhB5G8dhru0QwaAA1vIZ3TSm2IGZgG/ROnvSSxt0
44cMZuBvXJODcnDMwXk0PQD+Wb2HeHpfqmy68IsGY9CJAmon7mSiogPgqR9VzqnS
2nskNGw79KFC52EBG1hzkOLhXlr72NSkYRH5N4cvXHUSHtP3aIZg/n4/zjQO1rht
s4QAfnKFbZAM5Nfd88YtbLB6G1XojiO3WhrduxhumykCH/3j3pbZLwDiL4hVTMt5
PA3dcWdhFltRCYKu3hXJfB/d3rruqaJmYDxXfiyjqRxrKUV50nLpf9vq2RXkeEJo
YaW4eglRzQSV7255Dg1r
=PWLk
-----END PGP SIGNATURE-----