On 8/21/05, Andrew Lih andrew.lih@gmail.com wrote:
Cormac, puzzling why your Aug 11 post is missing.
Beats the hell out of me.
As for the task of finding what links here, you could do the low tech hack of just sending a hand crafted URL that sends back the first 5000 links, like this query that finds out how many folks link to WP:POINT:
http://en.wikipedia.org/w/index.php?title=Special:Whatlinkshere&target=W...
I use 5000 since the last time I checked, the most any query will return is 5000 for db performance reasons. If there are more than 5000, alter the "offest" number to 1, then rinse, lather and repeat.
Thanks - laborious, but at least it's easy to actually accomplish
At least that way, you're not having to hack XML, SQL, Python.
Aarrrggh
If you know some shell scripting, then you can automate this somewhat with curl/wget to automate the fetching of these pages, then use some combo of grep/wc to actually find out how many user page, project pages, talk pages, etc link to policy pages.
-Andrew (User:Fuzheado)
This is all Klingon to me - is there an encyclopedia of that somewhere? :-)
Cormac