Revert "Handle missing parser in onParserAfterParse"
Revert "Handle missing parser in onParserAfterParse"

This reverts commit 10145420ee8a28e6e516f36c4d51198d8f16fd4c.

Change-Id: I5df01c8374d3528fc859a337a3fd27369a4845b2

wikimedia/mediawiki-extensions-Graph,wikimedia/mediawiki-extensions-Graph