Implements additional functions to use in MobileFrontend.
More...
|
static | blankUserPageHTML (OutputPage $out, Title $title) |
| Provide alternative HTML for a user page which has not been created.
|
|
static | domParseWithContentProvider (IContentProvider $provider, OutputPage $out, $mobileFormatHtml=true) |
| Obtains content using the given content provider and routes it to the mobile formatter if required.
|
|
static | getWikibaseDescription ( $item) |
| Returns a short description of a page from Wikidata.
|
|
Implements additional functions to use in MobileFrontend.
◆ blankUserPageHTML()
static ExtMobileFrontend::blankUserPageHTML |
( |
OutputPage | $out, |
|
|
Title | $title ) |
|
static |
Provide alternative HTML for a user page which has not been created.
Let the user know about it with pretty graphics and different texts depending on whether the user is the owner of the page or not.
◆ domParseWithContentProvider()
static ExtMobileFrontend::domParseWithContentProvider |
( |
IContentProvider | $provider, |
|
|
OutputPage | $out, |
|
|
| $mobileFormatHtml = true ) |
|
static |
Obtains content using the given content provider and routes it to the mobile formatter if required.
- Parameters
-
IContentProvider | $provider | |
OutputPage | $out | |
bool | $mobileFormatHtml | whether content should be run through the MobileFormatter |
- Returns
- string
◆ getWikibaseDescription()
static ExtMobileFrontend::getWikibaseDescription |
( |
| $item | ) |
|
|
static |
Returns a short description of a page from Wikidata.
- Parameters
-
string | $item | Wikibase id of the page |
- Returns
- string|null
The documentation for this class was generated from the following file:
- includes/ExtMobileFrontend.php