Creates a new contribution survey row from MediaWiki parser output.
The case page of this row
The wikitext of the row
The case page of this row.
OptionalcommentEditor comments for this row (including signature)
Extra page information. e.g. "(1 edit, 1 major, +173)"
ReadonlyoriginalThe original status of this row (if it had a prior status).
The status of this row.
OptionalstatusDetermines if the status indicator (as tested by the regular expressions at ContributionSurveyRow.commentMatchRegex) is isolated (at the start or end of the comment). This will enable removal of the status indicator from the comment in the comment text input box.
The title of the page that this row is attached to.
detailed refers to a row with both page and revision information.pageonly refers to a row with only a page and no revision information.The original wikitext of the row.
Static ReadonlycommentA set of regular expressions that will match a specific contribution survey row comment. Used to determine the status of the comment.
Static ReadonlyParserThis variable returns true when (a) the row has a non-unfinished status, and (b) there are no outstanding diffs in this row
See description.
Get the ContributionSurveyRowRevisions of this row.
StaticgetGets the sorter function which will sort a set of diffs based on a given sort order. This sorts any array containing revisions.
Optionalmode: "array"The sort mode to use.
Gets the sorter function which will sort a set of diffs based on a given sort order. This sorts any entry array using the first element (the key).
Optionalmode: "key"The sort mode to use.
Gets the sorter function which will sort a set of diffs based on a given sort order. This sorts any entry array using the second element (the value).
Optionalmode: "value"The sort mode to use.
StaticguessGuesses the sort order for a given set of revisions.
The diffs to guess from.
The sort order
StaticidentifyIdentifies a row's current status based on the comment's contents.
The comment to process
The status of the row
Represents a contribution survey row. This is an abstraction of the row that can be seen on contribution survey pages, which acts as an intermediate between raw wikitext and actual HTML content.