Topic on Extension talk:Scribunto

2600:1003:B45D:D34B:D4EB:D72B:9F2:C36E (talkcontribs)

I installed this extension so I would be able to install modules, but I can't figure out how to install them.

I followed the instructions on this page and the extension is working, but if I wanted to install something like the String module, do I just copy the script, save it as something.extension and upload it to my extensions/Scribunto/modules/ directory?

Even the "hello world" Bananas module doesn't say where or how to save it.

Mr. Stradivarius (talkcontribs)

You save them as pages on the wiki itself. To "install" the string module, copy it, edit the page "Module:String" on your wiki, paste the contents, and save the page. If the modules you install depend on any other modules, you will need to install those as well, or you may get errors. I'm not aware of any way to automatically find module dependencies like that - I usually just eyeball them for "require" statements.

2600:1003:B45D:D34B:D4EB:D72B:9F2:C36E (talkcontribs)

Thank you very much!

IcarusATB (talkcontribs)

Thank you very much for this topic! I couldn't find anywhere where this was explicitly stated.

This makes it so much more clear. Didn't realize a "Module:" was just like a "Template:" that you just save the page and it works itself out.  :P

IcarusATB (talk) 05:27, 10 April 2019 (UTC)

Reply to "Installing Modules"