MediaWiki master
MediaWiki\Rest\Handler\Helper Namespace Reference

Copyright (C) 2011-2020 Wikimedia Foundation and others. More...

Classes

class  HtmlInputTransformHelper
 REST helper for converting HTML to page content source (e.g. More...
 
class  HtmlMessageOutputHelper
 
interface  HtmlOutputHelper
 
class  HtmlOutputRendererHelper
 Helper for getting output of a given wikitext page rendered by parsoid. More...
 
class  PageContentHelper
 
class  PageRedirectHelper
 Helper class for handling page redirects, for use with REST Handlers that provide access to resources bound to MediaWiki pages. More...
 
class  PageRestHelperFactory
 
class  ParsoidFormatHelper
 Format-related REST API helper. More...
 
class  RevisionContentHelper
 

Variables

trait RestAuthorizeTrait
 
trait RestStatusTrait
 Trait for handling Status objects in REST handlers.
 

Detailed Description

Copyright (C) 2011-2020 Wikimedia Foundation and others.

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.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Variable Documentation

◆ RestAuthorizeTrait

trait MediaWiki::Rest::Handler::Helper\RestAuthorizeTrait
Initial value:
{
use RestStatusTrait

Definition at line 11 of file RestAuthorizeTrait.php.

◆ RestStatusTrait

trait MediaWiki::Rest::Handler::Helper\RestStatusTrait
Initial value:
{
private ?Converter $messageValueConverter = null

Trait for handling Status objects in REST handlers.

Definition at line 14 of file RestStatusTrait.php.