[Pdbwiki-devel] Annotated pages category

Jose M. Duarte jose.m.duarte at gmail.com
Thu May 7 14:29:59 EDT 2009

Hi guys

I've made a lot of progress in updating pdbwiki to 1.2.... That includes a
more robust system for doing the weekly timestamps diff, but we can talk
about that another time. I know I know I should have been doing other things
like writing up.... ;)

Anyway one of the things I'm trying to change right now is the way to keep
track of annotated entries. The idea is to simply categorise them as
"Category:Annotated entry", which makes a lot of things (like querying the
latest annotations) simpler.

Since we have the comments extension now it is easy to automatically add any
commented page to the category. We can simply code that in the comments
extension and that's it.

Now for existing commented entries we have to grab them and fix them one by
one with a bot run. To that purpose I've written a script
getAnnotatedPages.php (in svn) that by directly querying the MediaWiki
tables lists all non-empty categories. That hopefully should be useful also
for other things. I'm not 100% sure if it is finding all of them, the count
I'm getting is 77 while in the Statistics page (using DPL) we have 80. What
the script does is it grabs the wiki text of the latest revision of all user
comments pages and parses the text to see if it's not empty (excluding tags
and so on).

So the questions for the moment is first what do you think about this? and
second if we do use this system how do we call the "annotated entry"
category and how do we categorise it? I'm not familiar at all with the
category system and naming convention.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/mailman/private/pdbwiki-devel/attachments/20090507/f1b18506/attachment.html>

More information about the Pdbwiki-devel mailing list