Board Thread:Support Requests - Getting Technical/@comment-4953843-20181120145436/@comment-9605025-20181127000030

Thanks Fandyllic for bumping this thread. I actually saw it a few days ago but didn't have the time at the moment and then forgot about it.

As far as I know, DPL does not provide a way to strip article content other than by labeled sections and/or headings (and perhaps a few other methods which require clear delimiters in the page's wikitext). However, what you can try is using a custom output format that passes the entire page content to #replace. One potential issue with this is that, in order to remove all images, you would need to search for a regular expression (regex). I have never done this before so I don't know if #replace accepts regex input (and the document doesn't clearly say). - Edit:

An alternative method would be to use labeled sections. However, whether you include everything but images or exclude images, this would require that you go back and modify every single page that has an image(s). Furthermore, it would require careful editing of existing pages to ensure that content is properly placed in/out of the labeled sections. The same goes for the creation of new pages. In short, it would likely be a very impractical solution.