* @ingroup Language
*/
-require_once( __DIR__ . '/../LanguageConverter.php' );
+require_once __DIR__ . '/../LanguageConverter.php';
/**
* Conversion script between Latin and Tifinagh for Tachelhit.
* @ingroup Language
*/
class ShiConverter extends LanguageConverter {
-
protected $mDoContentConvert;
public $mToLatin = array(
* update: delete all rule parsing because it's not used
* currently, and just produces a couple of bugs
*
- * @param $rule string
- * @param $flags array
+ * @param string $rule
+ * @param array $flags
* @return array
*/
function parseManualRule( $rule, $flags = array() ) {
/**
* Do not convert content on talk pages
*
- * @param $text string
- * @param $parser Parser
+ * @param string $text
+ * @param Parser $parser
* @return string
*/
function parserConvert( $text, &$parser ) {
- $this->mDoContentConvert = !( is_object( $parser->getTitle() ) && $parser->getTitle()->isTalkPage() );
+ $this->mDoContentConvert = !( is_object( $parser->getTitle() )
+ && $parser->getTitle()->isTalkPage() );
return parent::parserConvert( $text, $parser );
}
* names as they were
* - do not try to find variants for usernames
*
- * @param $link string
- * @param $nt Title
- * @param $ignoreOtherCond bool
+ * @param string $link
+ * @param Title $nt
+ * @param bool $ignoreOtherCond
*/
function findVariantLink( &$link, &$nt, $ignoreOtherCond = false ) {
// check for user namespace
* An ugly function wrapper for parsing Image titles
* (to prevent image name conversion)
*
- * @param $text string
- * @param $toVariant bool
+ * @param string $text
+ * @param bool $toVariant
*
* @return string
*/
/**
* It translates text into variant
*
- * @param $text string
- * @param $toVariant string
+ * @param string $text
+ * @param string $toVariant
*
* @return string
*/