You could do this in phpMyAdmin (if you have it up) or write your own
PHP script that accesses the database and searches in mySQL (where the
search you want is right easy) and then delete the entries. Would be
simple PHP (just a database connection and an SQL query or two -- one
search, one delete), but be careful of dead links appearing on pages
that you retain! If, on the other hand, you need to review the pages
before you delete, let the script print out a list of the links instead
of deleting.
If this is an option, write back and I'll post some sample code for you
to modify.
~ Manfred
Is it possible using API.php to search for page titles
in a specified
namespace that have been last modified between two dates? I know I can use
rvprop to get revision history of pages but it requires one to specify which
pages. I kinda want to reverse that, specify the dates and return the page
names. I am guessing this can be done by using a generator to list all pages
and send it to prop?
Our wiki just has many old and outdated pages created over the past few
years and we want to remove these page. I am hoping to find a way to help
automate this process rather then going page by page ><
If it's not possible doing it via the API, is there some other alternative
method for doing this?
Walter Mazza
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l