Questions tagged [scribunto]

Scribunto is a parser extension which allows for embedding scripting languages in MediaWiki.

Scirbunto currently only supports the Lua programming language.

20 questions
0
votes
1 answer

How do you edit a Scribunto-based MediaWiki template?

I have imported a few templates to my wiki from Wikipedia. I believe most of them use Scribunto. None of this was a problem until recently, when I needed to edit one of them. The template in question is Wikipedia's {{Key press}}. The source code…
Llamax
  • 313
  • 2
  • 13
0
votes
1 answer

How to add alias for extension namespace in wikimedia?

I am trying to create my custom copy of italian wikipedia from the dump. I encounter the problem with some of extensions. I have got the error: Lua error in package.lua at line 80: module 'Modulo:String' not found. The problem is that there is…
Luk
  • 2,186
  • 2
  • 11
  • 32
0
votes
2 answers

Creating sections with Scribunto with edit link

I'm trying to create a Scribunto module which, among other things, can create a section header in its output. If the returned string contains, for example, == Hello World ==, the resulting page correctly displays the section, and even includes the…
Brian S
  • 4,878
  • 4
  • 27
  • 46
0
votes
1 answer

Get query string from Mediawiki page

Is there any way (like an undocumented magic word perhaps) to get the current query string (or full URL including query string) from within a Mediawiki template or Scribunto (Lua) module?
Brett Zamir
  • 14,034
  • 6
  • 54
  • 77
-1
votes
1 answer

Wiki/Lua: Where do I place modules?

I'm building a Wiki on my computer and I would like to use Template:Infobox person. I have uploaded the template and also all dependencies it wants. Now it says the module "Check for unknown parameters" does not exist. I found the module on…
1
2