On Thursday 02 November 2006 15:48, Laurent CZINCZENHEIM wrote:
> Hi,
>
> 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>

Hi Laurent,

the syntax for displaying both columns would be 

<ask format="table">
 [[id:=+]]
 [[priority:=+]]
 [[id:=*]]
 [[priority:=*]]
</ask>

Blank pages are usually due to PHP storage limitations that often affect 
MediaWiki and its extensions. Try editing your LocalSettings.php to include 

ini_set( 'memory_limit', '20M' );

(commented out by default) to increase your PHP memory.

Good luck,

Markus


>
>
>  [image:
> [<>]]<http://srv.exerp.com/mediawiki/index.php?title=Elixia_Germany_PreProj
>ect&action=submit#> CUSTOMER PI
> 001<http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_001> CUSTOMER
> <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_001> PI
> 002<http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_002>
> CUSTOMER <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_001>
> PI 003<http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_003>
> CUSTOMER
> PI 004 <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_004> 
> CUSTOMER PI 005 <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_005>
>  CUSTOMER PI 006
> <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_006>  CUSTOMER PI
> 007 <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_007>  CUSTOMER
> PI 008 <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_008> 
> CUSTOMER PI 009 <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_009>
>  CUSTOMER PI 010
> <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_PI_010>  CUSTOMER PI
> 011 <http://srv.exerp.com/mediawiki/index.php/ELIXIA_DE_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 <http://www.mediawiki.org/>: 1.8.2
>    - PHP <http://www.php.net/>: 5.0.3 (apache2handler)
>    - MySQL <http://www.mysql.com/>: 4.1.12
>    - Extensions:
>       - Special pages:
>          -
> *CategoryTree*<http://meta.wikimedia.org/wiki/CategoryTree_extension>by
> Daniel Kinzler
>       - Parser hooks:
>          -
> *CategoryTree*<http://meta.wikimedia.org/wiki/CategoryTree_extension>by
> Daniel Kinzler
>          - *Semantic MediaWiki (version
> 0.5b)*<http://sourceforge.net/projects/semediawiki/>,
>          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
>        - 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

-- 
Markus Krötzsch
Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe
[EMAIL PROTECTED]        phone +49 (0)721 608 7362
www.aifb.uni-karlsruhe.de/WBS/     fax +49 (0)721 693  717

Attachment: pgpJsclfg8ycr.pgp
Description: PGP signature

-------------------------------------------------------------------------
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

Reply via email to