Difference between revisions of "Talk:Manual - DPL parameters: Controlling output format"
(→titlemaxlength and userformat) |
|||
| Line 17: | Line 17: | ||
=== Reply === | === Reply === | ||
Thank you for finding out. This is a slight inconsistency which will be removed in the next release. I guess it's preferrable to have the same behaviour of titlemaxlength throughout all modes. [[User:Gero|Gero]] 05:30, 15 June 2007 (CEST) | Thank you for finding out. This is a slight inconsistency which will be removed in the next release. I guess it's preferrable to have the same behaviour of titlemaxlength throughout all modes. [[User:Gero|Gero]] 05:30, 15 June 2007 (CEST) | ||
| + | |||
| + | |||
| + | == Is CATLIST working? == | ||
| + | I tried to generate an index of the main namespace, each article with its category. | ||
| + | The variables %CATLIST% or %CATNAMES% return nothing, but the articles do have categories assigned. | ||
| + | <DPL> | ||
| + | namespace= | ||
| + | mode = userformat | ||
| + | listseparators = {| class="prettytable"¶ !Category!!Page, ¶|-¶|%CATLIST% || [[%PAGE%]] ,,¶|} | ||
| + | </DPL> | ||
| + | |||
| + | -- Björn 10.Jul 09:14 | ||
Revision as of 08:15, 10 July 2007
I think you forgot to reference %REVISION% variable in mode=userformat here. Great job at documenting otherwise!!!
titlemaxlength and userformat
When using the mode = userformat the titlemaxlength is not respected.
If you have a title called 1234567890 and use the following:
mode = userformat listseparators = ,¶* %TITLE%, titlemaxlength = 5
You will not have the title cut as 12345...
Thought I'd let ya know. 64.252.183.33 03:15, 15 June 2007 (CEST) (No account yet).
Reply
Thank you for finding out. This is a slight inconsistency which will be removed in the next release. I guess it's preferrable to have the same behaviour of titlemaxlength throughout all modes. Gero 05:30, 15 June 2007 (CEST)
Is CATLIST working?
I tried to generate an index of the main namespace, each article with its category. The variables %CATLIST% or %CATNAMES% return nothing, but the articles do have categories assigned.
-- Björn 10.Jul 09:14