I hacked a little on some old perl-code I had laying around which I once wrote for making fake apache-logs from a full xml-history dump (for analyzing with analog).. It ain't pretty, but works at least for me... I have only tried it on the full "pages-meta-history" files, but it should work on any similar XML-dump.. it only searches the last revision of a page. here it is: http://toolserver.no/~stigmj/tools/src/xml-search.pl.txt
/Stigmj
On Fri, Jul 24, 2009 at 4:31 PM, Chris Watkins <chriswaterguy@appropedia.org
wrote:
Hi,
I want to list all pages in our wiki that use tables. This seems like it should be simple, but I'm not sure how to do it. Any ideas?
I know that "{|" (the beginning of a table) works as a search term, as I tried it with replace.py. However, I don't want to replace anything, and I don't want to sit there pressing "n" for each result.
Ideally I could capture just the names of the pages, without extended details (such as a proposed diff given by replace.py).
Any help much appreciated. Cheers -- Chris Watkins
Appropedia.org - Sharing knowledge to build rich, sustainable lives.
identi.ca/appropedia / twitter.com/appropedia blogs.appropedia.org
I like this: five.sentenc.es
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l