Hello, you have come here looking for the meaning of the word
Wiktionary:Grease pit/split.php. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Wiktionary:Grease pit/split.php, but we will also tell you about its etymology, its characteristics and you will know how to say
Wiktionary:Grease pit/split.php in singular and plural. Everything you need to know about the word
Wiktionary:Grease pit/split.php you have here. The definition of the word
Wiktionary:Grease pit/split.php will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Wiktionary:Grease pit/split.php, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
<?php
$wgExtensionFunctions = "wfComponentWordLinksExtension";
function wfComponentWordLinksExtension() {
global $wgParser;
$wgParser->setHook("split", "renderComponentWordLinks");
}
function renderComponentWordLinks($input, $argv) {
global $wgParser, $wgUser;
$phrase = $wgParser->mTitle->getText();
$words = preg_split("/(+)/", $phrase, -1, PREG_SPLIT_DELIM_CAPTURE);
$skin = $wgUser->getSkin();
$output = "";
foreach ($words as $key => $word) {
if ($key & 1)
$output .= $word;
else
$output .= $skin->makeLink($word);
}
return $output;
}
?>