Extension talk:Scribunto/Example extension

Hi

I was interested to do try the same socket extension in my privat wiki without success.

Did you arrange the extension to work on your wiki ?

Regards G


 * Hi! Sorry, I haven't had any luck.  I ended up getting frustrated with the lack of documentation and lack of response and just implementing the functionality I needed as a separate extension.  I guess Lua's useful if you want to write in something better than wiki markup, but for anything more complicated than loops and builtin string processing functions I guess you still have to go to PHP.

is the external function declaration in.
 * Hacking into  could help. You have to whitelist your lua library in   and include the C headers file: , which ought to be present in  , after you have installed the -dev package. Then, within   you have to register that library:

Unfortunately, this is not enough. When I remake luasandbox, I get error "undefined symbol luaopen_your_lib", although the .h file is successfully included and .so file is present in the system. So, something more has yet to be done. If this information helps you to load your library, please let me know how. Alex Mashin (talk) 14:55, 22 February 2014 (UTC)