MediaWiki
1.34.0
|
Static Public Member Functions | |
static | editPageShowEditFormInitial (EditPage $editpage, OutputPage $output) |
static | getPageLanguage (Title $title, $model, $format) |
static | getPreferences (User $user, &$defaultPreferences) |
Definition at line 3 of file CodeEditorHooks.php.
|
static |
EditPage | $editpage | |
OutputPage | $output |
ErrorPageError |
Definition at line 43 of file CodeEditorHooks.php.
References $lang, $output, $wgTitle, ExtensionRegistry\getInstance(), and getPageLanguage().
|
static |
Title | $title | |
string | $model | |
string | $format |
Definition at line 10 of file CodeEditorHooks.php.
References $lang, $title, CONTENT_MODEL_CSS, CONTENT_MODEL_JAVASCRIPT, CONTENT_MODEL_JSON, and Hooks\run().
Referenced by editPageShowEditFormInitial().
|
static |
User | $user | |
array | &$defaultPreferences |
Definition at line 31 of file CodeEditorHooks.php.