|
MediaWiki
REL1_24
|
Content handler for code content such as CSS, JavaScript, JSON, etc. More...


Public Member Functions | |
| 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. | |
Protected Member Functions | |
| getContentClass () | |
Content handler for code content such as CSS, JavaScript, JSON, etc.
Definition at line 29 of file CodeContentHandler.php.
| CodeContentHandler::getContentClass | ( | ) | [protected] |
Reimplemented from TextContentHandler.
Reimplemented in CssContentHandler, JavaScriptContentHandler, and JsonContentHandler.
Definition at line 62 of file CodeContentHandler.php.
| CodeContentHandler::getPageLanguage | ( | Title $ | title, |
| Content $ | content = null |
||
| ) |
Returns the english language, because code is english, and should be handled as such.
Reimplemented from ContentHandler.
Definition at line 41 of file CodeContentHandler.php.
References wfGetLangObj().
| CodeContentHandler::getPageViewLanguage | ( | Title $ | title, |
| Content $ | content = null |
||
| ) |
Returns the english language, because code is english, and should be handled as such.
Reimplemented from ContentHandler.
Definition at line 55 of file CodeContentHandler.php.
References wfGetLangObj().