[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/content/ -> WikitextContentHandler.php (summary)

Content handler for wiki text pages. 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: 111 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WikitextContentHandler:: (6 methods):
  __construct()
  getContentClass()
  makeRedirectContent()
  supportsRedirects()
  supportsSections()
  isParserCacheSupported()


Class: WikitextContentHandler  - X-Ref

Content handler for wiki text pages.

__construct( $modelId = CONTENT_MODEL_WIKITEXT )   X-Ref
No description

getContentClass()   X-Ref
No description

makeRedirectContent( Title $destination, $text = '' )   X-Ref
Returns a WikitextContent object representing a redirect to the given destination page.

param: Title $destination The page to redirect to.
param: string $text Text to include in the redirect, if possible.
return: Content

supportsRedirects()   X-Ref
Returns true because wikitext supports redirects.

return: bool Always true.

supportsSections()   X-Ref
Returns true because wikitext supports sections.

return: bool Always true.

isParserCacheSupported()   X-Ref
Returns true, because wikitext supports caching using the
ParserCache mechanism.

return: bool Always true.



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