User:Rical/Tests

User:Rical/Tests, Module:mathRoman.lua, valeurDeRomain.js, LocalSettings.php, vector.js, common.js, commons.js, monobook.js,

Invoking Lua from wikitext, example
 * Test by Module mathRoman.lua :




 * Test by localhost script calculromain.js :
 * http://localhost:8888/calculromain.html


 * Lua scripting test by tag :

 function hello(s) return string.format(" Lua scripting is OK here : %s!", s) end print(hello(who))

Pour importer le script, ajouter dans votre page monobook.js le code suivant :