[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/extensions/InputBox/ -> InputBox.hooks.php (summary)

(no description)

File Size: 85 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

InputBoxHooks:: (4 methods):
  register()
  onSpecialPageBeforeExecute()
  render()
  onMediaWikiPerformAction()


Class: InputBoxHooks  - X-Ref

Hooks for InputBox extension

register( Parser &$parser )   X-Ref
No description

onSpecialPageBeforeExecute( $special, $subPage )   X-Ref
No description

render( $input, $args, Parser $parser )   X-Ref
No description

onMediaWikiPerformAction($output,$article,$title,$user,$request,$wiki)   X-Ref
<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

param: $output OutputPage
param: $article Article
param: $title Title
param: $user User
param: $request WebRequest
param: $wiki MediaWiki
return: bool



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1