X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fupload.txt;h=a0f0a594ce7cfb7464ac5ba685b2e22dabaeddd4;hb=d3fe87c552e346f89ed9cd175f12ace164015d1e;hp=e92ca78624566fe89a2bb5c559e952b8bcac965d;hpb=bce3733c01fb5d498ebfb9a0665947cb830782cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/upload.txt b/docs/upload.txt index e92ca78624..a0f0a594ce 100644 --- a/docs/upload.txt +++ b/docs/upload.txt @@ -1,40 +1,2 @@ -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 +This document describes how the current uploading system is build up and how +custom backends can be built. (At least someday it will).