MediaWiki  master
MediaWiki Namespace Reference

A helper class for throttling authentication attempts. More...

Namespaces

 Api
 
 Auth
 
 Block
 
 Cache
 
 ChangeTags
 
 Config
 
 Content
 
 DB
 
 Diff
 
 Edit
 
 EditPage
 
 FileBackend
 
 Hook
 
 HookContainer
 
 Http
 
 Installer
 
 Interwiki
 Copyright (C) 2018 Kunal Mehta legok.nosp@m.tm@m.nosp@m.ember.nosp@m..fsf.nosp@m..org
 
 Languages
 
 Linker
 
 Logger
 
 Mail
 
 Message
 
 Navigation
 
 Page
 
 ParamValidator
 
 Permissions
 
 Preferences
 
 ResourceLoader
 
 Rest
 
 Revision
 
 Search
 
 Session
 
 Shell
 Copyright (C) 2017 Kunal Mehta legok.nosp@m.tm@m.nosp@m.ember.nosp@m..fsf.nosp@m..org
 
 Site
 
 Sparql
 
 SpecialPage
 
 Storage
 
 Tidy
 
 User
 
 Widget
 

Classes

class  BadFileLookup
 
class  ExtensionInfo
 
class  HeaderCallback
 
class  ProcOpenError
 
class  ShellDisabledError
 

Detailed Description

A helper class for throttling authentication attempts.

A handler base class which unpacks parameters from the path template and passes them as formal parameters to run().

A handler that returns Parsoid HTML for the following routes:

Class LanguageLinksHandler REST API handler for /page/{title}/links/language endpoint.

Converts MessageValue message specifiers to localized plain text in a certain language.

Class ContentHandlerFactory.

\Auth

Since
1.27

\Content

Since
1.35

The caller cannot modify the details of message translation, such as which of multiple sources the message is taken from. Any such flags may be injected into the factory constructor.

Implementations of TextFormatter are not required to perfectly format any message in any language. Implementations should make a best effort to produce human-readable text.

\MessageFormatter

\Rest\Handler

  • /page/{title}/html,
  • /page/{title}/with_html
  • /page/{title}/bare routes. Currently the HTML is fetched from RESTBase, thus in order to use the routes, RESTBase must be installed and VirtualRESTService for RESTBase needs to be configured.

Class PageHTMLHandler \Rest\Handler

run() must be declared in the subclass. It cannot be declared as abstract here because it has a variable parameter list.

\Rest