Difference between revisions of "DPL talk:Manual - DPL parameters: Criteria for page selection"
(→createdby/modifiedby: new section) |
|||
Line 24: | Line 24: | ||
== Suggestion == | == Suggestion == | ||
You could try to use /(disclosure_)?type\s*=\s*[^|]*Proprietary Information/ but I am not sure what will happen. I am afraid DPL might only pick the first parameter (whichever it is). -- [[User:Gero|Gero]] 15:30, 30 June 2008 (CEST) | You could try to use /(disclosure_)?type\s*=\s*[^|]*Proprietary Information/ but I am not sure what will happen. I am afraid DPL might only pick the first parameter (whichever it is). -- [[User:Gero|Gero]] 15:30, 30 June 2008 (CEST) | ||
+ | |||
+ | == createdby/modifiedby == | ||
+ | |||
+ | if username contains an underscore no results are returned | ||
+ | <DPL> | ||
+ | modifiedby = Ulli_757 | ||
+ | </DPL> | ||
+ | - --[[User:Ulli 757|Ulli 757]] 23:04, 9 November 2008 (UTC) |
Revision as of 01:04, 10 November 2008
I'm using the DPL parameter "firstrevisionsince=dateandoptionaltime" , to display articles after 20080430. One results is as follows: 23:57, 2 May 2008 : Insurance Programs . . JSmith --- I would like for the end result to be: Insurance Programs --Displaying only the article and removing the timestamp and the editor's name. How can I turn the timestamp/editor results off?
Reply
Use format. Thus you can customize your output completely. Gero 23:48, 12 May 2008 (CEST)
Compound expression for includematch
I am using two simple dpl statements that include the includematch statements:
includematch=/disclosure_type\s*=\s*[^|]*Proprietary Information/
and
includematch=/type\s*=\s*[^|]*Proprietary Information/
both of these work when used in simple statements but i'd like to combine then into one dpl query rather than 2.
i tried includematch=/disclosure_type\s*=\s*[^|]*Proprietary Information/,/type\s*=\s*[^|]*Proprietary Information/
and all of the items from the first query appear but none of the ones from the second. Can someone tell me what i am doing wrong, please.
Suggestion
You could try to use /(disclosure_)?type\s*=\s*[^|]*Proprietary Information/ but I am not sure what will happen. I am afraid DPL might only pick the first parameter (whichever it is). -- Gero 15:30, 30 June 2008 (CEST)
createdby/modifiedby
if username contains an underscore no results are returned
Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.
- --Ulli 757 23:04, 9 November 2008 (UTC)