I just tried the category feaature, and found it broken - again. This must be*at least* the third time I left intact code and found it broken. Please, be a little more careful next time, OK?
I fixed it and put it back in the CVS - working, but probably ugly.
Also, I found that "brokenlink" seems to amass multiple identical links each time one saves a page with broken links. I have DISTINCT the queries for now, but we'll have to do someting about that.
Magnus
On Apr 2, 2004, at 13:15, Magnus Manske wrote:
I just tried the category feaature, and found it broken - again. This must be*at least* the third time I left intact code and found it broken. Please, be a little more careful next time, OK?
As far as I know it *never* worked completely. Could you please test it thoroughly and document what it's supposed to do so that people can avoid breaking it?
Also, I found that "brokenlink" seems to amass multiple identical links each time one saves a page with broken links. I have DISTINCT the queries for now, but we'll have to do someting about that.
Would you mind tracking that down?
-- brion vibber (brion @ pobox.com)
Magnus Manske wrote:
I just tried the category feaature, and found it broken - again. This must be *at least* the third time I left intact code and found it broken. Please, be a little more careful next time, OK?
I bet this has to do with the fact that the category stuff is not in live use on Wikipedia. That makes people forget about it much more easily.
Also, I found that "brokenlink" seems to amass multiple identical links each time one saves a page with broken links. I have DISTINCT the queries for now, but we'll have to do someting about that.
The solution to this is called a UNIQUE index, and using REPLACE INTO instead of INSERT INTO.
The same should apply to the 'links' table.
Timwi
wikitech-l@lists.wikimedia.org