Firstly, categoryToCheck is set to [[Category:Protected]] which is wrong.
When categoryToCheck is set to [[Category:Wikipedia protected pages]], it gives the following error because it has not been configured for English Wikipedia.
If blockpageschecker.py is run on
Loading [[OMICS Group]]... Traceback (most recent call last): File "pwb.py", line 153, in <module> run_python_file(fn, argv, argvu) File "pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "scripts/blockpageschecker.py", line 498, in <module> main() File "scripts/blockpageschecker.py", line 336, in main replaceToPerform = u'|'.join(TTP + TSP) TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType' <type 'exceptions.TypeError'>
Support for English Wikipedia has been disabled since 2008 with this changeset, as 'en' was set to None for all the other configuration fields.