71 throw new LogicException(
'Subclass must override' );
76class_alias( CodeContentHandler::class,
'CodeContentHandler' );
Content handler for pages with source code as content (e.g.
getPageLanguage(Title $title, ?Content $content=null)
Returns the English language, because code is English, and should be handled as such.
getPageViewLanguage(Title $title, ?Content $content=null)
Returns the English language, because code is English, and should be handled as such.
getContentClass()
Returns the name of the associated Content class, to be used when creating new objects....
Base content handler implementation for flat text contents.
Content objects represent page content, e.g.