[Pdbwiki-devel] Category membership and the comments extension?
Jose M. Duarte
jose.m.duarte at gmail.com
Tue Jul 28 06:35:01 EDT 2009
Thanks for checking all that. I also suspect that there's something wrong
with the whole update of categories. The only way I've been able to make
things categorise properly is as you say by manually forcing it with 'edit'
The things is I'm not even sure if this is only for pages saved through the
comments extension. I'd say that the other day when I was tagging some
entries as "Solved" I did it all through traditional edits and still the
categories didn't update or weren't added to the job queue (at least nothing
happened when I executed 'php maintenance/runJobs.php').
I'll have to double check though. It could be still that it only happens for
the comments extension, which in principle would be "good news" because it
would be in our hands to fix it.
2009/7/28 Dan Bolser <dan.bolser at gmail.com>
> Hi Jose,
> A little while back you raised a concern about category membership not
> updating. Was this strictly to do with categories applied via the
> comments extension, or categories in general? At the time I thought it
> was an issue with the Job Queue because cats were being applied to
> pages via templates. However, I noticed a big discrepancy between the
> entries listed here:
> * http://pdbwiki.org/index.php/Category:Annotated_PDB_entry and
> * http://pdbwiki.org/index.php/Category:Annotated_PDB_entry_discussion
> These two categories should have the same number of members, but I saw
> a difference of ~15 entries, although the job queue length was zero! I
> fixed the discrepancy by manually clicking 'edit' and 'save' on those
> entries, forcing an update on the relevant tables.
> The job queue length of zero is suspicious, and makes me think that
> perhaps the comments extension is circumventing the normal process of
> saving text in a page. i.e. it's setting a new category in the
> template but not flagging the calling page as in need of update (not
> adding it to the job queue).
> Is this problem limited to categories added via the comments
> extension, or did you see similar behaviour elsewhere? If not, I'll
> send a question about the code to mediawiki-l
> Pdbwiki-devel mailing list
> Pdbwiki-devel at bioinformatics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdbwiki-devel