Index: trunk/extensions/Wikilog/WikilogQuery.php |
— | — | @@ -35,18 +35,18 @@ |
36 | 36 | class WikilogItemQuery |
37 | 37 | { |
38 | 38 | # Valid filter values for publish status. |
39 | | - const PS_ALL = 0; // /< Return all items |
40 | | - const PS_PUBLISHED = 1; // /< Return only published items |
41 | | - const PS_DRAFTS = 2; // /< Return only drafts |
| 39 | + const PS_ALL = 0; ///< Return all items |
| 40 | + const PS_PUBLISHED = 1; ///< Return only published items |
| 41 | + const PS_DRAFTS = 2; ///< Return only drafts |
42 | 42 | |
43 | 43 | # Local variables. |
44 | | - private $mWikilogTitle = NULL; // /< Filter by wikilog. |
45 | | - private $mPubStatus = self::PS_ALL; // /< Filter by published status. |
46 | | - private $mCategory = false; // /< Filter by category. |
47 | | - private $mAuthor = false; // /< Filter by author. |
48 | | - private $mTag = false; // /< Filter by tag. |
49 | | - private $mDate = false; // /< Filter by date. |
50 | | - private $mNeedWikilogParam = false; // /< Need wikilog param in queries. |
| 44 | + private $mWikilogTitle = NULL; ///< Filter by wikilog. |
| 45 | + private $mPubStatus = self::PS_ALL; ///< Filter by published status. |
| 46 | + private $mCategory = false; ///< Filter by category. |
| 47 | + private $mAuthor = false; ///< Filter by author. |
| 48 | + private $mTag = false; ///< Filter by tag. |
| 49 | + private $mDate = false; ///< Filter by date. |
| 50 | + private $mNeedWikilogParam = false; ///< Need wikilog param in queries. |
51 | 51 | |
52 | 52 | # Options |
53 | 53 | /** Query options. */ |
Index: trunk/extensions/Wikilog/WlFeed.body.php |
— | — | @@ -568,9 +568,9 @@ |
569 | 569 | */ |
570 | 570 | class WlTextConstruct |
571 | 571 | { |
572 | | - const T_TEXT = 'text'; // /< Plain text, no markup. |
573 | | - const T_HTML = 'html'; // /< Contains HTML markup. |
574 | | - const T_XHTML = 'xhtml'; // /< Contains XHTML markup. |
| 572 | + const T_TEXT = 'text'; ///< Plain text, no markup. |
| 573 | + const T_HTML = 'html'; ///< Contains HTML markup. |
| 574 | + const T_XHTML = 'xhtml'; ///< Contains XHTML markup. |
575 | 575 | |
576 | 576 | /** |
577 | 577 | * Content language tag. |
Index: trunk/extensions/Wikilog/Wikilog.php |
— | — | @@ -376,14 +376,14 @@ |
377 | 377 | */ |
378 | 378 | class WikilogInfo |
379 | 379 | { |
380 | | - public $mWikilogName; // /< Wikilog title (textual string). |
381 | | - public $mWikilogTitle; // /< Wikilog main article title object. |
382 | | - public $mItemName; // /< Wikilog post title (textual string). |
383 | | - public $mItemTitle; // /< Wikilog post title object. |
384 | | - public $mItemTalkTitle; // /< Wikilog post talk title object. |
| 380 | + public $mWikilogName; ///< Wikilog title (textual string). |
| 381 | + public $mWikilogTitle; ///< Wikilog main article title object. |
| 382 | + public $mItemName; ///< Wikilog post title (textual string). |
| 383 | + public $mItemTitle; ///< Wikilog post title object. |
| 384 | + public $mItemTalkTitle; ///< Wikilog post talk title object. |
385 | 385 | |
386 | | - public $mIsTalk; // /< Constructed using a talk page title. |
387 | | - public $mTrailing = NULL; // /< Trailing subpage title. |
| 386 | + public $mIsTalk; ///< Constructed using a talk page title. |
| 387 | + public $mTrailing = NULL; ///< Trailing subpage title. |
388 | 388 | |
389 | 389 | /** |
390 | 390 | * Constructor. |
Index: trunk/extensions/Wikilog/WikilogCommentsPage.php |
— | — | @@ -47,17 +47,17 @@ |
48 | 48 | extends Article |
49 | 49 | implements WikilogCustomAction |
50 | 50 | { |
51 | | - protected $mSkin; // /< Skin used for rendering the page. |
52 | | - protected $mFormOptions; // /< Post comment form fields. |
53 | | - protected $mUserCanPost; // /< User is allowed to post. |
54 | | - protected $mUserCanModerate; // /< User is allowed to moderate. |
55 | | - protected $mPostedComment; // /< Posted comment, from HTTP post data. |
56 | | - protected $mCaptchaForm; // /< Captcha form fields, when saving comment. |
57 | | - protected $mTrailing; // /< Trailing text in comments title page. |
| 51 | + protected $mSkin; ///< Skin used for rendering the page. |
| 52 | + protected $mFormOptions; ///< Post comment form fields. |
| 53 | + protected $mUserCanPost; ///< User is allowed to post. |
| 54 | + protected $mUserCanModerate; ///< User is allowed to moderate. |
| 55 | + protected $mPostedComment; ///< Posted comment, from HTTP post data. |
| 56 | + protected $mCaptchaForm; ///< Captcha form fields, when saving comment. |
| 57 | + protected $mTrailing; ///< Trailing text in comments title page. |
58 | 58 | |
59 | | - public $mItem; // /< Wikilog item the page is associated with. |
60 | | - public $mTalkTitle; // /< Main talk page title. |
61 | | - public $mSingleComment; // /< Used when viewing a single comment. |
| 59 | + public $mItem; ///< Wikilog item the page is associated with. |
| 60 | + public $mTalkTitle; ///< Main talk page title. |
| 61 | + public $mSingleComment; ///< Used when viewing a single comment. |
62 | 62 | |
63 | 63 | /** |
64 | 64 | * Constructor. |
Index: trunk/extensions/Wikilog/WikilogHooks.php |
— | — | @@ -268,7 +268,7 @@ |
269 | 269 | if ( $wgDBtype == 'mysql' ) { |
270 | 270 | $wgExtNewTables[] = array( "wikilog_wikilogs", "{$dir}wikilog-tables.sql" ); |
271 | 271 | } else { |
272 | | - // / TODO: PostgreSQL, SQLite, etc... |
| 272 | + // TODO: PostgreSQL, SQLite, etc... |
273 | 273 | print "\n" . |
274 | 274 | "Warning: There are no table structures for the Wikilog\n" . |
275 | 275 | "extension other than for MySQL at this moment.\n\n"; |
Index: trunk/extensions/Wikilog/WikilogItem.php |
— | — | @@ -36,18 +36,18 @@ |
37 | 37 | /** |
38 | 38 | * General data about the article. |
39 | 39 | */ |
40 | | - public $mID = NULL; // /< Article ID. |
41 | | - public $mName = NULL; // /< Article title text (as in DB). |
42 | | - public $mTitle = NULL; // /< Article Title object. |
43 | | - public $mParent = NULL; // /< Parent wikilog article ID. |
44 | | - public $mParentName = NULL; // /< Parent wikilog title text. |
45 | | - public $mParentTitle = NULL; // /< Parent wikilog Title object. |
46 | | - public $mPublish = NULL; // /< Article is published. |
47 | | - public $mPubDate = NULL; // /< Date the article was published. |
48 | | - public $mUpdated = NULL; // /< Date the article was last updated. |
49 | | - public $mAuthors = array(); // /< Array of authors. |
50 | | - public $mTags = array(); // /< Array of tags. |
51 | | - public $mNumComments = NULL; // /< Cached number of comments. |
| 40 | + public $mID = NULL; ///< Article ID. |
| 41 | + public $mName = NULL; ///< Article title text (as in DB). |
| 42 | + public $mTitle = NULL; ///< Article Title object. |
| 43 | + public $mParent = NULL; ///< Parent wikilog article ID. |
| 44 | + public $mParentName = NULL; ///< Parent wikilog title text. |
| 45 | + public $mParentTitle = NULL; ///< Parent wikilog Title object. |
| 46 | + public $mPublish = NULL; ///< Article is published. |
| 47 | + public $mPubDate = NULL; ///< Date the article was published. |
| 48 | + public $mUpdated = NULL; ///< Date the article was last updated. |
| 49 | + public $mAuthors = array(); ///< Array of authors. |
| 50 | + public $mTags = array(); ///< Array of tags. |
| 51 | + public $mNumComments = NULL; ///< Cached number of comments. |
52 | 52 | |
53 | 53 | /** |
54 | 54 | * Constructor. |
Index: trunk/extensions/Wikilog/WikilogPager.php |
— | — | @@ -57,8 +57,8 @@ |
58 | 58 | public $mLimitsShown = array( 5, 10, 20, 50 ); |
59 | 59 | |
60 | 60 | # Local variables. |
61 | | - protected $mQuery = NULL; // /< Wikilog item query data |
62 | | - protected $mIncluding = false; // /< If pager is being included |
| 61 | + protected $mQuery = NULL; ///< Wikilog item query data |
| 62 | + protected $mIncluding = false; ///< If pager is being included |
63 | 63 | |
64 | 64 | /** |
65 | 65 | * Constructor. |
— | — | @@ -377,8 +377,8 @@ |
378 | 378 | implements WikilogPager |
379 | 379 | { |
380 | 380 | # Local variables. |
381 | | - protected $mQuery = NULL; // /< Wikilog item query data |
382 | | - protected $mIncluding = false; // /< If pager is being included |
| 381 | + protected $mQuery = NULL; ///< Wikilog item query data |
| 382 | + protected $mIncluding = false; ///< If pager is being included |
383 | 383 | |
384 | 384 | /** |
385 | 385 | * Constructor. |
Index: trunk/extensions/Wikilog/WikilogComment.php |
— | — | @@ -36,9 +36,9 @@ |
37 | 37 | /** |
38 | 38 | * Comment statuses. |
39 | 39 | */ |
40 | | - const S_OK = 'OK'; // /< Comment is published. |
41 | | - const S_PENDING = 'PENDING'; // /< Comment is pending moderation. |
42 | | - const S_DELETED = 'DELETED'; // /< Comment was removed. |
| 40 | + const S_OK = 'OK'; ///< Comment is published. |
| 41 | + const S_PENDING = 'PENDING'; ///< Comment is pending moderation. |
| 42 | + const S_DELETED = 'DELETED'; ///< Comment was removed. |
43 | 43 | |
44 | 44 | /** |
45 | 45 | * Mapping of comment statuses to readable messages. System messages are |
— | — | @@ -58,19 +58,19 @@ |
59 | 59 | /** |
60 | 60 | * General data about the comment. |
61 | 61 | */ |
62 | | - public $mID = NULL; // /< Comment ID. |
63 | | - public $mParent = NULL; // /< Parent comment ID. |
64 | | - public $mThread = NULL; // /< Comment thread. |
65 | | - public $mUserID = NULL; // /< Comment author user id. |
66 | | - public $mUserText = NULL; // /< Comment author user name. |
67 | | - public $mAnonName = NULL; // /< Comment anonymous author name. |
68 | | - public $mStatus = NULL; // /< Comment status. |
69 | | - public $mTimestamp = NULL; // /< Date the comment was published. |
70 | | - public $mUpdated = NULL; // /< Date the comment was last updated. |
71 | | - public $mCommentPage = NULL; // /< Comment page id. |
72 | | - public $mCommentTitle = NULL; // /< Comment page title. |
73 | | - public $mCommentRev = NULL; // /< Comment revision id. |
74 | | - public $mText = NULL; // /< Comment text. |
| 62 | + public $mID = NULL; ///< Comment ID. |
| 63 | + public $mParent = NULL; ///< Parent comment ID. |
| 64 | + public $mThread = NULL; ///< Comment thread. |
| 65 | + public $mUserID = NULL; ///< Comment author user id. |
| 66 | + public $mUserText = NULL; ///< Comment author user name. |
| 67 | + public $mAnonName = NULL; ///< Comment anonymous author name. |
| 68 | + public $mStatus = NULL; ///< Comment status. |
| 69 | + public $mTimestamp = NULL; ///< Date the comment was published. |
| 70 | + public $mUpdated = NULL; ///< Date the comment was last updated. |
| 71 | + public $mCommentPage = NULL; ///< Comment page id. |
| 72 | + public $mCommentTitle = NULL; ///< Comment page title. |
| 73 | + public $mCommentRev = NULL; ///< Comment revision id. |
| 74 | + public $mText = NULL; ///< Comment text. |
75 | 75 | |
76 | 76 | /** |
77 | 77 | * Whether the text was changed, and thus a database update is required. |