You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my first attempt to make a MW extension. The cookiecutter could be so helpful, if there was not a little bug there. I run MW 1.30.0 on centos with php 7.2. and get the following error for my extension created by cookiecutter.
[5e3947cdba779d28c9276de6] /index.php?title=Issues MWException from line 336 of /var/www/html/mw/includes/MagicWord.php: Error: invalid magic word 'something'
Because i ran MW with the language setting on german i tried to fix it by appending this to ..i18n.magic.php: $magicWords['de'] = array( 'something' => array( 0, 'something' ), );
But even whithout any 'something' command in ..i18n.magic.php the same error occours. I dont know from where it takes this command.
I restart php-cgi and take care, that the LocalSettings.php contains: $wgMainCacheType = CACHE_NONE; $wgCacheDirectory = false;
Thanks in advance
Rob
The text was updated successfully, but these errors were encountered:
This is the place where the error starts. If you change "something" in L13 to something else, maybe to "foobar" the upper error says "Error: invalid magic word 'foobar'".
Hello and thank you for that project!
This is my first attempt to make a MW extension. The cookiecutter could be so helpful, if there was not a little bug there. I run MW 1.30.0 on centos with php 7.2. and get the following error for my extension created by cookiecutter.
Because i ran MW with the language setting on german i tried to fix it by appending this to ..i18n.magic.php:
$magicWords['de'] = array( 'something' => array( 0, 'something' ), );
But even whithout any 'something' command in ..i18n.magic.php the same error occours. I dont know from where it takes this command.
I restart php-cgi and take care, that the LocalSettings.php contains:
$wgMainCacheType = CACHE_NONE;
$wgCacheDirectory = false;
Thanks in advance
Rob
The text was updated successfully, but these errors were encountered: