MediaWiki  1.23.15
CLDRPluralRuleConverter_Expression.php
Go to the documentation of this file.
1 <?php
2 
21  public $type;
22 
24  public $rpn;
25 
26  function __construct( $parser, $type, $rpn, $pos, $length ) {
27  parent::__construct( $parser, $pos, $length );
28  $this->type = $type;
29  $this->rpn = $rpn;
30  }
31 
32  public function isType( $type ) {
33  if ( $type === 'range' && ( $this->type === 'range' || $this->type === 'number' ) ) {
34  return true;
35  }
36  if ( $type === $this->type ) {
37  return true;
38  }
39  return false;
40  }
41 }
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
CLDRPluralRuleConverter_Fragment\$length
$length
Definition: CLDRPluralRuleConverter_Fragment.php:18
CLDRPluralRuleConverter_Fragment
Helper for CLDRPluralRuleConverter.
Definition: CLDRPluralRuleConverter_Fragment.php:17
CLDRPluralRuleConverter_Fragment\$pos
$pos
Definition: CLDRPluralRuleConverter_Fragment.php:18
CLDRPluralRuleConverter_Expression
Helper for CLDRPluralRuleConverter.
Definition: CLDRPluralRuleConverter_Expression.php:19
CLDRPluralRuleConverter_Fragment\$parser
$parser
Definition: CLDRPluralRuleConverter_Fragment.php:18
type
This document describes the state of Postgres support in and is fairly well maintained The main code is very well while extensions are very hit and miss it is probably the most supported database after MySQL Much of the work in making MediaWiki database agnostic came about through the work of creating Postgres as and are nearing end of but without copying over all the usage comments General notes on the but these can almost always be programmed around *Although Postgres has a true BOOLEAN type
Definition: postgres.txt:22
CLDRPluralRuleConverter_Expression\$rpn
string $rpn
Definition: CLDRPluralRuleConverter_Expression.php:22
CLDRPluralRuleConverter_Expression\isType
isType( $type)
Definition: CLDRPluralRuleConverter_Expression.php:30
CLDRPluralRuleConverter_Expression\__construct
__construct( $parser, $type, $rpn, $pos, $length)
Definition: CLDRPluralRuleConverter_Expression.php:24
CLDRPluralRuleConverter_Expression\$type
string $type
Definition: CLDRPluralRuleConverter_Expression.php:20