Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -43,29 +43,29 @@ |
44 | 44 | } |
45 | 45 | |
46 | 46 | /** Misc variables **/ |
47 | | - protected $mRequest; // The WebRequest or FauxRequest this form is supposed to handle |
48 | | - protected $mSourceType; |
49 | | - protected $mUpload; |
50 | | - protected $mLocalFile; |
51 | | - protected $mUploadClicked; |
| 47 | + public $mRequest; // The WebRequest or FauxRequest this form is supposed to handle |
| 48 | + public $mSourceType; |
| 49 | + public $mUpload; |
| 50 | + public $mLocalFile; |
| 51 | + public $mUploadClicked; |
52 | 52 | |
53 | 53 | /** User input variables from the "description" section **/ |
54 | | - public $mDesiredDestName; // The requested target file name |
55 | | - protected $mComment; |
56 | | - protected $mLicense; |
| 54 | + public $mDesiredDestName; // The requested target file name |
| 55 | + public $mComment; |
| 56 | + public $mLicense; |
57 | 57 | |
58 | 58 | /** User input variables from the root section **/ |
59 | | - protected $mIgnoreWarning; |
60 | | - protected $mWatchThis; |
61 | | - protected $mCopyrightStatus; |
62 | | - protected $mCopyrightSource; |
| 59 | + public $mIgnoreWarning; |
| 60 | + public $mWatchThis; |
| 61 | + public $mCopyrightStatus; |
| 62 | + public $mCopyrightSource; |
63 | 63 | |
64 | 64 | /** Hidden variables **/ |
65 | | - protected $mDestWarningAck; |
66 | | - protected $mForReUpload; // The user followed an "overwrite this file" link |
67 | | - protected $mCancelUpload; // The user clicked "Cancel and return to upload form" button |
68 | | - protected $mTokenOk; |
69 | | - protected $mUploadSuccessful = false; // Subclasses can use this to determine whether a file was uploaded |
| 65 | + public $mDestWarningAck; |
| 66 | + public $mForReUpload; // The user followed an "overwrite this file" link |
| 67 | + public $mCancelUpload; // The user clicked "Cancel and return to upload form" button |
| 68 | + public $mTokenOk; |
| 69 | + public $mUploadSuccessful = false; // Subclasses can use this to determine whether a file was uploaded |
70 | 70 | |
71 | 71 | /** Text injection points for hooks not using HTMLForm **/ |
72 | 72 | public $uploadFormTextTop; |