[Pdbwiki-devel] Annotated pages category

Dan Bolser dan.bolser at gmail.com
Thu May 7 16:42:56 EDT 2009

Hey Jose,

Sounds like good work on getting the latest version out.

With regard to the comments counts - I also noticed some strange
'empty' comments too - I think these are entries that were commented
on, but where the comment was later deleted. These pages have the
'edit mark' (and get pulled up by the DPL), but their is no comment
text. We can safely ignore these, as your script sounds like its doing
the right thing.

So basically I think it sounds great!

About the category for user comments - something simple is best... I
don't know for sure but simply [[Category:User comment]] or
[[Category:Comment]] would be fine I think. However, I'd suggest that
we add the category via a template anyway, so that way we can very
easily change the category name later, if we decide to rename.
Essentially any static text in a page should probably be provided by a

One further question, seeing as we are doing a general upgrade, should
I set the 'pretty URL' configuration options? Using these settings we
can have links like:


Instead of:


I know its minor, but we should decide sooner rather than later if we
go about changing the standard links. Its just a few config settings,
so I'm happy to do that if everyone agrees.

Oh, I just remembered one thing we never discussed... weather or not
to use the discussion page for an entry as the place to put the user
comments or weather to create a separate comments page and to put
comments there. I vote for the former, its simpler, cleaner and more
intuitive in my opinion. The latter solution creates two extra and
essentially redundant comments pages. I listed namespace usage here:


Hmm... that doesn't actually show us anything. I wanted to show that
the 'comments page talk page' and 'entry page talk page' was never
used... I'll try to write a DPL to check that.

Anyway, I think that the use case synario that requires a separate
comments page for every entry is marginal at best.

Lets discuss this and make a decision before we roll out the new version.

I'll try to grab your script from the SVN (I didn't play with that
yet) and have a look.

Thanks for the update.

All the best,

2009/5/7 Jose M. Duarte <jose.m.duarte at gmail.com>:
> 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.
> Cheers
> Jose
> _______________________________________________
> Pdbwiki-devel mailing list
> Pdbwiki-devel at bioinformatics.org
> http://www.bioinformatics.org/mailman/listinfo/pdbwiki-devel

More information about the Pdbwiki-devel mailing list