32use Psr\Log\LoggerInterface;
124 string $urlProtocols,
128 LoggerInterface $logger,
141 wfDebug( __CLASS__ .
": using default preprocessor" );
143 $this->svcOptions = $svcOptions;
144 $this->magicWordFactory = $magicWordFactory;
145 $this->contLang = $contLang;
146 $this->urlProtocols = $urlProtocols;
147 $this->specialPageFactory = $spFactory;
148 $this->linkRendererFactory = $linkRendererFactory;
149 $this->nsInfo = $nsInfo;
150 $this->logger = $logger;
151 $this->badFileLookup = $badFileLookup;
152 $this->languageConverterFactory = $languageConverterFactory;
153 $this->hookContainer = $hookContainer;
155 $this->wanCache = $wanCache;
157 $this->userFactory = $userFactory;
158 $this->titleFormatter = $titleFormatter;
159 $this->httpRequestFactory = $httpRequestFactory;
173 $this->magicWordFactory,
177 $this->specialPageFactory,
178 $this->linkRendererFactory,
181 $this->badFileLookup,
182 $this->languageConverterFactory,
183 $this->hookContainer,
186 $this->userOptionsLookup,
188 $this->titleFormatter,
189 $this->httpRequestFactory
192 self::$inParserFactory--;
UserOptionsLookup $userOptionsLookup
wfDebug( $text, $dest='all', array $context=[])
Sends a line to the debug log if enabled or, optionally, to a comment in output.
Internationalisation code See https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation for more...
A factory that stores information about MagicWords, and creates them on demand with caching.
Factory for handling the special page list and generating SpecialPage objects.
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
SpecialPageFactory $specialPageFactory
HookContainer $hookContainer
__construct(ServiceOptions $svcOptions, MagicWordFactory $magicWordFactory, Language $contLang, string $urlProtocols, SpecialPageFactory $spFactory, LinkRendererFactory $linkRendererFactory, NamespaceInfo $nsInfo, LoggerInterface $logger, BadFileLookup $badFileLookup, LanguageConverterFactory $languageConverterFactory, HookContainer $hookContainer, TidyDriverBase $tidy, WANObjectCache $wanCache, UserOptionsLookup $userOptionsLookup, UserFactory $userFactory, TitleFormatter $titleFormatter, HttpRequestFactory $httpRequestFactory)
LanguageConverterFactory $languageConverterFactory
TitleFormatter $titleFormatter
UserOptionsLookup $userOptionsLookup
LinkRendererFactory $linkRendererFactory
MagicWordFactory $magicWordFactory
ServiceOptions $svcOptions
BadFileLookup $badFileLookup
static int $inParserFactory
Track calls to Parser constructor to aid in deprecation of direct Parser invocation.
HttpRequestFactory $httpRequestFactory
create()
Creates a new parser.
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
const CONSTRUCTOR_OPTIONS
Multi-datacenter aware caching interface.