mediawiki-extensions-Discus.../tests/qunit/cases/lrm-signature/lrm-signature.json
Bartosz Dziewoński e9c401e3aa Ignore LRM and RLM before timezone indicator
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
2020-02-25 00:20:00 +00:00

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": []
}
]
}
]