MediaWiki REL1_33
|
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. | |
static | onSpecialPageBeforeExecute ( $special, $subPage) |
Prepend prefix to wpNewTitle if necessary. | |
static | register (Parser &$parser) |
Initialization. | |
static | render ( $input, $args, Parser $parser) |
Render the input box. | |
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, $params, $request, $title, $wgScript, and(), and wfAppendQuery().
|
static |
Prepend prefix to wpNewTitle if necessary.
SpecialPage | $special | |
string | $subPage |
Definition at line 33 of file InputBoxHooks.php.
References $request.
|
static |
Initialization.
Parser | &$parser |
Definition at line 19 of file InputBoxHooks.php.
References $parser.
|
static |
Render the input box.
string | $input | |
array | $args | |
Parser | $parser |
Definition at line 56 of file InputBoxHooks.php.