MediaWiki  master
MediaWiki Namespace Reference

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

Namespaces

 Api
 
 Auth
 
 Block
 
 Cache
 
 ChangeTags
 
 Config
 
 Content
 
 DB
 
 Debug
 
 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
 
 Json
 
 Languages
 
 Linker
 
 Logger
 
 Mail
 
 Message
 
 Navigation
 
 Page
 
 ParamValidator
 
 Parser
 
 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
 
 Skins
 
 Sparql
 
 SpecialPage
 
 Storage
 
 Tidy
 
 User
 
 Widget
 

Classes

class  BadFileLookup
 
class  ExtensionInfo
 
class  HeaderCallback
 
class  ProcOpenError
 @newable More...
 
class  ShellDisabledError
 @newable More...
 

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.

Lookup permissions for groups and groups with permissions.

Returns an instance of the ParserCache by its name.

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

Deserializes things from JSON.

Classes implementing this interface support round-trip JSON serialization/unserialization using the JsonUnserializer utility.

Serializes things to JSON.

Helper class to serialize/unserialize things to/from JSON.

Class ContentHandlerFactory \Content.

\Auth

Since
1.27
1.35

Stable to type

Since
1.36 \Json

The resulting JSON must be annotated with class information for unserialization to work. Use JsonUnserializableTrait in implementing classes which annotates the JSON automatically.

See also
JsonUnserializer
JsonUnserializableTrait
Since
1.36 \Json
1.36 \Json

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

Since
1.36 \Parser
1.36 \Permissions

\Rest\Handler

  • /page/{title}/html,
  • /page/{title}/with_html

\Rest\Handler

  • /revision/{revision}/html,
  • /revision/{revision}/with_html

Class RevisionHTMLHandler \Rest\Handler

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

Stable to extend \Rest