One of the other errors I am encountering on my Miraheze wiki is the Lua error which reads: Lua error in Module:ProcessArgs at line 45: attempt to call local 'p' (a table value).

In looking at the Module page itself, I see that the error even shows up there:
https://voxelibre.miraheze.org/wiki/Module:ProcessArgs

The fact that the error is on the actual Module's page says to me something is really wrong.

****

My overall goal is to try and create two Infobox templates of my own -- Infobox block and Infobox item.
Here is the page that is giving me inspiration:
https://minecraft.wiki/w/Template:Infobox_block

#Miraheze #Mediawiki #Scribunto #Lua #LuaError

So, of the tmeplates that have script errors, there are two common parts of script that I have confirmed clears the errors when removed from those template page

The first one is "{{Documentation}}" . Yes that is the way that Mediawiki knows to insert documentation . If removing that from the affected templates is what woks, than it works. However, I imagine that {{Documentation}} is the way that templates can transclude the /doc page). Using 2 sets of brackets with the word "Documentation" inside it is the most basic way to bring in a Documentation page.

Interestingly enough, the OTHER code causing these errors is something like this:
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}

Seeing "main" in that code would definitely make sense on why Im getting the Script error: "The function "main" does not exist. ". Unlike the {{Documentation}} reference, I am not sure how to remove this without causing issue.

#MediawikiTemplates #Scribunto

Wikimedia 新計畫:WikiFunctions

Wikimedia 的新計畫 WikiFunctions:「Introducing Wikifunctions: first Wikimedia project to launch in a decade creates new forms of knowledge」。

官方的說明中提到 WikiFunctions 是提供給 Wikimedia 其他的計

https://blog.gslin.org/archives/2023/12/12/11521/wikimedia-%e6%96%b0%e8%a8%88%e7%95%ab%ef%bc%9awikifunctions/

#CMS #Computer #Murmuring #Network #Programming #Software #Wiki #WWW #extension #foundation #lua #mediawiki #module #scribunto #wiki #wikifunctions #wikimedia

Wikimedia 新計畫:WikiFunctions

Wikimedia 的新計畫 WikiFunctions:「Introducing Wikifunctions: first Wikimedia project to launch in a decade creates new forms of knowledge」。 官方的說明中提到 WikiFunctions 是提供給 Wikimedia 其他的計畫用的程式碼: Wikifunctions is a Wikimedia project for everyone to...

Gea-Suan Lin's BLOG
Is anyone here familiar with the #Scribunto extension on #MediaWiki? I'm trying to figure out if it can fetch lists of pages -- like pages in a category or pages whose titles match a simple search pattern.