Brianna said:
But this doesn't give you a way to see which translations are out of date.
hm...
This might be easy to query: basically you want to know, for a given welsh page, whether the current revision's timestamp is later than the timestamp of the accepted revision of the english counterpart.
So in psuedo-code, this would be something like:
function welshArticleIsOutOfDate($welshArticle, $englishArticle) { $engTs = getTimestampOfAcceptedRevision($englishArticle); $welshTs = getTimestampOfCurrentRevision($welshArticle); return $engTs > $welshTs; }
An extension that hooked something that happens on every page load (like OutputPageBeforeHTML or SkinTemplateSetupPageCss) could perform this check and set the contents of a div or optionally change some CSS styles accordingly.
Getting a list of all such out-of-date welsh translations would probably require a special page dedicated to producing such a list.
-- Jim R. Wilson (jimbojw)
On 4/20/07, Brianna Laugher brianna.laugher@gmail.com wrote:
On 20/04/07, Daniel Israel dmi1@hushmail.com wrote:
Brianna Laugher wrote:
"This page is a translation of the [[englishpage&oldid=69899|original English document at revision 69899]]. If the English page has been updated since that revision, this document may not reflect the updated text."
I actually had a different situation in which it would be useful to refer to specific versions of a page, but this didn't work for me in wikilink syntax. Should the link [[Pagename&oldit=534534]] work?
No, that was just my shorthand, sorry. Something like this should work:
[[{{fullurl:englishpage|oldid=69899}}|revision 69899]]
cheers, Brianna
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l