Last modified: 2012-05-08 13:55:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30844, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28844 - article creation timestamp and age
article creation timestamp and age
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-06 02:35 UTC by John Mark Vandenberg
Modified: 2012-05-08 13:55 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2011-05-06 02:35:42 UTC
I would like to build rules that depend on the age of a page.  To do this, I think we need a article_creation_timestamp and/or article_age.
Comment 1 iain.macdonald 2011-05-08 02:38:08 UTC
It would be particularly useful from a Wikinews perspective if this could be linked also with regards to the time an article was first sighted with FlaggedRevs. Given en.WP's mulling of FlaggedRevs for vandalism control, they might also find that useful.
Comment 2 Bawolff (Brian Wolff) 2011-05-08 02:40:23 UTC
(In reply to comment #1)
> It would be particularly useful from a Wikinews perspective if this could be
> linked also with regards to the time an article was first sighted with
> FlaggedRevs. Given en.WP's mulling of FlaggedRevs for vandalism control, they
> might also find that useful.

As an alternative, the cl_timestamp field of the categories could also potentially be useful to wikinews
Comment 3 John Mark Vandenberg 2011-05-08 04:24:19 UTC
(In reply to comment #2)
> As an alternative, the cl_timestamp field of the categories could also
> potentially be useful to wikinews

That would be lovely, but what would the syntax be?
It could be built using variables containing tuples (category, timestamp), but that requires a new set of functions to handle tuples/arrays/etc (bug 25673).
Or it could be implemented via a function like article_cat_ts(articleid,category)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links