Last modified: 2007-03-06 21:09:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11090, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9090 - DPL ignores shownamespace parameter when using mode=userformat, listseperators=%PAGE%
DPL ignores shownamespace parameter when using mode=userformat, listseperator...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
DynamicPageList2 (Other open bugs)
unspecified
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-24 21:19 UTC by Keith Ward
Modified: 2007-03-06 21:09 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Keith Ward 2007-02-24 21:19:45 UTC
<DPL>
namespace            = Category
shownamespace        = false
mode                 = userformat
listseparators       = * Categories,\n** [[%PAGE%]],,
</DPL>

Creates the following list ...

*Categories
**Category:Title1
**Category:Title2

... it should take into account the shownamespace parameter (false in this case) which would prodcue the 
list ...

*Categories
**Title1
**Title2
Comment 1 Gero Scholz 2007-03-06 21:09:00 UTC
In mode=userformat the decision whether to show the namespace or not is decided by the use of %PAGE% (which always comes with namespace) and %TITLE% (which 
always has no namespace). Thus you can write something like <nowiki>[[%PAGE%|%TITLE]]</nowiki>. This will ensure that the link works and only the base name is 
shown.

I changed the manual to explain this behaviour in more detail.

-Gero

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links