https://bugzilla.wikimedia.org/show_bug.cgi?id=17554





--- Comment #2 from Dan Barrett <mediaw...@blazemonger.com>  2009-02-21 
13:11:53 UTC ---
Hmmm.  I don't see why this is "modifying aspects of the page history."  It's
just importing a new, current version at the current time, not in the past.

If the MediaWiki API can do this simply, that's great. Where can I see a
complete example that does search-and-replace in general?  ("In general"
meaning "you don't have to write a new PHP script for every search/replace
operation.")  Somehow I wonder, if it were this simple, wouldn't someone
already have written a search-and-replace Special Page?

Also, I think the import solution is better than an API solution in one
respect: you can see and validate your changes (in the XML file) before import.
 With the API, if you get your search-and-replace patterns wrong (which is VERY
easy to do), you've modified your content wrongly. I find that more "scary"
than modifying an XML file you can check in advance.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to