Page MenuHomePhabricator

Missing possibility to retrieve images from a page that were not included through templates
Open, Needs TriagePublic

Description

For the image parsing, the function linkedPages(withImageLinks = True)
used to provide images that were not included through templates, while
imageLinks would provide all the images. In core, the linkedPages
function no longer provides this capability, and I haven't found any
replacement


Version: core-(2.0)
Severity: minor

Details

Reference
bz55881

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:15 AM
bzimport added a project: Pywikibot-General.
bzimport set Reference to bz55881.
bzimport added a subscriber: Unknown Object (????).
Strainu created this task.Oct 18 2013, 4:36 PM

@droid: you should write a functionality that gets a wikitext and extract all links in it and add a prameter like withimages=True, or namespace=[a bunch of namespaces] (which I prefer the latter)

The issue happened when the method is changed internally and the output is being obtained through API instead of content parsing.