wiki.techinc.nl/includes/parser
C. Scott Ananian 1e2af489ae ParserOutput: ensure all created ParserOutputs have a "start of parse" time set
*Most* implementations of ContentHandler::fillParserOutput() ensure
that the returned ParserOutput has had
ParserOutput::resetParseStartTime() called on it at an appropriate
time -- but not *all*.  This is a belt-and-suspenders fix that ensures
that every code path which creates a ParserOutput has *some* "start
time" defined.  This could be misleading if the parsing is done first
and the parser output is created at the very end of the parse, but in
all the code that I've looked at the ParserOutput is the first thing
created and so this default should be reasonable.

While we're at it, remove the parseStartTime from the serialized form
of the ParserOutput, because it is useless after the object is
unserialized.

Bug: T376433
Change-Id: I3bdf3996401a7d5ac4d8e1e5e6afb7ca410cbe6c
2024-10-04 19:14:37 -04:00
..
Hook
Parsoid Add namespace to remaining parts of Wikimedia\Mime and Wikimedia\Stats 2024-09-27 16:19:10 -04:00
BlockLevelPass.php parser: Add missing documentation to class properties 2024-09-07 22:46:08 +02:00
CacheTime.php Rename JsonUnserial… to JsonDeserial… 2024-06-12 14:50:58 -04:00
CoreMagicVariables.php parser: Add a new {{USERLANGUAGE}} magic word for use in wikitext 2024-09-07 19:16:32 +00:00
CoreParserFunctions.php Switch over a bunch of class_alias uses to actuals 2024-10-03 17:09:36 +00:00
CoreTagHooks.php Switch over a bunch of class_alias uses to actuals 2024-10-03 17:09:36 +00:00
DateFormatter.php
DateFormatterFactory.php
LinkHolderArray.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
MagicWord.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
MagicWordArray.php Merge "Rewrite MagicWordArray::matchAndRemove to use single preg_… call" 2024-05-15 16:00:22 +00:00
MagicWordFactory.php parser: Add a new {{USERLANGUAGE}} magic word for use in wikitext 2024-09-07 19:16:32 +00:00
MWTidy.php
Parser.php Merge "Add namespace to remaining parts of Wikimedia\ObjectCache" 2024-10-03 14:02:47 +00:00
ParserCache.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
ParserCacheFactory.php Add namespace to remaining parts of Wikimedia\ObjectCache 2024-09-27 16:19:10 -04:00
ParserCacheFilter.php
ParserCacheMetadata.php
ParserFactory.php Add namespace to remaining parts of Wikimedia\ObjectCache 2024-09-27 16:19:10 -04:00
ParserObserver.php Move remaining four classes in includes/content into Content namespace 2024-08-10 10:40:53 +02:00
ParserOptions.php Add namespace to remaining parts of Wikimedia\ObjectCache 2024-09-27 16:19:10 -04:00
ParserOutput.php ParserOutput: ensure all created ParserOutputs have a "start of parse" time set 2024-10-04 19:14:37 -04:00
ParserOutputFlags.php Add ParserOptions::setCollapsibleSections() 2024-04-29 12:11:09 -04:00
ParserOutputStringSets.php
PPCustomFrame_Hash.php
PPDPart_Hash.php
PPDStack_Hash.php Merge "parser: Add missing documentation to class properties" 2024-09-12 23:24:39 +00:00
PPDStackElement_Hash.php
PPFrame.php
PPFrame_Hash.php Use namespaced classes (3) 2024-06-16 20:26:43 +02:00
PPNode.php
PPNode_Hash_Array.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
PPNode_Hash_Attr.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
PPNode_Hash_Text.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
PPNode_Hash_Tree.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
PPTemplateFrame_Hash.php
Preprocessor.php Add namespace to remaining parts of Wikimedia\ObjectCache 2024-09-27 16:19:10 -04:00
Preprocessor_Hash.php Add namespace to remaining parts of Wikimedia\ObjectCache 2024-09-27 16:19:10 -04:00
RemexRemoveTagHandler.php
RemexStripTagHandler.php parser: Add missing documentation to class properties 2024-09-07 22:46:08 +02:00
RevisionOutputCache.php Add namespace to remaining parts of Wikimedia\ObjectCache 2024-09-27 16:19:10 -04:00
Sanitizer.php Hard deprecating wfUrlProtocols 2024-09-05 19:16:19 +03:30
StripState.php Merge "parser: Add missing documentation to class properties" 2024-09-12 23:24:39 +00:00