Re: [SMW-devel] replace text from a table

2012-02-04 Thread Yury Katkov
Hi Jude! 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 va

Re: [SMW-devel] replace text from a table

2012-02-04 Thread Jude Jonassaint
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 n

Re: [SMW-devel] replace text from a table

2012-02-04 Thread Yury Katkov
Hi! 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: {{#ask:[[Category:User]] |?Username |?UserId format=broadtable }} Sincrely yours

[SMW-devel] replace text from a table

2012-02-04 Thread Jude Jonassaint
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