MediaWiki REL1_40
MediaWiki\Rest\Handler Namespace Reference

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

Namespaces

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

Classes

class  AbstractContributionHandler
 
class  ActionModuleBasedHandler
 Base class for REST handlers that are implemented by mapping to an existing ApiModule. More...
 
class  CompareHandler
 
class  ContributionsCountHandler
 
class  CreationHandler
 Core REST API endpoint that handles page creation (main slot only) More...
 
class  EditHandler
 Base class for REST API handlers that perform page edits (main slot only). More...
 
class  LanguageLinksHandler
 
class  MediaFileHandler
 Handler class for media meta-data. More...
 
class  MediaLinksHandler
 Handler class for Core REST API endpoints that perform operations on revisions. More...
 
class  PageHistoryCountHandler
 Handler class for Core REST API endpoints that perform operations on revisions. More...
 
class  PageHistoryHandler
 Handler class for Core REST API endpoints that perform operations on revisions. More...
 
class  PageHTMLHandler
 
class  PageSourceHandler
 Handler class for Core REST API Page Source endpoint with the following routes: More...
 
class  ParsoidHandler
 Base class for Parsoid handlers. More...
 
class  RevisionHTMLHandler
 
class  RevisionSourceHandler
 A handler that returns page source and metadata for the following routes: More...
 
class  SearchHandler
 Handler class for Core REST API endpoint that handles basic search. More...
 
class  TransformHandler
 Handler for transforming content given in the request. More...
 
class  UpdateHandler
 Core REST API endpoint that handles page updates (main slot only) More...
 
class  UserContributionsHandler
 

Functions

 getRequest ()
 
 getRouteUrl ( $pathParams=[], $queryParams=[])
 

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.

Function Documentation

◆ getRequest()

◆ getRouteUrl()

MediaWiki\Rest\Handler\getRouteUrl ( $pathParams = [],
$queryParams = [] )
abstractprotected
See also
Handler::getRouteUrl()