Skip to content

Commit

Permalink
Merge 7989dde into 83b4074
Browse files Browse the repository at this point in the history
  • Loading branch information
Pchelolo committed Aug 16, 2018
2 parents 83b4074 + 7989dde commit 8655225
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion sys/page_revisions.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ class PRS {
action: 'query',
prop: 'info|revisions',
continue: '',
rvprop: 'ids|timestamp|user|userid|size|sha1|contentmodel|comment|tags'
rvprop: 'ids|timestamp|user|userid|size|sha1|comment|tags'
}
};
if (/^[0-9]+$/.test(rp.revision)) {
Expand Down
2 changes: 1 addition & 1 deletion test/features/errors/invalid_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ parallel('400 handling', function() {
action: 'query',
prop: 'info|revisions',
continue: '',
rvprop: 'ids|timestamp|user|userid|size|sha1|contentmodel|comment|tags',
rvprop: 'ids|timestamp|user|userid|size|sha1|comment|tags',
format: 'json',
formatversion: 2,
titles: 'Main_Page'
Expand Down
4 changes: 0 additions & 4 deletions test/features/pagecontent/access_checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ describe('Access checks', () => {
'pageid': 49453581,
'ns': 0,
title,
'contentmodel': 'wikitext',
'pagelanguage': 'en',
'touched': '2015-05-22T08:49:39Z',
'lastrevid': revision,
Expand All @@ -37,7 +36,6 @@ describe('Access checks', () => {
'timestamp': '2015-03-25T20:29:50Z',
'size': 2941,
'sha1': 'c47571122e00f28402d2a1b75cff77a22e7bfecd',
'contentmodel': 'wikitext',
'comment': 'Test',
'tags': []
}]
Expand Down Expand Up @@ -253,14 +251,12 @@ describe('Access checks', () => {
"userid": 6591,
"timestamp": "2015-02-03T21:15:55Z",
"size": 7700,
"contentmodel": "wikitext",
"tags": []
};
const normalResponse = {
"pageid": 152993,
"ns": 3,
"title": pageTitle,
"contentmodel": "wikitext",
"pagelanguage": "en",
"pagelanguagehtmlcode": "en",
"pagelanguagedir": "ltr",
Expand Down
5 changes: 0 additions & 5 deletions test/features/pagecontent/save_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ describe('page save api', function() {
result: "Success",
pageid: 127114,
title: "Save test",
contentmodel: "wikitext",
oldrevid: 275830,
newrevid: 275831,
newtimestamp: now
Expand All @@ -271,7 +270,6 @@ describe('page save api', function() {
'pageid': 127114,
'ns': 0,
'title': 'Save test',
'contentmodel': 'wikitext',
'pagelanguage': 'en',
'touched': now,
'lastrevid': 275831,
Expand All @@ -283,7 +281,6 @@ describe('page save api', function() {
'timestamp': now,
'size': 2941,
'sha1': 'c47571122e00f28402d2a1b75cff77a22e7bfecd',
'contentmodel': 'wikitext',
'comment': 'Test',
'tags': []
}]
Expand Down Expand Up @@ -326,7 +323,6 @@ describe('page save api', function() {
result: "Success",
pageid: 127114,
title: "Save test",
contentmodel: "wikitext",
nochange: true
}
});
Expand Down Expand Up @@ -419,7 +415,6 @@ describe('page save api', function() {
result: "Success",
pageid: 46950417,
title: "Save_Test",
contentmodel: "wikitext",
oldrevid: 680525605,
newrevid: 680525800,
newtimestamp: new Date().toISOString()
Expand Down

0 comments on commit 8655225

Please sign in to comment.