-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Il giorno 30/lug/09, alle ore 20:19, Matias ha scritto:
On Thu, Jul 30, 2009 at 12:17 PM, Pietrodn powerpdn@gmail.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Il giorno 24/lug/09, alle ore 21:31, Chris Watkins ha scritto:
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?
You can file a bug on https://jira.toolserver.org/browse/DBQ (Toolserver's Database Query Service): a user will query the replicated MySQL database for you. You can also download the XML dump from http://download.wikimedia.org and:
- use the bot on it, or
- use MWDumper to import it in your local MySQL and make a query.
I think that cannot be done in Toolserver with a query, because tables are part of page text and that is no available in Toolserver's db.
You're right. Sorry for my error. So you've got only two alternatives (bot and MySQL), both involving downloading the XML dump. I think it's not a good idea to query the live site, because it would be too slow (there are throttle limits by the MediaWiki software itself) and it would take too many resources. Which wiki are you going to operate on?
"I'm Outlaw Pete, I'm Outlaw Pete, Can you hear me?" Pietrodn powerpdn@gmail.com