[Wikitech-l] Re: Use case for sha1 in revisions

2023-03-23 Thread Bináris
Thank you, now it is quite clear! ___ 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: Use case for sha1 in revisions

2023-03-23 Thread Dan Andreescu
As for external use, it's very useful. Before MW instrumented reverts, we have ~20 years of revisions and we don't know which ones revert previous revisions. With the sha, we join and determine this information. You can see that code here

[Wikitech-l] Re: Parsing a page: any sections missing

2023-03-23 Thread JJMC89
Probably February 23 for dewiki. T332243 is the bug report due to this unannounced breaking API change. On Thu, Mar 23, 2023 at 11:39 AM Martin Domdey wrote: > Hi Thiemo, > > since when is it so? February 22nd it worked properly last time. > > Kind

[Wikitech-l] Re: Parsing a page: any sections missing

2023-03-23 Thread Martin Domdey
Hi Thiemo, since when is it so? February 22nd it worked properly last time. Kind regards Doc Taxon ... Am Do., 23. März 2023 um 19:35 Uhr schrieb Thiemo Kreuz < thiemo.kr...@wikimedia.de>: > The page contains __NOTOC__. That's why the "sections" property is empty. > > Best > Thiemo >

[Wikitech-l] Re: Parsing a page: any sections missing

2023-03-23 Thread Thiemo Kreuz
The page contains __NOTOC__. That's why the "sections" property is empty. Best Thiemo ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org

[Wikitech-l] Parsing a page: any sections missing

2023-03-23 Thread Martin Domdey
Hi, I'm parsing a page, but get not one section with page https://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Kategorien/Warteschlange , using this: https://de.wikipedia.org/wiki/Spezial:ApiSandbox#action=parse=json=Wikipedia%3AWikiProjekt%20Kategorien%2FWarteschlange=sections=2 The parsing of

[Wikitech-l] Re: Use case for sha1 in revisions

2023-03-23 Thread Gergő Tisza
On Wed, Mar 22, 2023 at 11:06 PM Brian Wolff wrote: > This kind of sounds like a non-answer, but its mostly useful if you want a > hash of the revision. I dont think mw core really uses it, but it can be > useful for quickly detecting duplicate revisions. I think primarily it is > for external

[Wikitech-l] Re: Use case for sha1 in revisions

2023-03-23 Thread Bináris
Vi to ezt írta (időpont: 2023. márc. 23., Cs, 12:03): > Afair this avoids a new rev to be createad if you click "save" without > changing contents. > Great! Thx. ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an

[Wikitech-l] Re: Use case for sha1 in revisions

2023-03-23 Thread Vi to
Afair this avoids a new rev to be createad if you click "save" without changing contents. Vito Il giorno gio 23 mar 2023 alle ore 11:35 Bináris ha scritto: > Thanks! > > Brian Wolff ezt írta (időpont: 2023. márc. 23., Cs, > 7:06): > >> This kind of sounds like a non-answer, but its mostly

[Wikitech-l] Re: Use case for sha1 in revisions

2023-03-23 Thread Bináris
Thanks! Brian Wolff ezt írta (időpont: 2023. márc. 23., Cs, 7:06): > This kind of sounds like a non-answer, but its mostly useful if you want a > hash of the revision. I dont think mw core really uses it, but it can be > useful for quickly detecting duplicate revisions. I think primarily it is

[Wikitech-l] Re: Use case for sha1 in revisions

2023-03-23 Thread Brian Wolff
This kind of sounds like a non-answer, but its mostly useful if you want a hash of the revision. I dont think mw core really uses it, but it can be useful for quickly detecting duplicate revisions. I think primarily it is for external users. -- Brian On Wednesday, March 22, 2023, Bináris wrote: