[Mediawiki-l] Adjust article content without modifying page_touched

Zach H. luckenbach at gmail.com
Thu Oct 20 22:36:11 UTC 2011


So we are currently using the MediaWiki software to run a Knowledge base
system and have a policy that says we will review ALL articles that have not
been touched in 365 days to ensure they are still relevant. Coming up with
the SQL code to find these was very easy, one feature I was asked
to implement was 'is it possible to add a "outdated" tag to a article' so I
added the {{outdated}} tag to the wiki, now the hard part is, how do
I programmatically update the most current revision without adjusting the
page_touched date? is it even possible? I know I can do this via SQL but
that is VERY kludgy and I can see all sorts of issues this could cause so I
wanted to ask the pro's.

Thanks for any assistance in advance.
Zach H.


More information about the MediaWiki-l mailing list