X-Git-Url: https://git.heureux-cyclage.org/index.php?a=blobdiff_plain;f=includes%2FTitle.php;h=5cf911f6384d6cca4717c2d5f50ba9e8c510cad4;hb=99800a9e0360e1a24c061d908dbe111bf687963f;hp=65b69a29a60d145130a431f9867b08a6c08b88ab;hpb=f9fb5adf52a44b7025bb60f2f862696866a9e9f5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Title.php b/includes/Title.php index 65b69a29a6..5cf911f638 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1233,12 +1233,6 @@ class Title implements LinkTarget { && ( $this->hasContentModel( CONTENT_MODEL_CSS ) || $this->hasContentModel( CONTENT_MODEL_JAVASCRIPT ) ); - # @note This hook is also called in ContentHandler::getDefaultModel. - # It's called here again to make sure hook functions can force this - # method to return true even outside the MediaWiki namespace. - - Hooks::run( 'TitleIsCssOrJsPage', [ $this, &$isCssOrJsPage ], '1.25' ); - return $isCssOrJsPage; }