Difference between revisions of "Issue:Simply does not work"
(→Reply) |
Dejudicibus (talk | contribs) (→Reply) |
||
Line 20: | Line 20: | ||
* install only DPL and check then | * install only DPL and check then | ||
--[[User:Gero|Gero]] 08:35, 17 October 2007 (CEST) | --[[User:Gero|Gero]] 08:35, 17 October 2007 (CEST) | ||
+ | |||
+ | == Reply == | ||
+ | I made some change to LocalSettings and now it works, but it looks like there is a bug. I tried FIRST | ||
+ | |||
+ | <nowiki><DPL> | ||
+ | category = aCategoryOfMineForImages | ||
+ | nocategory = | ||
+ | namespace = Immagine | ||
+ | mode = userformat | ||
+ | format = <gallery>,%PAGE%\n,,</gallery> | ||
+ | </DPL></nowiki> | ||
+ | |||
+ | Please, note that ''Immagine'' is the Italian term for ''Image''. I got the gallery, but NOT just for ''aCategoryOfMineForImages'', but ALL images. So I tried: | ||
+ | |||
+ | <nowiki><DPL> | ||
+ | category = {{{categoria}}} | ||
+ | nocategory = | ||
+ | namespace = Immagine | ||
+ | mode = userformat | ||
+ | format = <gallery>,%TITLE%\n%CATNAMES%\n,,</gallery> | ||
+ | </DPL></nowiki> | ||
+ | |||
+ | and I got the name of each image but NOT the categories. I suspect that | ||
+ | |||
+ | # category does not work when image namespace si used | ||
+ | # or, in some way you have '''Category''' reserved word hardcoded somewhere, that is, you do not use ''Categoria'', the Italian term for ''Category'' | ||
+ | |||
+ | Am I correct? See [http://www.usnb.it/wiki/index.php?title=Template:CategoryGallery CategoryGallery] | ||
+ | --[[User:Dejudicibus|Dejudicibus]] 17:25, 18 October 2007 (CEST) |
Revision as of 16:25, 18 October 2007
Description: | Installed, but not parsed |
Extension / Version: | DPL / last |
Type / Status: | Bug / open |
Problem
I add the correct statement in LocalSettings.php and the extension in wiki/extensions/DynamicPageList but when I use it in my wiki with either <dpl> or <DPL> or {{#dpl: }}, I see what I wrote, that is tag is not parsed and template is not executed.
See CategoryGallery in USNB wiki.
Reply
It appears that it is not installed as suggested, in your Special:Version there is no extension Dynamic Page List. --Zven 02:13, 17 October 2007 (CEST)
Reply
Maybe one of the other extensions causes a problem? I suggest to
- install some other extension than DPL and see if it works
- install only DPL and check then
--Gero 08:35, 17 October 2007 (CEST)
Reply
I made some change to LocalSettings and now it works, but it looks like there is a bug. I tried FIRST
<DPL> category = aCategoryOfMineForImages nocategory = namespace = Immagine mode = userformat format = <gallery>,%PAGE%\n,,</gallery> </DPL>
Please, note that Immagine is the Italian term for Image. I got the gallery, but NOT just for aCategoryOfMineForImages, but ALL images. So I tried:
<DPL> category = {{{categoria}}} nocategory = namespace = Immagine mode = userformat format = <gallery>,%TITLE%\n%CATNAMES%\n,,</gallery> </DPL>
and I got the name of each image but NOT the categories. I suspect that
- category does not work when image namespace si used
- or, in some way you have Category reserved word hardcoded somewhere, that is, you do not use Categoria, the Italian term for Category
Am I correct? See CategoryGallery --Dejudicibus 17:25, 18 October 2007 (CEST)