Presently, 'hastemplate()' in scripts/featured.py returns True only if:
- Both the lists i.e., ('remove_tl', 'add_tl' ) are empty. L299
- If all the templates in both the lists are existing.
But the expected behaviour should be that it returns true even if it encounters a single existing template. This is the reason probably why the script could not run while testing it with syntax:
- 'python pwb.py scripts/featured.py -featured -fromall -family:wikipedia -lang:en'
Needs to be examined once.