From 222b01f5169f1c7e69762e0e8904c24f78f71882 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 28 Jul 2010 11:52:48 +0200 Subject: update to MediaWiki 1.16.0 --- docs/upload.txt | 42 ++---------------------------------------- 1 file changed, 2 insertions(+), 40 deletions(-) (limited to 'docs/upload.txt') diff --git a/docs/upload.txt b/docs/upload.txt index e92ca786..a0f0a594 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). -- cgit v1.2.3-54-g00ecf