When using updated_at, there is no way of determining whether a page was created or updated. Also, each page is grouped together - which might not be the result I want.
Therefore, I want to create a list like this:
Next page was updated by John
Next page was updated by leiger
Next page was created by leiger
Example page was updated by leiger
Using something like this (as an example)
[[module ListRevisions order="updated_at desc"]]
%%title_linked%% was %%update_type%% by %%updated_by%%
[[/module]]
So, a ListRevisions module (or some other way of doing this) would be great.
It's possible that this might eventually be possible using the API - but an external server would have to be used and the results iframed into a Wikidot page. Not exactly user-friendly, and requires paying for the server as well.
I think this should be an extension of ListPages. It would be more useful there.
A ListRevisions module should iterate through the revisions of a single page, and that would be great to play with, but it isn't what you are asking for.
On a slightly related note, I was doing something similar to this recently, where I had the text 'created by…', and I only wanted to show 'updated by …' if the page had actually been updated. This is what I used…
And then in a css module…
This way, the 'updated by…' text will only show if there have been 1 or more revisions of the page. You could fairly easily set it so the 'created by…' text only showed with 0 revisions also.
This may or may not be what you're after? And a ListRevisions module would still be handy…
BMC Creative | RoaringApps | @brycecammo
Yes, it helps a bit actually. Not perfect though.
It's not possible at the moment - but if two people edit the same page within 5 minutes, I want to show both revisions. %%updated_at%% and %%updated_by%% only show the last revision.
The list that I want to generate isn't critical to my site, so if it comes down to it I'll just have to settle with not being able to do this.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server