wiki.techinc.nl/includes/parser
daniel c2172d45e4 Beware that getContent() may return null
Before the introduction of the content handler, missing content was
signified by getText() returning null instead of a string. null will
work much like an empty string in most contexts, so in many places,
it was not checked explcitely whether the conent was null.

Now, when getContent() returns null, this often caused a fatal error,
because the code would access whatever getContent() returned as an object,
without checking whether it was null (because no such check was performed
previously, when the content was represented as a string).

This check introduces explicite checks for getContent() returning null
in the most essential core classes.

Change-Id: I551a90b0b67b8edc7570ca5d252ecc1de903f097
2012-11-09 19:45:12 +01:00
..
CacheTime.php merge latest master. 2012-09-05 17:50:13 +02:00
CoreLinkFunctions.php
CoreParserFunctions.php merged master 2012-08-29 15:20:15 +02:00
CoreTagHooks.php Update docs for return and exception info 2012-10-09 09:41:58 +00:00
DateFormatter.php Remove a bunch of trailing spaces and unneeded newlines 2012-10-10 20:14:40 +02:00
LinkHolderArray.php Fix indentation whitespace errors 2012-10-26 17:42:13 +02:00
Parser.php Beware that getContent() may return null 2012-11-09 19:45:12 +01:00
Parser_DiffTest.php
Parser_LinkHooks.php Remove a bunch of trailing spaces and unneeded newlines 2012-10-10 20:14:40 +02:00
ParserCache.php Remove a bunch of trailing spaces and unneeded newlines 2012-10-10 20:14:40 +02:00
ParserOptions.php Remove a bunch of trailing spaces and unneeded newlines 2012-10-10 20:14:40 +02:00
ParserOutput.php Document what ParserOutput::setProperty() is for 2012-11-02 15:39:53 +01:00
Preprocessor.php escape tags and entity in doxygen comments 2012-07-10 17:08:32 +02:00
Preprocessor_DOM.php Fix tabs inside/between statements/text 2012-10-26 18:18:59 +02:00
Preprocessor_Hash.php Update docs for return and exception info 2012-10-09 09:41:58 +00:00
Preprocessor_HipHop.hphp Update docs for return and exception info 2012-10-09 09:41:58 +00:00
StripState.php Remove a bunch of trailing spaces and unneeded newlines 2012-10-10 20:14:40 +02:00
Tidy.php