[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/specials/ -> SpecialExpandTemplates.php (summary)

Implements Special:ExpandTemplates This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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

Defines 1 class

SpecialExpandTemplates:: (7 methods):
  __construct()
  execute()
  makeForm()
  makeOutput()
  generateHtml()
  showHtmlPreview()
  getGroupName()


Class: SpecialExpandTemplates  - X-Ref

A special page that expands submitted templates, parser functions,
and variables, allowing easier debugging of these.

__construct()   X-Ref
No description

execute( $subpage )   X-Ref
Show the special page

param: string|null $subpage

makeForm( $title, $input )   X-Ref
Generate a form allowing users to enter information

param: string $title Value for context title field
param: string $input Value for input textbox
return: string

makeOutput( $output, $heading = 'expand_templates_output' )   X-Ref
Generate a nice little box with a heading for output

param: string $output Wiki text output
param: string $heading
return: string

generateHtml( Title $title, $text )   X-Ref
Renders the supplied wikitext as html

param: Title $title
param: string $text
return: ParserOutput

showHtmlPreview( Title $title, ParserOutput $pout, OutputPage $out )   X-Ref
Wraps the provided html code in a div and outputs it to the page

param: Title $title
param: ParserOutput $pout
param: OutputPage $out

getGroupName()   X-Ref
No description



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