diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
commit | b9b85843572bf283f48285001e276ba7e61b63f6 (patch) | |
tree | 4c6f4571552ada9ccfb4030481dcf77308f8b254 /docs/upload.txt | |
parent | d9a20acc4e789cca747ad360d87ee3f3e7aa58c1 (diff) |
updated to MediaWiki 1.14.0
Diffstat (limited to 'docs/upload.txt')
-rw-r--r-- | docs/upload.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/upload.txt b/docs/upload.txt new file mode 100644 index 00000000..e92ca786 --- /dev/null +++ b/docs/upload.txt @@ -0,0 +1,40 @@ +Special:Upload: + +wfSpecialUpload + new UploadForm + mUpload = new UploadFrom... + execute() + $wgEnableUploads + isAllowed(upload) + isBlocked() + wfReadOnly() + processUpload() + internalProcessUpload() + wfRunHooks(UploadForm:BeforeProcessing) + mUpload->getTitle() + wfStripIllegalFilenameChars + splitExtensions() + checkFileExtension() + Title::makeTitleSafe + getUserPermissionsErrors(edit; upload; create) + mUpload->verifyUpload() + empty(mFileSize) + getTitle() + checkOverwrite() + verifyFile() + checkMacBinary() + wfRunHooks(UploadVerification) + if(!ignoreWarning) mUpload->checkWarnings() + getInitialPageText() + mUpload->performUpload() + mLocalFile->upload() + if(isGood() && $watch) addWatch() + if(isGood()) wfRunHooks(UploadComplete) + wfRunHooks(SpecialUploadComplete) + +Changes: + * "Your file will be renamed to $1" check now done on the result of + Title::makeTitleSafe instead of filteredName + * getExistWarning only really does existence checks + * Other stuff forgotten to be documented +
\ No newline at end of file |