There are some extra encodings in wikitools that break non-latin texts where performing a search.
I'm not sure if they are needed since link is already encoded using url().

Quick fix for this below.

Change

function wikitools_create_url($type, $title) {
  return url("node/add/$type", 'edit[title]='. urlencode($title));

}

/**
 * Build an url to search for a title.
 * @param $title
 *   title to search for
 */
function wikitools_search_url($title) {
  return url('search/node/' . urlencode($title));

}

to:

function wikitools_create_url($type, $title) {
  return url("node/add/$type", 'edit[title]='. $title);
}

/**
 * Build an url to search for a title.
 * @param $title
 *   title to search for
 */
function wikitools_search_url($title) {
  return url('search/node/' . $title);
}

Comments

cwgordon7’s picture

Status: Needs review » Fixed

Fixed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.