Boolean value, true if a forum moderator or instructor has marked that this ``Comment`` is a correct answer for whatever question the thread was asking. Exists for ``Comment``s that are replies to other ``Comment``s, but in that case ``endorsed`` is always false because there's no way to endorse such comments through the UI.
Boolean value, true if a forum moderator or instructor has marked that this ``Comment`` is a correct answer for whatever question the thread was asking. Exists for Comments that are replies to other Comments, but in that case ``endorsed`` is always false because there's no way to endorse such comments through the UI.
The following sections detail how edX stores Wiki data internally, and is useful for developers and researchers who are examining database exports.
The following sections detail how edX stores wiki data internally, and is useful for developers and researchers who are examining database exports.
EdX currently uses an external application called Django Wiki for Wiki functionality within courses.
EdX currently uses an external application called django-wiki for wiki functionality within courses.
In the data package, wiki data is delivered in two SQL files:
* The wiki_article file is a container for each article that is added to the wiki. The full name of this file also includes the organization and course, and indicates a source of either prod (edX) or edge, in this format: edX-*organization*-*course*-wiki_article-*source*-analytics.sql.
****************
wiki_article
****************
* The wiki_articlerevision file stores data about the articles, including data about changes and deletions. The full name of this file is in this format: edX-*organization*-*course*-wiki_articlerevision-*source*-analytics.sql.
.. list-table::
:widths: 15 15 15 15
:header-rows: 1
***********************************
Fields in the wiki_article file
***********************************
* - Field
- Type
- Null
- Key
* - id
- int(11)
- NO
- PRI
* - current_revision_id
- int(11)
- NO
- UNI
* - created
- datetime
- NO
-
* - modified
- datetime
- NO
-
* - owner_id
- int(11)
- YES
- MUL
* - group_id
- int(11)
- YES
- MUL
* - group_read
- tinyint(1)
- NO
-
* - group_write
- tinyint(1)
- NO
-
* - other_read
- tinyint(1)
- NO
-
* - other_write
- tinyint(1)
- NO
-
The header row of the wiki-article SQL file, and a row of sample data, follow.
.. code-block:: json
id current_revision_id created modified owner_id group_id group_read group_write