MediaWiki
1.34.0
|
Static Public Member Functions | |
static | onMediaWikiPerformAction ( $output, $article, $title, $user, $request, $wiki) |
<inputbox type="create..."> sends requests with action=edit, and possibly a &prefix=Foo. More... | |
static | onSpecialPageBeforeExecute ( $special, $subPage) |
Prepend prefix to wpNewTitle if necessary. More... | |
static | register (Parser &$parser) |
Initialization. More... | |
static | render ( $input, $args, Parser $parser) |
Render the input box. More... | |
InputBox hooks.
Definition at line 12 of file InputBoxHooks.php.
|
static |
<inputbox type="create..."> sends requests with action=edit, and possibly a &prefix=Foo.
So we pick that up here, munge prefix and title together, and redirect back out to the real page
OutputPage | $output | |
Article | $article | |
Title | $title | |
User | $user | |
WebRequest | $request | |
MediaWiki | $wiki |
Definition at line 79 of file InputBoxHooks.php.
References $output, $title, $wgScript, and wfAppendQuery().
|
static |
Prepend prefix to wpNewTitle if necessary.
SpecialPage | $special | |
string | $subPage |
Definition at line 33 of file InputBoxHooks.php.
References $title.
|
static |
Initialization.
Parser | &$parser |
Definition at line 19 of file InputBoxHooks.php.
|
static |
Render the input box.
string | $input | |
array | $args | |
Parser | $parser |
Definition at line 56 of file InputBoxHooks.php.