197
edits
(linter stuff, readability, and indentation) |
(revisions property without rvslots is depreciated) |
||
Line 274:
pageids: 238,
prop: 'revisions',
rvprop: 'content',
rvslots: 'main'
}
).done( function ( data ) {
try {
var wtext = data.query.pages[238].revisions[0].slots.main['*'];
wtext = wtext.substr( 0, wtext.indexOf("|-") ) + list + '\n' + wtext.substr( wtext.indexOf( "|}" ) );
|