';
// $linkend = ' એ'; //';//#2703;
$linkend = 'એ'; //';//#2703;
}
// кто владее вики сайтом?
/*
if (empty($ownsite)) {
$returnsite = 'http://' . $lang . '.' . $wikisite . '.org';
} else {
$returnsite = $ownsite;
$wikisite = $ownsitename;
}
*/
$wikisite = "wikipedia";
$returnsite = 'http://ru.' . $wikisite . '.org';
// Search or direct links?
if ($wikipath == 'direct') {
$rwikipath = '/';
} else {
$rwikipath = '/Special:Search/';
}
// создание линка
if (empty($first[1])) {
if (empty($second[1])) {
$link = '' . $linkstart . $first[0] . $linkend . '';
} else {
$link = '' . $linkstart . $second[1] . $linkend . '';
}
} else {
if (empty($third[1])) {
if (empty($fourth[1])) {
$link = '' . $linkstart . $first[1] . $linkend . '';
} else {
$link = '' . $linkstart . $fourth[1] . $linkend . '';
}
} else {
if (empty($fourth[1])) {
$link = '' . $linkstart . $first[1] . $linkend . '';
} else {
$link = '' . $linkstart . $fourth[1] . $linkend . '';
}
}
}
$replace = $link;
// It's time to return the code...
$content = str_replace($matches[0][$x], $replace, $content);
}
return $content;
}
?>