Index: trunk/phase3/includes/WikiPage.php |
— | — | @@ -24,21 +24,21 @@ |
25 | 25 | public $mCounter = -1; // !< Integer (-1 means "not loaded") |
26 | 26 | public $mDataLoaded = false; // !< Boolean |
27 | 27 | public $mIsRedirect = false; // !< Boolean |
28 | | - public $mLatest = false; // !< Boolean |
| 28 | + public $mLatest = false; // !< Integer (false means "not loaded") |
29 | 29 | public $mPreparedEdit = false; // !< Array |
30 | 30 | |
31 | 31 | /** |
32 | 32 | * @var Title |
33 | 33 | */ |
34 | | - public $mRedirectTarget = null; |
| 34 | + protected $mRedirectTarget = null; |
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @var Revision |
38 | 38 | */ |
39 | | - public $mLastRevision = null; |
| 39 | + protected $mLastRevision = null; |
40 | 40 | |
41 | | - public $mTimestamp = ''; // !< String |
42 | | - public $mTouched = '19700101000000'; // !< String |
| 41 | + protected $mTimestamp = ''; // !< String |
| 42 | + protected $mTouched = '19700101000000'; // !< String |
43 | 43 | /**@}}*/ |
44 | 44 | |
45 | 45 | /** |
— | — | @@ -1758,6 +1758,8 @@ |
1759 | 1759 | * roll back to, e.g. user is the sole contributor. This function |
1760 | 1760 | * performs permissions checks on $user, then calls commitRollback() |
1761 | 1761 | * to do the dirty work |
| 1762 | + * |
| 1763 | + * @todo: seperate the business/permission stuff out from backend code |
1762 | 1764 | * |
1763 | 1765 | * @param $fromP String: Name of the user whose edits to rollback. |
1764 | 1766 | * @param $summary String: Custom summary. Set to default summary if empty. |