Hey John This is no problem originating from your setup. Scribunto on itself together with your lua installation seems to work as intended. Your wiki parses and interprets your Modules correctly up to the point, where it runs into a script error: Your Module:Effective_protection_expiry calls a parser function named PROTECTIONEXPIRY which is a magic word introduced in MW 1.27. Since you are running 1.25.1 this is not present in your system, therefor lua issues a runtime error. Again: that is to be expected. You installed and configured Scribunto correctly, now you have to get your modules working. This, however, can be tedious. I speak from experience... :/
Regards, Tobias Oetterer -- If this email is rather brief, it is not meant to be impolite but to respect your time. http://five.sentenc.es No trees were killed to send this message, but a large number of electrons were terribly inconvenienced University of Paderborn Zentrum IMT Warburger Straße 100 33098 Paderborn Office: N5.341 Phone: 05251/60-2194 Internet: http://imt.uni-paderborn.de -----Ursprüngliche Nachricht----- Von: MediaWiki-l [mailto:mediawiki-l-boun...@lists.wikimedia.org] Im Auftrag von John Foster Gesendet: Samstag, 30. Januar 2016 01:22 An: MediawikiSupport (mediawiki-l@lists.wikimedia.org) Betreff: [MediaWiki-l] More Lua stuff not working OK, So i'm trying again to get Lua to work on my server., Specs; ubuntu linux; Apache, mysql, mediawiki 1.25.1, lua 5.0 5.1 5.2 all installed from ubuntu; Scribunto versions of binaries are sketchy and have consistently failed to work properly. Lua is executable from the command line so I am certain there are no issues there. In the snip from local settings below, the 'lua' is a symbolic link to lua5.2 as set up by my distro manager. I have extension Scribunto installed and configured thusly in LocalSettings require_once( "$IP/extensions/Scribunto/Scribunto.php" ); $wgScribuntoEngineConf['lua']['luaPath'] = ( '/usr/bin/lua' ); $wgShowExceptionDetails = true; $wgScribuntoUseGeSHi = true; $wgScribuntoUseCodeEditor = true; Now this is the error message I'm getting. I have googled it and there seem to be a crap load of sites with this issue. Lua error: callParserFunction: function "PROTECTIONEXPIRY" was not found. Backtrace: 1. *(tail call)*: ? 2. *[C]*: in function "error" 3. *MWServer.lua:69*: ? 4. *(tail call)*: ? 5. *(tail call)*: ? 6. *Module:Effective_protection_expiry:20 <http://www.physicswiki.net/index.php?title=Module:Effective_protection_expiry&action=edit#mw-ce-l20>*: in function "effectiveProtectionExpiry" 7. *Module:Protection_banner:137 <http://www.physicswiki.net/index.php?title=Module:Protection_banner&action=edit#mw-ce-l137>*: in function "new" 8. *Module:Protection_banner:872 <http://www.physicswiki.net/index.php?title=Module:Protection_banner&action=edit#mw-ce-l872>* : ? 9. *(tail call)*: ? 10. *mw.lua:511*: ? 11. *(tail call)*: ? 12. *[C]*: in function "xpcall" 13. *MWServer.lua:87*: in function "handleCall" 14. *MWServer.lua:301*: in function "dispatch" 15. *MWServer.lua:40*: in function "execute" 16. *mw_main.lua:7*: in main chunk 17. *[C]*: ? I have virtually no idea how to fix this. I do have all the required modules installed also. Thanks in advance for any tips. John _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l