Index: branches/REL1_16/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -23,30 +23,30 @@ |
24 | 24 | } |
25 | 25 | |
26 | 26 | /** Misc variables **/ |
27 | | - protected $mRequest; // The WebRequest or FauxRequest this form is supposed to handle |
28 | | - protected $mSourceType; |
29 | | - protected $mUpload; |
30 | | - protected $mLocalFile; |
31 | | - protected $mUploadClicked; |
| 27 | + public $mRequest; // The WebRequest or FauxRequest this form is supposed to handle |
| 28 | + public $mSourceType; |
| 29 | + public $mUpload; |
| 30 | + public $mLocalFile; |
| 31 | + public $mUploadClicked; |
32 | 32 | |
33 | 33 | /** User input variables from the "description" section **/ |
34 | | - public $mDesiredDestName; // The requested target file name |
35 | | - protected $mComment; |
36 | | - protected $mLicense; |
37 | | - |
| 34 | + public $mDesiredDestName; // The requested target file name |
| 35 | + public $mComment; |
| 36 | + public $mLicense; |
| 37 | + |
38 | 38 | /** User input variables from the root section **/ |
39 | | - protected $mIgnoreWarning; |
40 | | - protected $mWatchThis; |
41 | | - protected $mCopyrightStatus; |
42 | | - protected $mCopyrightSource; |
| 39 | + public $mIgnoreWarning; |
| 40 | + public $mWatchThis; |
| 41 | + public $mCopyrightStatus; |
| 42 | + public $mCopyrightSource; |
43 | 43 | |
44 | 44 | /** Hidden variables **/ |
45 | | - protected $mDestWarningAck; |
46 | | - protected $mForReUpload; // The user followed an "overwrite this file" link |
47 | | - protected $mCancelUpload; // The user clicked "Cancel and return to upload form" button |
48 | | - protected $mTokenOk; |
49 | | - protected $mUploadSuccessful = false; // Subclasses can use this to determine whether a file was uploaded |
50 | | - |
| 45 | + public $mDestWarningAck; |
| 46 | + public $mForReUpload; // The user followed an "overwrite this file" link |
| 47 | + public $mCancelUpload; // The user clicked "Cancel and return to upload form" button |
| 48 | + public $mTokenOk; |
| 49 | + public $mUploadSuccessful = false; // Subclasses can use this to determine whether a file was uploaded |
| 50 | + |
51 | 51 | /** Text injection points for hooks not using HTMLForm **/ |
52 | 52 | public $uploadFormTextTop; |
53 | 53 | public $uploadFormTextAfterSummary; |
Index: branches/REL1_16/phase3/RELEASE-NOTES |
— | — | @@ -44,6 +44,9 @@ |
45 | 45 | you have the DBA extension for PHP installed, this will improve performance |
46 | 46 | further. |
47 | 47 | |
| 48 | +== Changes since 1.16.0 == |
| 49 | +* (bug 24981) Allow extensions to access SpecialUpload variables again |
| 50 | + |
48 | 51 | == Changes since 1.16 beta 3 == |
49 | 52 | |
50 | 53 | * (bug 23769) Disabled HTML 5 client-side form validation. Was introduced in |