Been there, done that.  I assume you're talking about Page.imagelinks().  That 
gets you the images in arbitrary order.  I need to get them in the order 
they're in the wikitext.  A given nomination can be approved, dis-appoved, 
re-approved, etc, as people squabble over the nomination.  The last one is the 
one that counts.

> On Mar 28, 2023, at 10:57 PM, John <phoenixoverr...@gmail.com> wrote:
> 
> If you are looking to check for image/file usage it’s better to query the api 
> for just image used images instead of trying to parse wiki text 
> 
> On Tue, Mar 28, 2023 at 10:29 PM Roy Smith <r...@panix.com 
> <mailto:r...@panix.com>> wrote:
> 

_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/V5T4FDJHD3JIXTFSUJMG5NXVOMTP3U73/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

Reply via email to