John Vandenberg

Results 966 comments of John Vandenberg

The other major difference is that mwpfh orders inner template invocations after the template they were used in. The mwpfh approach complicates processing templates in order, as all dependencies have...

I agree. It would be good to have a mode that performs stripping per the MW engine. This mode could also strip comments, noinclude, etc so the caller 'sees' roughly...

IMO `strip_code` should strip all attributes of `media:`, `file:` and `category:` links that are not prefixed with `:`. Even the `file:` title is more code than text, as it has...

> Why namespace numbers? Somehow the names of `Media:`, `File:` and `Category:` namespaces need to be provided, if they are to be treated differently. They have hard-coded well-known identifiers: namespace...

The two trees would be very different for almost every page where the differences are likely to be interesting. e.g. we would need to remove lists from both trees, to...

the core pwb library (v2.0) doesnt have a lot of dependencies. in fact, only one dependency: httplib2. We are in the process of completing/packaging pwb v2.0 And that is the...

What is the minimum version of python that wikiteam _wants_ support for. I see dumpgenerator tries to support py2.4 on line 35 "from md5 import new as md5" to provide...

pywikibot works on python 3 ;-) with 500+ tests https://travis-ci.org/wikimedia/pywikibot-core

It is every time. I can try randomising the test order to see if that gives us more info. Is there anything else I could do to help diagnose the...

When a stream contains a BOM , usually it is 'utf-8-sig' opened as default 'utf-8', and typically it is a file created on Windows, or pipe in Powershell. It is...