It seems to me that the easiest way to do this task is to write a
wikibot which will give your table as input and will replace all the
occurrences with the replacements in the table.
Here is an information on how to write bots - it's pretty easy and I
write them from time to time for a variety of purposes:
On Sat, Feb 4, 2012 at 8:30 PM, Jude Jonassaint <jcjonassaint@...> wrote:
> Hi Yuri:
> Thank you. After I reading again the email sent I am think I did not
> explain well what I am trying to do.
> We have pages that have people name both in the title of the pages and
> in the body of the pages. We no longer want the names of the people to
> be seen so we would like to replace the name with a new unique string
> ID. So we would like to make a table of the names and generate a
> corresponding new unique ID for each name. Then we would like to be
> able to replace at once all the names we have in the table with the
> new unique IDs in the wiki.
> Say we have two pages
> John Lui - Author 1
> Jane Elle - Author 2
> we want to change those pages to
> AString - Author 1
> AdifferentString - Author 2
> With the ReplaceText extension I can change "John Lui" everywhere in
> the wiki to "AString."
> And then do the same for Jane Elle.
> Instead, to do the same thing, I would like to use a table like
> John Lui | AString
> Jane Elle | AdifferentString
> Is there a way to do this with an extension or a script?
> On Sat, Feb 4, 2012 at 10:23 AM, Yury Katkov <katkov.juriy@...> wrote:
>> If you user SemanticSignUp or SemanticSocialProfile and/or all users
>> in a wiki are represented by their pages with SMW-properties than
>> making such a list is an easy task that can be solved by the query
>> like this:
>> Sincrely yours,
>> Yury Katkov
>> On Sat, Feb 4, 2012 at 7:04 PM, Jude Jonassaint <jcjonassaint@...> wrote:
>>> In a SMW where people are identified by name we would like to replace
>>> the names with an identifier (could be a number or a string).
>>> Is there a way to take a list (spreadsheet) of the names and
>>> associated new identifiers to globally replace the names in the wiki
>>> with the corresponding identifiers in the wiki?
>>> We would hate to do this one name at a time because that would be
>>> really time consuming.
>>> Try before you buy = See our experts in action!
>>> The most comprehensive online learning library for Microsoft developers
>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>> Semediawiki-devel mailing list