Good idea. Thank you, I am not very familiar with JS, but I will try it.

Marcin Szwarc <marcinszwarc@hotmail.com> ezt írta (időpont: 2022. okt. 24., H, 23:05):
Hi, Bináris

A client-side JavaScript code might help with that. This would remove a need of deploying any code to all users of the wiki while retaining the page previews.

An overview of a solution:
- find all links on the current page
- create a checkbox for every link (and tag them with page title, for example using dataset property)
- when you finish marking articles, query the selected boxes
- display the output in any format you're comfortable with

Cheers,
Msz2001



Od: Bináris <wikiposta@gmail.com>
Wysłano: poniedziałek, 24 października 2022, 22:54
Do: Wikimedia developers <wikitech-l@lists.wikimedia.org>
Temat: [Wikitech-l] Filtered lists with checkboxes

Hi,

I work with large categories. My dream is to upload a list of articles to a wikipage, where there are checkboxes next to the titles, and I can click. The page would return a filtered lists which I can use with my bot to change the category.
On an advanced level, several columns of checkboxes could exist do divide the category to subcats.

Checkbox is not the aim, it is only a way I can explain what I want to do. Of course, I can do it in Excel, but 1. on a wikipage I can move my mouse on the title and see the part of the content, and in Excel I cannot, 2. I can offer a wikipage to another user to make the filtering, an then do the work with bot.

As far as I see, the most natural way is to code this in PHP, which needs a MediaWiki extension, if anyone feels like, and likes my idea...
By that time, do you know about such service on the tolserver? Or can I do it myself somehow with Lua?

--
Bináris

_______________________________________________
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/


--
Bináris