I've been testing semantics mediawiki for the last 2 days and I experienced one main problem on which I would appreciate some help:
I have created 2 attributes id and priority. I want to make a query that display the data in a table with 2 columns corresponding to those attributes. I have managed to make a query that returns a table with all my pages using the following query:
<ask format="table">
[[id:=+]]
[[priority:=+]]
</ask>
| CUSTOMER PI 001 |
| CUSTOMER PI 002 |
| CUSTOMER PI 003 |
| CUSTOMER PI 004 |
| CUSTOMER PI 005 |
| CUSTOMER PI 006 |
| CUSTOMER PI 007 |
| CUSTOMER PI 008 |
| CUSTOMER PI 009 |
| CUSTOMER PI 010 |
| CUSTOMER PI 011 |
My problem is that when I try to display the columns using the syntax:
<ask format="table">
[[id:=+]]
[[priority:=+]]
[[id:=*]]
[[priority:=*]]
</ask>
I get a complete BLANK page !!!
Do you have any idea ?
for information, I have the following versions:
- MediaWiki: 1.8.2
- PHP: 5.0.3 (apache2handler)
- MySQL: 4.1.12
- Extensions:
- Special pages:
- CategoryTree by Daniel Kinzler
- Parser hooks:
- CategoryTree by Daniel Kinzler
- Semantic MediaWiki (version 0.5b), Making your wiki more accessible – for machines and humans, by Klaus Lassleben, Markus Krötzsch, Kai Hüner, Denny Vrandecic, S Page
- Extension functions:
- efCategoryTree, wfSearchTripleExtension, wfExportRDFExtension, wfSMWAdminExtension, wfOntologyImportExtension, wfSMWRelations, wfSMWUnusedRelations, wfSMWAttributes, wfSMWUnusedAttributes and wfSMWTypes
- Parser extension tags:
- <categorytree> and <pre>
- Parser function hooks:
- int, ns, urlencode, lcfirst, ucfirst, lc, uc, localurl, localurle, fullurl, fullurle, formatnum, grammar, plural, numberofpages, numberofusers, numberofarticles, numberoffiles, numberofadmins, language, padleft, padright and anchorencode
- Special pages:
- Hooks:
- ArticleDelete: smwfDeleteHook
- ArticleFromTitle: efCategoryTreeArticleFromTitle
- ArticleSaveComplete: smwfSaveHook
- BeforePageDisplay: smwfAddHTMLHeader
- InternalParseBeforeLinks: smwfParserHook
- LoadAllMessages: efInjectCategoryTreeMessages
- OutputPageParserOutput: efCategoryTreeParserOutput
- ParserAfterTidy: smwfParserAfterTidyHook
- ParserBeforeStrip: smwfRegisterInlineQueries
- SkinTemplateTabs: smwfAddRefreshTab
- TitleMoveComplete: smwfMoveHook
Thanks,
Laurent
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Semediawiki-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-user
