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 <phoenixoverride@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 <roy@panix.com> wrote: