mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-18 13:45:56 +00:00
e9c401e3aa
They are not generated by MediaWiki, but they often appear when users sign others' unsigned comments by copy-pasting the timestamp from the history page. Add test config data for nlwiki, exported by running this in the browser console: copy( JSON.stringify( { wgArticlePath, wgNamespaceIds, wgFormattedNamespaces }, null, 2 ) + '\n' + JSON.stringify( mw.loader.moduleRegistry['ext.discussionTools.parser'].packageExports['data.json'], null, 2 ) ); Bug: T245784 Change-Id: Icbcdc5a028e9ce2cb09173f87769e525ec3082fc
26 lines
440 B
JSON
26 lines
440 B
JSON
[
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/0",
|
|
"0/1/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2017-12-28T15:32:00.000Z",
|
|
"author": "145.133.2.174",
|
|
"range": [
|
|
"0/3/0",
|
|
"0/5/1/8/26"
|
|
],
|
|
"level": 1,
|
|
"id": "145.133.2.174|2017-12-28T15:32:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
]
|