Commenting allows registered users of a wiki to discuss a page's contents.
| Config Key | Default Value | Description | Addtl notes |
| $wgCommentCount | 15 | Determines number of comments to display on initial page load | Setting to '0' disables commenting on the UI |
| $wgCommentCountAll | 10000 | Determines the number of comments to show when requesting 'ALL' comments | A high number is set in case there's a ridiculous number of comments so there's no timeouts from API or mySQL |
Enhance the usability and discoverability of comments by allowing DekiScripts and the front end to more easily find relevant comments.
GET: pages/{id}/comments
New query params:
?depth: Use 'infinity' to return comments from all descendant pages. (default: 0)
Enforce new operation "COMMENT".
1) will search be done against lucene or the database? If we hit the db directly, we should index cmnt_content (which is a text column :( )
2) if search by user, we need to index cmnt_poster_user_id
3) at some point we really need the API to start caching feeds