Last modified: 2013-03-12 17:10:21 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 T33021, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31021 - DPL needs ability of plaintext result
DPL needs ability of plaintext result
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
DynamicPageList (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-20 00:00 UTC by Danny B.
Modified: 2013-03-12 17:10 UTC (History)
2 users (show)

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


Attachments

Description Danny B. 2011-09-20 00:00:31 UTC
Although documentation <http://www.mediawiki.org/wiki/Extension:DynamicPageList_%28Wikimedia%29#mode> claims, that mode=none returns plaintext, it actually returns link.

There should be ability to return only plaintext names of pages.

Suggesting new parameter "plaintext=yes/true" or "links=no/false".
Comment 1 Bawolff (Brian Wolff) 2012-04-04 18:41:32 UTC
Whats the usecase here (mostly out of curiosity more than anything else)?

To be honest I'd rather wait for a user-configurable output mode rather then adding more and more output modes that are just slight variations.
Comment 2 Amgine 2012-04-04 21:16:56 UTC
Any situation where dpl lists are examples, not links.

When you say user-configurable output mode, do you mean "I, the reader, set some kind of preference for how this will display" or do you mean "I, the editor/author, set some kind of out put template"?
Comment 3 Bawolff (Brian Wolff) 2012-04-04 21:37:44 UTC
I mean "I, the editor/author, set some kind of out put template".
Comment 4 Amgine 2012-04-04 21:48:42 UTC
Oh, man, where's the bug on that 'cuz I'm all over it... Most especially, I want values like {{{title|}}}, {{{date_added|}}}, {{{section0|}}}...
Comment 5 Bawolff (Brian Wolff) 2012-04-04 22:26:18 UTC
(In reply to comment #4)
> Oh, man, where's the bug on that 'cuz I'm all over it... Most especially, I
> want values like {{{title|}}}, {{{date_added|}}}, {{{section0|}}}...

That is the general idea - see bug 13692. I think its the number 1 most needed feature of DPL.
Comment 6 Amgine 2012-04-05 04:05:33 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Oh, man, where's the bug on that 'cuz I'm all over it... Most especially, I
> > want values like {{{title|}}}, {{{date_added|}}}, {{{section0|}}}...
> 
> That is the general idea - see bug 13692. I think its the number 1 most needed
> feature of DPL.

Have you looked at Extension:RSS which uses a template system for display?
Comment 7 Bawolff (Brian Wolff) 2012-04-05 04:36:11 UTC
>Have you looked at Extension:RSS which uses a template system for display?
yes. I don't particularly like the way it does the template expansion though. Seems to be re-inventing the wheel in a slightly different way, instead of just using the methods provided by PPFrame.
Comment 8 Danny B. 2013-03-12 17:10:21 UTC
It doesn't seem any kind of templating would exist ATM, so could at least the fix to really provide plaintext and not links be submitted, please?

If you're afraid of backcompat, feel free to add new mode = raw and mode = rawinline.

It should not be that difficult, since both modes already exist, just in linked form.

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


Navigation
Links