Page MenuHomePhorge

Include 'published' date of posts in Phame Atom feeds
ClosedPublic

Authored by aklapper on Dec 5 2023, 14:56.

Details

Summary

Metadata of Phame blog posts includes the 'updated' date of a blog post. Make them also include the original 'published' date.

Patch written by @20after4 from:

https://phabricator.wikimedia.org/rPHAB3de500bfc845759d6da82180df0adfc12f973463

Closes T15686

Test Plan
  • Go to the Atom feed of blog 1 at /phame/blog/feed/1/ and look at this <feed>'s source
  • Apply patch and do the same, see additional <published> entry just like the <updated>
  • Edit the last blog post in blog 1, then check Atom feed and verify that the published and updated date stamp differ as expected

Diff Detail

Repository
rP Phorge
Branch
PhamePublishedDate (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 975
Build 975: arc lint + arc unit

Event Timeline

aklapper requested review of this revision.Dec 5 2023, 14:56

If the patch was written by 20after4 we can probably set git commit --amend --author="Mukunda Modell". Can I help in this?

Anyway, tested, thanks!

This revision is now accepted and ready to land.Dec 6 2023, 06:23
valerio.bozzolan edited the test plan for this revision. (Show Details)

git commit --amend --author="Mukunda Modell"