Toots for stjn@wikis.world account

Written by stjn on 2025-01-24 at 14:13

So, today I finally bit the bullet and forked DisamAssist, an extremely useful user script for fixing disambiguation page links. #WPScripts

You can comment on the topic discussing this in English Wikipedia:

https://en.wikipedia.org/wiki/User_talk:Qwertyytrewqqwerty/DisamAssist#2025_DisamAssist_fork_and_maintenance

Current script documentation (my fork is only used in Russian version):

https://en.wikipedia.org/wiki/Wikipedia:DisamAssist

=> More informations about this toot | View the thread

Written by stjn on 2025-01-17 at 16:10

An idea I have for a Lua module: a unit tests module like https://en.wikipedia.org/wiki/Module:UnitTests but with tests defined on the same page as the module code is. Currently, testing code is too complicated since tests are handled separately from the live code.

What I want seems possible using that module already but I don’t see a way how I can make it work without calling unit test module in every template instance. If anyone has ideas, let me know.

=> More informations about this toot | View the thread

Written by stjn on 2025-01-06 at 17:46

[#]LuaModules are the only cool way to write complex wikitext templates in #MediaWiki. I want to showcase great stuff me or others have done with it.

Starting with: https://ru.wikipedia.org/wiki/Модуль:Вложенный_список is a Lua module for displaying disambiguation pages as sublists. Compared to previous wikitext, this module

— improved accessibility of HTML,

— allowed not to worry about template loops any more,

— added checks for HTML validity and page problems.

Lua made this very easy and made code easy to extend in future.

=> More informations about this toot | View the thread

Written by stjn on 2024-11-26 at 20:24

Just released a new user script for easier maintenance of @mediawiki (#MediaWiki) interface messages. It links to #translatewiki translations for easier fixing and adds helpful popups with links in uselang=qqx mode. Helpful for both translators and non-translators alike. #MWScripts

Try it out:

https://www.mediawiki.org/wiki/Translator_Buddy

=> More informations about this toot | View the thread

=> This profile with reblog | Go to stjn@wikis.world account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/110310567031805741
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
276.089312 milliseconds
Gemini-to-HTML Time
0.938943 milliseconds

This content has been proxied by September (3851b).