function __construct($engine)
 {
     if ($this->stringLengthLimit === null) {
         global $wgMaxArticleSize;
         $this->stringLengthLimit = $wgMaxArticleSize * 1024;
     }
     $this->manualCheckForU110000AndUp = mb_check_encoding("����", "UTF-8");
     $this->patternRegexCache = new MapCacheLRU(100);
     parent::__construct($engine);
 }
 /**
  * @brief Constructor.
  *
  * @param Scribunto_LuaEngine $engine Scribunto engine.
  */
 public function __construct($engine)
 {
     parent::__construct($engine);
 }