MobileFrontend
MobileoptimisedfrontendforMediaWiki
|
Provides a special page with a list of uploaded items/images of a User. More...
Public Member Functions | |
executeWhenAvailable ( $par='') | |
Render the special page. More... | |
getUserUploadsPageHtml (User $user) | |
Generates HTML for the uploads page for the passed user. More... | |
getUploadCountThreshold () | |
Getter for upload count threshold. More... | |
![]() | |
__construct ( $page) | |
execute ( $subPage) | |
Checks the availability of the special page in actual mode and display the page, if available. More... | |
setHeaders () | |
Add modules to headers and wrap content in div.content if unstyledContent = true. | |
isListed () | |
Returns if this page is listed on Special:SpecialPages. More... | |
getDesktopUrl ( $subPage) | |
When overridden in a descendant class, returns desktop URL for this special page. More... | |
Protected Attributes | |
$hasDesktopVersion = true | |
![]() | |
$hasDesktopVersion = false | |
$mode = 'stable' | |
$listed = false | |
$unstyledContent = true | |
$config = null | |
$errorNotFoundTitleMsg = 'mobile-frontend-generic-404-title' | |
$errorNotFoundDescriptionMsg = 'mobile-frontend-generic-404-desc' | |
$mobileContext | |
Additional Inherited Members | |
![]() | |
renderUnavailableBanner ( $msg) | |
Renders a banner telling the user the page is unavailable. More... | |
addModules () | |
Add mobile special page specific modules (styles and scripts) | |
showPageNotFound () | |
Render mobile specific error page, when special page can not be found. | |
Provides a special page with a list of uploaded items/images of a User.
SpecialUploads::executeWhenAvailable | ( | $par = '' | ) |
Render the special page.
string | null | $par | Username to get uploads from |
Reimplemented from MobileSpecialPage.
SpecialUploads::getUploadCountThreshold | ( | ) |
Getter for upload count threshold.
Currently hardcoded as 500; using this handy method to simplify possible changes in the future.
SpecialUploads::getUserUploadsPageHtml | ( | User | $user | ) |
Generates HTML for the uploads page for the passed user.
User | $user | User to display uploads of |