As I said on the 25th, it may be that in your installation MediaWiki knows about the SMW namespaces and its special pages, but SMW's parsing is broken. Or it may be you simply need to specify the type of your attribute. Details below.
Are you sure relations are working for you? The simplest possible case is put [[NoSuchRelation::a page]] in a regular page, and you should get a fact box showing this relation, and an entry in the smw_relations table. For attributes, put [[NoSuchAttribute:=a value]] in a regular page and you should get a fact box showing NoSuchAttribute [Oops! No type defined for attribute] This stores nothing in smw_attributes since SMW doesn't know the type of the attribute. Are you using a different language ($wgLanguageCode in LocalSettings.php)? As discussed on this mailing list, you can't use the English names for namespaces and special properties in many situations, you must use the localized names. Re-read the INSTALL file that came with your SMW code and test every step. You could add basic echo "<h1>In smwfParseRelationsCallback</h>\n" debug statements to the smwfParseRelationsCallback/smwfParseAttributesCallback functions in SMW_Hooks.php and see if they get called. > My Wiki's version is 1.9.3 and SMW is the latest, 0.7. I have a little > problem with attributes. I made some attributes ([[Attr:=16]]), and > these are listed on Special:All page (in Attributes namespace), but on > Special:Attributes are not. As above, even if SMW parsing is working, if you haven't defined the type of an attribute then nothing is saved in smw_attributes. So Special:Attributes will indeed be empty. Add [[Has type::Type:something]] on the Attribute:Attr_name page, see http://ontoworld.org/wiki/Help:Annotation#Attributes > The Special:Relations works fine. There is a > same problem with Special:Search by attribute, Special:Semantic search > and with inline queries (the results are empty). But then all my > attributes are listed on page Special:Unused attributes. What does it > mean "unused"? When in an article is a link with syntax [[attr:=value]], > then attr is "used", isn't it? The page makes an attempt to use the attribute, but if the attribute isn't set up with a type it's an error. There has been debate whether SMW should default the type of attributes to a string of plain wiki text, which would make attributes work even without giving them types. > PiPi (Sorry about my english!) No worries. What would make this easier? How can we improve installation? -- =S ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Semediawiki-user mailing list Semediawiki-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user