Replace usage of ParserOutputHook in Extension:NoCat with OutputPageParserOutput hook
Extension:NoCat attempts to use a $wgParserOutputHooks named nocat_fakecategories (NoCatHooks::noCatParserOutputHook
).
However, this is currently being setup wrong (The config section does not merge into existing config variables. It only creates new ones) in extension.json so it has no affect. You can verify this by enabling $wgNoCatShowCat, and noting that suppressed category links do not show up in the footer like they should when that variable is enabled. Additionally the Parser output hooks system is considered somewhat old, and using the OutputPageParserOutput is generally considered better.
Your task is to replace the non-working ParserOutputHooks with a version that would do the same thing (if it worked), but uses the OutputPageParserOutput hook
Prerequisites:
- You should have a basic understanding of PHP programming.
- You should have already setup a copy of MediaWiki locally and understand how to enable extensions
- It is recommended that you have successfully completed at least one mediawiki (or mediawiki extension) related PHP coding task, that involved submitting a patch to gerrit.
What to do: See https://phabricator.wikimedia.org/T203733 for detailed instructions