Loading...
 
Skip to main content

Themes


Global replace "wiki"

Is there a way to easily global replace the word "wiki" with something a little more average-user friendly... maybe "document". I presume that modifying every tpl file that mentions "wiki" is one way, but is it the only way?

Thanks in advance,
trewdy

I think it'd be easier to educate the average users about the word "wiki". 😉

I'm not sure what the problem is; these days wikis are quite well-known. I see stories about them all the time in business magazines, newspapers, etc.

As for replacing the word globally, I think it would cause problems because not every instance has the same meaning. The "wiki" feature also uses that term in its name, but calling this "document" wouldn't make sense since there are also other types of documents being served, such as articles. "Document" is therefore too general to refer to the wiki section only.

Doing a global replacement would also make it very difficult to upgrade your installation, since the new files would use "wiki" again.

Am I understanding the problem correctly?

-- Gary


>
> Am I understanding the problem correctly?
>
> — Gary

Yes and no. I believe you are understanding what it is that I'd like to do, but I disagree with you on the average user's familiarity with the word "wiki". I don't think you are understanding my average user with the same familiarity as I do. Though this is expected, I would also argue that you are over estimating the knowledge of the average user spread across a wide demographic. Regardless, it's not worth arguing about. We can have our different opinions.

As for discouraging me from changing the term "wiki", I see your point and actually thought that that was the answer I was going to get, but it was worth checking. I may change a few top level instances of it to help users get to where they need to, ala doc.tikiwiki.org's replacing "Entire Site" with "Documentation" in the search bar.

Thanks for the response.
trewdy

> Doing a global replacement would also make it very difficult to upgrade your installation, since the new files would use "wiki" again.
>


Acutally, there might be a very easy way to do this by creating a new "language" file.

  1. Duplicate your current language file (such as ../lang/en/language.php) and create a new "language" (such as ../lang/mylang/language.php).
  2. Open the newly created ../lang/mylang/language.php file (in a text editor and do a global find/replace for "wiki"
  3. As admin, on your General : Admin page, change your Tiki's language to your newly created "language."


Use with carea, YMMV....

Good luck,

-Rick