Jump to content

Topic on User talk:Valerio Bozzolan

Sarang (talkcontribs)

Hi Valerio, on my desperate search for a possibility to find out whether a file is in a category or not, I saw finally that you developed exactly what I need. But I understand that it can't be used (in commons) ??

And there is no possibility, neither with templates nor with Lua, to get this information? I would be glad if you could somehow help me. Kind regards, ~~~~

Valerio Bozzolan (talkcontribs)

My friend, yep, the Extension:CategoryToolbox would be our solution. Do you have some time to start a discussion on their bar? It would be nice to explain your need and explain that this extension fit your needs and that I can give assistance in replying any technical question about that extension, and apply any requested improvement.

Sarang (talkcontribs)

Thank you for your kind answer. Yes, it will solve a special need of me.

I did not understand, where shall I start a discussion?

I tried to prove your tool, but my knowlegde how to use Lua extensions is too poor,

Valerio Bozzolan (talkcontribs)
Sarang (talkcontribs)

private MediaWiki instance ? Sounds complicated, especially because I have practically no experience with Mediawiki. May be I better wait until your tools are available in "normal" Lua libraries, may be rated as α or whatsever. Do you think that will be in some time?

Valerio Bozzolan (talkcontribs)

Apologies, I though you was a developer looking for a demo.

Anyway, once installed in a wiki, you will be able to use it like this:

{{#if:{{CategoryHasPage|CategoryName}}| do something | do not something }}

So it's very simple :) The Lua is under the hood.