Stephan Gomes Higuti | 13 Sep 2012 16:45
Picon

Extension:Lua and LanguageGetMagic issues!

Hello guys, its my first email here, so, i'll try to be as clear as
possible!
Well, im upgrading my mediawiki, from 1.12.0 to 1.19.2, using Apache 5.3.3
and Mysql 5.5.14.
Everything went ok, sphinx, database, all extensions but Lua.
I notice that Lua extension needs LanguageGetMagic hook, but looking after
it, just notice that LanguageGetMagic was deprecated in version 1.16 (
http://www.mediawiki.org/wiki/Manual:Hooks/LanguageGetMagic ), and i cant
find a way to enable it on 1.19.2.
So, here goes three questions:
Is it possible to use LanguageGetMagic on 1.19.2? How?
Anyone here uses this extensions on newers MediaWiki versions?
Someone knows another way to make it works?
Thanks!

Best Regards,

Stephan Gomes Higuti
Platonides | 15 Sep 2012 00:46
Picon

Re: Extension:Lua and LanguageGetMagic issues!

On 13/09/12 16:45, Stephan Gomes Higuti wrote:
> Hello guys, its my first email here, so, i'll try to be as clear as
> possible!
> Well, im upgrading my mediawiki, from 1.12.0 to 1.19.2, using Apache 5.3.3
> and Mysql 5.5.14.
> Everything went ok, sphinx, database, all extensions but Lua.
> I notice that Lua extension needs LanguageGetMagic hook, but looking after
> it, just notice that LanguageGetMagic was deprecated in version 1.16 (
> http://www.mediawiki.org/wiki/Manual:Hooks/LanguageGetMagic ), and i cant
> find a way to enable it on 1.19.2.
> So, here goes three questions:
> Is it possible to use LanguageGetMagic on 1.19.2? How?
> Anyone here uses this extensions on newers MediaWiki versions?
> Someone knows another way to make it works?
> Thanks!
> 
> Best Regards,
> 
> Stephan Gomes Higuti

For future reference: instead of LanguageGetMagic, extensions should
define the magic words in a separate file:

https://www.mediawiki.org/wiki/Manual:Magic_words#Defining_magic_words

Gmane