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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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