On Tue, 2011-11-15 at 09:40 +0900, [email protected] wrote: > Thank you for the link, > > I am afraid I wont be able to use it, as my knowledge of reg.exp is not that > good, > the issue I am having is due to partly importing and mass editing, than > importing the other bits and using a different edit, now 3 years and 15000 > edits later its too late to start over. > > The issue is like below, > > > Now: [[Hyam vdpp1974]] > Should be: [[Hyam v dpp (1974)]] > > > Now: [[Dppvsheldrake 2004]] > Should be: [[Dpp v sheldrake (2004)]] > > Now: [[R v moloney 1985]] > Should be: [[R v moloney (1985)]] > > Both should be "Dpp v " and "R v " but there is no way of knowing than as it > will do indiscriminatly of real names like "Ace Ventura v unix.com" > > Than there is also the following, again I should have been precise, as not > always there is a "v" in there like in > > Now: [[ criminal justice act 1988]] > should become [[ criminal justice act (1988)]] > > Mike > > > > On 13/11/11 01:39, Mike Law wrote: > >> Hello everyone, > >> > >> I am Mike, I run www.lawiki.org and was introduced to this list last > >> night > >> on the IRC channel. > >> I thought I would introduce myself and say hi, > > > > Welcome Mike! :) > > > >> 3) I have massive red-links issue on over 2000 pages due to some early > >> naming convention mistakes. Someone wrote a script in C that would > >> correct > >> it and this is 80% finished, but this person left and I am not able to > >> continue fine tuning it on my own. This script will run on a database > >> dump > >> and will automatically chance all links and titles to a correct naming > >> convention. > > > > You may find easier to use this extension > > http://www.mediawiki.org/wiki/Extension:MassEditRegex > > I had similar issues when I used an old data base & imported it into a new installation. I installed Extension:ReplaceText. It creats a new Special Page called ReplaceText. It allows you to simply input the string of text that is in the entire site then enter the string that you want to replace them with. Wait a few min for it to do its work & your done. No issues with it so far. frosty
_______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
