Page MenuHomePhorge

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

Authored by aklapper on Dec 5 2023, 14:56.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 12:32
Unknown Object (File)
Sat, May 4, 00:48
Unknown Object (File)
Thu, May 2, 13:31
Unknown Object (File)
Sat, Apr 27, 16:47
Unknown Object (File)
Sat, Apr 27, 16:47
Unknown Object (File)
Sat, Apr 27, 16:47
Unknown Object (File)
Sat, Apr 27, 16:47
Unknown Object (File)
Sat, Apr 27, 11:35

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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"