Difference between revisions of "Wgraph:Discussion"

From FollowTheScore
Jump to: navigation, search
(New page: {{subst:DPL:Discussion}})
 
m (Reverted edits by 203.69.39.251 (Talk); changed back to last version by Gero)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Note: There is a special document for [[DPL:Bug Reports]].  
+
[[Category:Wgraph]]
  Existing bug reports in this document '''have been moved to the [[DPL:Bug Reports]]'''.
+
Note: There are special documents for [[Wgraph:Bug Reports]] and [[Wgraph:Requests for new features]].  This page should be used for all '''other''' messages.
  
 
__NEWSECTIONLINK__
 
__NEWSECTIONLINK__
  
== Could make it possible to show page names by setting in a .dpl template page ==
+
=== Topic ===
I can show pagetitle by adding"%TITLE%" in listseparators but I still want to show the pagenames by adding <nowiki>{{PAGENAME}}</nowiki> or "%TITLE%" in the .dpl template page. Therefore, we can use descriptions such like <nowiki>{{sub:{{PAGENAME}}8|4}}</nowiki> or <nowiki>{{sub:%TITLE%|8|4}}</nowiki> to do something I want. Any ideas Thanks!--[[User:Roc michael|Roc michael]] 17:42, 5 July 2007 (CEST)
+
Text ...
=== PAGETITLE in templates ===
 
You can use {{{%TITLE%}}} and {{{%PAGE%}}} within templates. See the
 
[[DPL:Manual_-_DPL_parameters:_Controlling_output_volume#includepage|manual]]. [[User:Gero|Gero]] 23:51, 5 July 2007 (CEST)
 
::Thinks, Gero! It works very well.--[[User:Roc michael|Roc michael]] 07:47, 7 July 2007 (CEST)
 
 
 
== Concept of Subpages ==
 
 
 
Is there anybody who could explain what subpages are and if they are relevant for DPL ? --[[User:Gero|Gero]] 16:01, 15 February 2007 (CET)
 
 
 
== Feedback ==
 
 
 
Thank you for this extension! I was able to create some rather complex queries that receive parameters through templates and that show a list of pages, creation date and author inside some categories. It solved our needs very well. [http://www.mediawiki.org/wiki/User:Fernando.correia Fernando Correia]
 
 
 
==Developer level access==
 
 
 
Hi there.  I was one of the original authors of the DPL (a long time ago, when MediaWiki was simpler and the extension fit on one printed page). I need to make a few changes to make the extension deployable on Wikinews &mdash; specifically, the addfirstcategorydate restriction to only work if only one category is included should be removed, and we need to add some simple date formatting to make it possible to show only the date, and not always the date and time (I was thinking of switching the default to show just the date as the older extension does, and make the date/time only appear if something like showdateandtime=true is specified.)  I can make the changes, or provide patches; please let me know where the source code repository is (I notice that the mediawiki svn has a much older extension version). You can contact me by email, or at [http://en.wikinews.org/wiki/User:IlyaHaykinson Wikinews] -- [[User:IlyaHaykinson|IlyaHaykinson]] 11:26, 25 February 2007 (CET)
 
 
 
:I would like to support you in rolling out DPL to Wikinews. For the moment I added a generic feature for date formatting. This allows you to configure your date/time format individually, see the [[DPL:Manual#userdateformat]]. Sourcecode is here in this wiki but I plan to make it available also in subversion. Could you specify an example for your request regarding "addfirstcategorydate"? See also [[Test date formatting]]. -- [[User:Gero|Gero]] 15:36, 26 February 2007 (CET)
 
 
 
== .... ==
 
 
 
== Help with a complex request? ==
 
 
 
I have the following situation...
 
 
 
* A) Many 'Template:' pages containing protected text derived from a third party (copyright requires 'verbatim' inclusion of the text).
 
* B) Many normal pages that 'transclude' the template pages (based on page name).
 
 
 
i.e. some page = "Template: Subject X" and calling page = "Subject X". Calling page contains a <nowiki>{{{{PAGENAME}}}}</nowiki> construct to call the content from "Template: Subject X".
 
 
 
All the templates of A are in a Category (X) and all the normal pages of B are in a category (Y).
 
 
 
Now... ;-)
 
 
 
I want a DPL to list the 10 smallest normal pages from B ... but when I say 'smallest' I mean the smallest 'overall' pages, including the transcluded text from the companion template in A. This overall size is actually the sum of the size of page A and B. Now I figure I can calculate the overall page sizes using a template and the ... I was going to say <nowiki>{{PAGESIZE}}</nowiki> magic word... but I don't find it!
 
 
 
So basically I am stuck.
 
 
 
Is it possible? --[[User:Dmb|Dmb]] 11:46, 3 June 2007 (CEST)
 
 
 
=== Question ===
 
What exactly what help you? Is there a table column in the sql database the value of which could serve as an input for your calculation? When DPL lists pages it does not look into their contents. When you ask DPL to do processing based on the contents of a page it will go straight forward for the exact purpose (i.e. look for a headline or a template invocation), but there is no inherent "page inclusion resolution" and no size calculation. [[User:Gero|Gero]] 12:53, 3 June 2007 (CEST)
 

Latest revision as of 23:35, 26 September 2007

Note: There are special documents for Wgraph:Bug Reports and Wgraph:Requests for new features. This page should be used for all other messages.


Topic

Text ...