Thank you Satdeep!
The feature has been deployed yesterday.
Sadly there is a bug in the editing user interface that disables the
nice editing widget on Index: pages when no category is present. A
correction of this problem is already written and hopefully should be
deployed next week:
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ProofreadPage/+/531551
I have also updated the HotCat code to work with Index: pages on
commons.wikimedia.org. All Wikisources reusing the Commons's code
should now having HotCat working with Index: pages (I already checked
en, fr, es, it, de and ml).
Cheers,
Thomas
Le lun. 19 août 2019 à 16:44, Satdeep Gill <sgill(a)wikimedia.org> a écrit :
This is exciting, TPT.
I just checked it and it looks great! This was such a necessary feature that we were
missing. Thank you so much for working on it.
Best
Satdeep
El lun., 19 de agosto de 2019 4:39 p. m., Thomas Pellissier Tanon
<thomas(a)pellissier-tanon.fr> escribió:
Dear all,
A new feature should be deployed on Wikisource Wednesday. it allows to
easily add categories to Index: pages.
A new field is added at the end of the Index: pages editing interface
that allows to input the categories the Index: page should be in.
The change is already live on the beta environment:
https://en.wikisource.beta.wmflabs.org/wiki/Index:Wind_in_the_Willows_(1913…
The categories Foo, Bar and Bat are added using the new feature.
The categories inserted inside of other Index: pages fields still work
as before.
It uses a JavaScript editing widget similar to HotCat with a text
based fallback for editors with JavaScript disabled or too old web
browsers.
For bots/gadgets people: these categories are serialized in Wikitext
just like in regular wikitext pages, at the end of the Index: pages
wikitext serialization. Most bots/tools should that are used to deal
with categories should work without changing anything. You might
however need to loosen the content model filter from "wikitext" to
"wikitext" or "proofread-index".
For interface editors: the "category" field is a "magic" field
directly managed by ProofreadPage. You do not need to (and you could
not) add it using the usual ProofreadPage system messages.
Cheers,
Thomas
_______________________________________________
Wikisource-l mailing list
Wikisource-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l
_______________________________________________
Wikisource-l mailing list
Wikisource-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l