wiki.techinc.nl/includes/parser
C. Scott Ananian 9632dfb041 Move ::addTrackingCategory() implementation to TrackingCategories
This moves the implementation of ParserOutput::addTrackingCategory()
to the TrackingCategories class as a non-static method. This makes
invocation from ParserOutput awkward, but when invoking as
Parser::addTrackingCategory() all the necessary services are
available.  As a result, we've also soft-deprecated
ParserOutput::addTrackingCategory(); new users should use the
TrackingCategories::addTrackingCategory() method, or else
Parser::addTrackingCategory() if the parser object is available.

The Parser class is already kind of bloated as it is (alas), but there
aren't too many callsites which invoke
ParserOutput::addTrackingCategory() and don't have the corresponding
Parser object handy; see:

https://codesearch.wmcloud.org/search/?q=%5BOo%5Dutput%28%5C%28%5C%29%29%3F-%3EaddTrackingCategory%5C%28&i=nope&files=&excludeFiles=&repos=

Change-Id: I697ce188a912e445a6a748121575548e79aabac6
2021-10-15 14:17:58 -04:00
..
Hook build: Updating dependencies 2021-07-22 03:36:05 +00:00
BlockLevelPass.php Simplify else-branches after continue/break 2021-08-17 22:51:43 +02:00
CacheTime.php Hard-deprecate all public property access on CacheTime and ParserOutput. 2021-10-13 13:27:16 -04:00
CoreMagicVariables.php
CoreParserFunctions.php Replace deprecated Language::getConverter in CoreParserFunctions 2021-10-14 16:06:24 +00:00
CoreTagHooks.php build: Update mediawiki/mediawiki-phan-config to 0.11.0 2021-09-07 17:19:05 +02:00
DateFormatter.php Remove dead variables and functions and unneeded parenthesis 2021-08-13 21:41:59 +02:00
DateFormatterFactory.php
LinkHolderArray.php Rename ParserOutput::setCategoryLinks() and ::getCategoryLinks() 2021-10-15 09:45:36 -07:00
MWTidy.php Deprecate MWTidy and TidyDriverBase::supportsValidate() 2021-03-16 12:29:55 -07:00
Parser.php Move ::addTrackingCategory() implementation to TrackingCategories 2021-10-15 14:17:58 -04:00
ParserCache.php Expand local URLs to absolute URLs in ParserOutput 2021-09-23 11:48:51 -07:00
ParserCacheFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
ParserCacheMetadata.php
ParserFactory.php Move ::addTrackingCategory() implementation to TrackingCategories 2021-10-15 14:17:58 -04:00
ParserObserver.php Detect and monitor against multiple Parser invocation during edit requests 2021-09-23 16:12:40 -05:00
ParserOptions.php Get rid of ParserOptions::setTidy() 2021-10-07 15:13:59 -05:00
ParserOutput.php Move ::addTrackingCategory() implementation to TrackingCategories 2021-10-15 14:17:58 -04:00
PPCustomFrame_Hash.php
PPDPart_Hash.php Follow-up 5cbb64f56: Remove unused preprocessor classes 2021-09-07 08:17:50 -07:00
PPDStack_Hash.php Follow-up 5cbb64f56: Remove unused preprocessor classes 2021-09-07 08:17:50 -07:00
PPDStackElement_Hash.php Follow-up 5cbb64f56: Remove unused preprocessor classes 2021-09-07 08:17:50 -07:00
PPFrame.php
PPFrame_Hash.php Make Parser::$mStripState private 2021-10-13 19:58:50 -04:00
PPNode.php
PPNode_Hash_Array.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
PPNode_Hash_Attr.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
PPNode_Hash_Text.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
PPNode_Hash_Tree.php
PPTemplateFrame_Hash.php
Preprocessor.php Cleanup mixed space/tab line indent 2021-09-04 00:52:31 +02:00
Preprocessor_Hash.php build: Update mediawiki/mediawiki-phan-config to 0.11.0 2021-09-07 17:19:05 +02:00
RemexStripTagHandler.php Bump wikimedia/remex-html to 2.3.2 and drop 2.3.1 2021-08-08 18:07:29 -04:00
RevisionOutputCache.php
Sanitizer.php Sanitizer: Replace RFC 3454 by RFC 8264 for clearUrl 2021-08-26 21:02:21 +00:00
StripState.php