Provide page id and revision timestamp in revision data end point#231
Provide page id and revision timestamp in revision data end point#231gwicke merged 3 commits intowikimedia:masterfrom
Conversation
Relating to changes described in: https://phabricator.wikimedia.org/T95364
1 similar comment
|
@JonCook, thank you for your patch! This looks good to go to me. The only blocker is that we'll need schema migration support for existing content before we can merge / deploy this. @eevans is currently working on https://phabricator.wikimedia.org/T75808, and is looking into support for adding columns in particular. |
|
/cc @d00rman |
There was a problem hiding this comment.
Can be simply:
var redirect = dataResp.redirect !== undefined;|
Thanks for the comments. I'll fix the minor nitpicks later. The indentation is a bit strange as well as it looks ok in my text editor. |
Might be a tabs vs spaces issue |
Correct indentation.
Yeah, there are still some stray tabs in some of the test files. Lets clean that up in a separate patch. |
Simplify redirect property boolean retrieval logic.
|
I updated the minor nitpicks. Hope it is ok. Think it is ready to go now when you've finished the schema migration changes. |
|
@JonCook, the schema support has landed now, but we'll hold of with merging this until after the Monday deploy to reduce the amount of change we deploy at once. |
|
@gwicke Did the Monday deploy go ok? Is it safe for you guys to go ahead with this merge? |
|
@JonCook, the Monday deploy went well, and I just merged the capability to actually add columns. We'll be doing one more deploy tomorrow before likely pushing this out on Thursday. |
Provide page id and revision timestamp in revision data end point
|
@JonCook, after some testing your code went live 15 minutes ago. It's all looking great, so thanks a lot for your contribution! The next step will now be to leverage this information in HTML dumps (https://phabricator.wikimedia.org/T93396 and https://github.com/wikimedia/htmldumper). |
|
Great, thanks. Glad I could help/contribute! |
Relating to changes described in:
https://phabricator.wikimedia.org/T95364