[Wikitech-l] Re: Filtered lists with checkboxes

2022-10-25 Thread Bináris
Strainu  ezt írta (időpont: 2022. okt. 25., K, 19:20):

>
> If you're ok with editing a list of titles, petscan [1] is all you need.
>
Thank you!
Unfortunately, this does not run in native home wiki, so it lacks the
advantage of seeing the article preview when I push my mouse over the
title, but anyway, it is useful!
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Filtered lists with checkboxes

2022-10-25 Thread Strainu
Pe marți, 25 octombrie 2022, Bináris  a scris:
> Thank you! " editing the wikipage and deleting the unwanted titles" --
yes, this is just what I want, The list may be on a temporary page, and
deleting the unwanted is even better then first marking it. Then I can use
this page as a source for the bot.
> Is there a list of these tools? I am not familiar with Toolforge, how to
find a tool by purpose.

If you're ok with editing a list of titles, petscan [1] is all you need.

If you never used it, here is how I would do it:

1. Generate the initial list of articles: on the "Categories" tab, select
your wiki and your category. On the output tab, select Format plain text.
This will get you the list.

2. Prepare the workspace: After you refresh (in order to reset all fields),
go to the "Other sources" tab and input your list of files in the "Manual
list" field, then just below add the wiki and click on "Do it!". A list of
results will appear, along with a number called psid, which uniquely
identifies the list. For example: "PSID is 23121189". Copy the link and
send them to your users.

3. Each user can then edit the article list, click on "Do it!" and give you
their psid.

4. (Optional) If you want to do more complex operations on the results, set
the output to PagePile and ask the users for the PagePile ID (or the url
they are redirected to when clicking Do it). Then use
https://pagepile.toolforge.org/?menu=filter to combine them.

Now, pywikibot does have some support for petscan, but I believe it does
not include psid. However, it's trivial to scrape the output of the text
output.

Good luck!

Strainu

[1] https://petscan.wmflabs.org/


>
> Strainu  ezt írta (időpont: 2022. okt. 25., K, 1:10):
>>
>> There are several tools working with PagePiles that can achieve the same
result, but they are all basically equivalent to editing the wikipage and
deleting the unwanted titles, which doesn't seem to be what you want.
>
>
>
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Filtered lists with checkboxes

2022-10-25 Thread Bináris
Thank you! " editing the wikipage and deleting the unwanted titles" -- yes,
this is just what I want, The list may be on a temporary page, and deleting
the unwanted is even better then first marking it. Then I can use this page
as a source for the bot.
Is there a list of these tools? I am not familiar with Toolforge, how to
find a tool by purpose.

Strainu  ezt írta (időpont: 2022. okt. 25., K, 1:10):

>
> There are several tools working with PagePiles that can achieve the same
> result, but they are all basically equivalent to editing the wikipage and
> deleting the unwanted titles, which doesn't seem to be what you want.
>
___
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/