I would like to build rules that depend on the age of a page. To do this, I think we need a page_creation_timestamp and/or page_age.
Description
Details
- Reference
- bz28844
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add page_age variable to AbuseFilter | mediawiki/extensions/AbuseFilter | master | +31 -1 |
Event Timeline
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.
(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
(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)
Change 201086 had a related patch set uploaded (by Dragons flight):
Adds "article_age" variable to AbuseFilter
Change 201086 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Add page_age variable to AbuseFilter
This has been flagged for potential inclusion in Tech News. How would you phrase it? Something like this?
"Abuse filters can now use how old a page is. The variable is page_age"?