The getReferences() function needs to be re-written due to the new change
in the What links here page since the addition of '(inclusion)' marking things
as templates. The reason is that the current regex will count that as a
redirect.
I am in the current process of re-writing this function, but in case anyone
wants to beat me to it, I suggest the following all encompassing regular
expression to use:
re.compile('<li><a href=".*?" title=".*?">(.*?)</a> *\(*(inclusion|redirect page)*\)*.*?</li>')
group(1) will give you the title, and group(2) of the search will be either:
'', 'inclusion', 'redirect page'
--
Jason Y. Lee
AKA AllyUnion