FillFromPagesUsingImage Not Working For Some Images
Make robots for MediaWiki-powered sites!
Brought to you by:
code_driller
PageList.FillFromPagesUsingImage("File:!!!-!!!_album_cover.jpg"); will not work because this image page doesn't have global usages. And the current code use global usages tag as the token.
By replacing:
src = Bot.GetSubstring(src, "<h2 id=\"filelinks\"", "<h2 id=\"globalusage\"");
to:
src = Bot.GetSubstring(src, "<h2 id=\"filelinks\"", "</ul>");
the bug is fixed.
Yes, thank you. Accepted. Fixed in v3.11.