Page MenuHomePhabricator

Articles in wrong categories
Closed, ResolvedPublic

Description

Author: simonvezina

Description:
Hi,

I am deploying a Semantic Mediawiki site here at http://www.allamps.com. (A wiki about guitar amplifiers.)

I am having the following wierd bug.. Articles sometimes appear in the wrong categories.

Here is how the site is built: All of the amplifier pages are categorized depending on what the "Manufacturer" is. The Manufacturer is a field in a Form that the user has to fill. Then, I just call [[Category:{{{Manufacturer}}}]] in the template.

Here are the template and form:
Template: http://www.allamps.com/wiki/Template:GuitarAmplifierInfoBox
Form: http://www.allamps.com/wiki/Form:GuitarAmplifierInfoBox

Example:
If I edit a Fender amplifier using the form, it will go to the correct category. But then, if I go and edit an Ampeg amplifier, the Fender one might no longer appear in the Fender category. It's very wierd, and I didn't find the pattern of the problem.
http://www.allamps.com/wiki/Category:Fender
http://www.allamps.com/wiki/Category:Ampeg

When I look at the problematic articles, they do have the correct category at the bottom of the page. But they just don't appear in the category.

I tried disabling every extension on my site, and it did the same thing.

Other symptoms:
-Sometimes, the Fender category will suddenly have a Fender subcategory.
-Sometimes, another category will appear as a Subcategory of another, even though they are not supposed to.

Do these sympoms ring a bell to anyone?
Simon


Version: unspecified
Severity: major
URL: http://www.allamps.com

Details

Reference
bz15968

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:17 PM
bzimport set Reference to bz15968.

There was a known problem in SMW that could cause data to be misdirected when certain other extensions/jobs were running in unfortunate constellations. Which version of SMW do you use? Trying to call your Special:Version page gives me an error, possibly by some broken extension.

SMW 1.4 is close to release. The SVN version can be tested and should work with Semantic Forms SVN as well. SMW 1.4 also includes a new feature to "repair" all data using Special:SMWAdmin. This should be used to fix any miscategorised pages.

I assume that this bug has been fixed by the changes in SMW 1.4.