The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 15: | Line 15: | ||
## Strip out interlanguage links, if any - step through each one to avoid false positives. This regex match code should get almost all, with few false positives: '''''^\[\[([a-z][a-z][a-z]?[\:\-]|simple\:)[^\]]+\]\](\r?\n)?''''' and hit delete or replace with nothing. | ## Strip out interlanguage links, if any - step through each one to avoid false positives. This regex match code should get almost all, with few false positives: '''''^\[\[([a-z][a-z][a-z]?[\:\-]|simple\:)[^\]]+\]\](\r?\n)?''''' and hit delete or replace with nothing. | ||
## Change every username - for Wikipedia, assuming you've imported only the latest revision, change usernames to "(various editors @ en.wikipedia.org)". Regex: Match '''''<nowiki>\<username\>[^\<]+\</username\></nowiki>''''' and replace with '''''<nowiki><username>(various editors @ en.wikipedia.org)</username></nowiki>''''' | ## Change every username - for Wikipedia, assuming you've imported only the latest revision, change usernames to "(various editors @ en.wikipedia.org)". Regex: Match '''''<nowiki>\<username\>[^\<]+\</username\></nowiki>''''' and replace with '''''<nowiki><username>(various editors @ en.wikipedia.org)</username></nowiki>''''' | ||
# Double check there are no existing templates (e.g. do a quick search and eyeball each <title> line | # Double check there are no existing templates (e.g. do a quick search and eyeball each <title> line) | ||
# Import here. | # Import here. | ||
# Check the templates. | # Check the templates. |