https://bugzilla.wikimedia.org/show_bug.cgi?id=28489

--- Comment #1 from Brion Vibber <[email protected]> 2011-04-11 17:14:33 UTC 
---
Revision status can be fetched from CodeReview via API:

http://www.mediawiki.org/w/api.php?action=query&list=coderevisions&crrepo=MediaWiki&crrevs=12345&crprop=revid|author|status|timestamp&format=json

{
    "query": {
        "coderevisions": [
            {
                "revid": 12345,
                "status": "old",
                "author": "nikerabbit",
                "timestamp": "2006-01-02T01:00:38Z"
            }
        ]
    }
}

Note this is also something that could be done from client-side JS so the
lookups don't delay page generation. Emit an appropriate class for the rev
links, and JS can go look them up in a batch.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to