BlueSpice MediaWiki master
|
Public Member Functions | |
__construct ($request=null) | |
execute ($par) | |
![]() | |
__construct ($name, $restriction= '', $function=false, $file= 'default') | |
isListed () | |
![]() | |
__construct ($name= '', $restriction= '', $listed=true, $function=false, $file= '', $includable=false) | |
getName () | |
getRestriction () | |
isListed () | |
setListed ($listed) | |
listed ($x=null) | |
isIncludable () | |
maxIncludeCacheTime () | |
including ($x=null) | |
getLocalName () | |
isExpensive () | |
isCached () | |
isRestricted () | |
userCanExecute (User $user) | |
displayRestrictionError () | |
checkPermissions () | |
checkReadOnly () | |
requireLogin ($reasonMsg= 'exception-nologin-text', $titleMsg= 'exception-nologin') | |
prefixSearchSubpages ($search, $limit, $offset) | |
setHeaders () | |
run ($subPage) | |
execute ($subPage) | |
outputHeader ($summaryMessageKey= '') | |
getDescription () | |
getTitle ($subpage=false) | |
getPageTitle ($subpage=false) | |
setContext ($context) | |
getContext () | |
getRequest () | |
getOutput () | |
getUser () | |
getSkin () | |
getLanguage () | |
getConfig () | |
getFullTitle () | |
msg ($key) | |
addHelpLink ($to, $overrideBaseUrl=false) | |
getFinalGroupName () | |
doesWrites () | |
getLinkRenderer () | |
setLinkRenderer (LinkRenderer $linkRenderer) | |
Static Public Member Functions | |
static | getInitialPageText ($comment= '', $license= '', $copyStatus= '', $source= '') |
static | getExistsWarning ($exists) |
static | ajaxGetExistsWarning ($filename) |
static | ajaxGetLicensePreview ($license) |
static | getDupeWarning ($dupes) |
![]() | |
static | getTitleFor ($name, $subpage=false, $fragment= '') |
static | getTitleValueFor ($name, $subpage=false, $fragment= '') |
static | getSafeTitleFor ($name, $subpage=false) |
Public Attributes | |
$mRequest | |
$mSourceType | |
$mUpload | |
$mLocalFile | |
$mUploadClicked | |
$mDesiredDestName | |
$mComment | |
$mLicense | |
$mIgnoreWarning | |
$mWatchThis | |
$mCopyrightStatus | |
$mCopyrightSource | |
$mForReUpload | |
$mCancelUpload | |
$mTokenOk | |
$mInputID | |
$mDelimiter | |
Protected Member Functions | |
loadRequest ($request) | |
showUploadForm ($form) | |
getUploadForm ($message= '', $sessionKey= '', $hideIgnoreWarning=false) | |
showViewDeletedLinks () | |
recoverableUploadError ($message) | |
uploadWarning ($warnings) | |
uploadError ($message) | |
processUpload () | |
watchCheck () | |
processVerificationError ($details) | |
unsaveUploadedFile () | |
![]() | |
getCacheTTL () | |
getLoginSecurityLevel () | |
checkLoginSecurityLevel ($level=null) | |
getSubpagesForPrefixSearch () | |
prefixSearchString ($search, $limit, $offset) | |
beforeExecute ($subPage) | |
afterExecute ($subPage) | |
getRobotPolicy () | |
addFeedLinks ($params) | |
getGroupName () | |
useTransactionalTimeLimit () | |
Protected Attributes | |
$mTextTop | |
$mTextAfterSummary | |
![]() | |
$mName | |
$mRestriction | |
$mIncluding | |
$mIncludable | |
$mContext | |
Additional Inherited Members | |
![]() | |
static | prefixSearchArray ($search, $limit, array $subpages, $offset) |
PFUploadWindow::__construct | ( | $request = null | ) |
Constructor : initialise object Get data POSTed through the form and assign them to the object
WebRequest | $request | Data posted. |
|
static |
Get a list of warnings
string | local filename, e.g. 'file exists', 'non-descriptive filename' |
|
static |
Render a preview of a given license for the AJAX preview on upload
string | $license |
PFUploadWindow::execute | ( | $par | ) |
Special page entry point
|
static |
Construct a warning and a gallery from an array of duplicate files.
|
static |
Formats a result of UploadBase::getExistsWarning as HTML This check is static and can be done pre-upload via AJAX
array | $exists | The result of UploadBase::getExistsWarning |
|
static |
Get the initial image page text based on a comment and optional file status information
|
protected |
Get an UploadForm instance with title and text properly set.
string | $message | HTML string to add to the form |
string | $sessionKey | Session key in case this is a stashed upload |
|
protected |
Initialize instance variables from request and create an Upload handler
WebRequest | $request | The request to extract variables from |
|
protected |
Do the upload. Checks are made in SpecialUpload::execute()
|
protected |
Provides output to the user for a result of UploadBase::verifyUpload
array | $details | Result of UploadBase::verifyUpload |
MWException |
Statuses that only require name changing
Statuses that require reuploading
|
protected |
Stashes the upload and shows the main upload form.
Note: only errors that can be handled by changing the name or description should be redirected here. It should be assumed that the file itself is sane and has passed UploadBase::verifyFile. This essentially means that UploadBase::VERIFICATION_ERROR and UploadBase::EMPTY_FILE should not be passed here.
string | $message | HTML message to be passed to mainUploadForm |
|
protected |
Show the main upload form.
UploadForm | $form |
|
protected |
Shows the "view X deleted revivions link""
|
protected |
Remove a temporarily kept file stashed by saveTempUploadedFile(). private
|
protected |
Show the upload form with error message, but do not stash the file.
string | $message |
|
protected |
Stashes the upload, shows the main form, but adds an "continue anyway button"
array | $warnings |
|
protected |
See if we should check the 'watch this page' checkbox on the form based on the user's preferences and whether we're being asked to create a new file or update an existing one.
In the case where 'watch edits' is off but 'watch creations' is on, we'll leave the box unchecked.
Note that the page target can be changed on the form, so our check state can get out of sync.
PFUploadWindow::$mDesiredDestName |
User input variables from the "description" section
PFUploadWindow::$mForReUpload |
Hidden variables
PFUploadWindow::$mIgnoreWarning |
User input variables from the root section
PFUploadWindow::$mInputID |
used by Page Forms
PFUploadWindow::$mRequest |
Misc variables