X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FDateFormatter.php;h=cfd53702fa788f9b19c1decea293533abcf33bd3;hb=f8067de9fc4f0fd05508a96f54a3207af7f53679;hp=f0226467655d8c4e678830087f3ceb62dc037154;hpb=0ff2c62197fdaf79f82d8657afd70621725c9762;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/DateFormatter.php b/includes/parser/DateFormatter.php index f022646765..cfd53702fa 100644 --- a/includes/parser/DateFormatter.php +++ b/includes/parser/DateFormatter.php @@ -27,40 +27,11 @@ * @ingroup Parser */ class DateFormatter { - protected $mSource; + var $mSource, $mTarget; + var $monthNames = '', $rxDM, $rxMD, $rxDMY, $rxYDM, $rxMDY, $rxYMD; - protected $mTarget; - - /** @var string */ - protected $monthNames = ''; - - /** @todo Are these unused? */ - private $rxDM; - private $rxMD; - private $rxDMY; - private $rxYDM; - private $rxMDY; - private $rxYMD; - - /** @var array */ - protected $regexes; - - /** @todo Are these unused? */ - private $pDays; - private $pMonths; - private $pYears; - - /** @var array */ - protected $rules; - - /** @var array */ - protected $xMonths; - - /** @var array */ - protected $preferences; - - /** @var bool */ - protected $mLinked; + var $regexes, $pDays, $pMonths, $pYears; + var $rules, $xMonths, $preferences; protected $lang;