Difference between revisions of "Old Homepage"

From FollowTheScore
Jump to: navigation, search
m (I think this should change too?)
 
(240 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== [[metawikipedia:DynamicPageList2|DynamicPageList]] (DPL) ==
+
__NOTOC__
  
DPL is a MediaWiki extension which creates ''lists of articles that match certain criteria''. Articles are listed by name; ''meta data'' like  popularity or last access date can be added. And there are powerful mechanisms to ''extract content'' from the articles and show it as part of the list.
+
{|class=wikitable
 +
|colspan=2 align=center bgcolor=e7e7ff|
 +
''This wiki is the homeplace of three powerful MediaWiki extensions developed and maintained by Gero Scholz''.
 +
<br><small>Currently we run MediaWiki 1.13 with page caching enabled.</small>
 +
{|border=0
 +
|align=left bgcolor=lightblue|
 +
A universal report generator for MediaWikis
 +
<br>A light-weight approach to semantic wiki
 +
<br>A graph generator based on aiSee
 +
|align=left bgcolor=lightblue|
 +
'''Dynamic Page List (DPL)'''
 +
<br>'''{{DocTypes}}'''
 +
<br>'''Wgraph'''
 +
|}
 +
|-
 +
|bgcolor=#ffe7ff align=center|
 +
<big>'''[[Dynamic Page List]] &nbsp; -- &nbsp; [[DPL:Version History|{{DPL stable version}}]]'''</big>
 +
|bgcolor=#ddffff align=center|
 +
<big>'''[[Wgraph]]'''</big>
 +
|-
 +
|bgcolor=#ffe7ff valign=top|
 +
'''DPL is a report generator for MediaWikis'''.<br>
 +
It creates ''lists of articles'' that match certain criteria. ''Meta data'' like  author, popularity or date of last update can be added. ''Contents'' from articles can be included in the result, based on chapters, templates or special markers in the text.
 +
<center><div style="font-size:8pt">
 +
<dpl>
 +
  category=African Union member states
 +
  nottitlematch=Sudan
 +
  includepage={Infobox Country or territory}:area:population_estimate,%0[100]
 +
  mode=userformat
 +
  addpagecounter=true
 +
  format=,,\n|align=right|%COUNT%\n,
 +
  table=,Country,Area,Population,Text,#hits
 +
  tablerow=align=right|%%,align=right|%%,<small>%%</small>
 +
</dpl>
 +
</div></center>
 +
Combining the power of DPL and [[mw:Extension:Ploticus|Ploticus]] we can easily generate a pie chart showing (for example) page hit frequencies. To see that it works live, note the hit count of a country, then click on that country in the above table and come back to the main page. The hit count has changed and the pie has become a little bigger ;-)
 +
{{:Ploticus Demo}}
 +
----
 +
You are looking for a pefect integration with GoogleMaps?
 +
See [[MapDemo]] ...
 +
----
 +
You want to know which articles were edited by whom recently? DPL can produce a quick overview:
 +
{{:Scatter Demo}}
 +
|bgcolor=#ddffff valign=top|
 +
'''Wgraph is a graph generator for MediaWikis.'''<br>
 +
It allows you to define the semantics of a graph in an abstract textual notation called WGL (Wiki Graph Language). You may add hints for layout, but the graph itself is being produced automatically. Wgraph is a powerful visualisation instrument for objects and their relations.
 +
<center>
 +
{{#wgraph: svg | thumb = 50 |
 +
  node wgl        { type data    label "text notation\n-- WGL --" }
 +
  edge wgl wgraph  { kind rightnear color red }
 +
  node wgraph      { type process  label "Wgraph\nmediawiki extension" }
 +
  edge wgraph gdl  { }
 +
  node gdl        { type data    label "graph definition\n-- GDL --" }
 +
  edge gdl aisee  { }
 +
  node aisee      { type process  label "aiSee\nlayout generator" }
 +
  edge aisee img  { kind leftnear }
 +
  node img        { type data    label "image\n-- png, svg --"
 +
                    shape hexagon }
 +
  nodetype data    { shape ellipse, color lightyellow,
 +
                    bordercolor khaki, height 60 }
 +
  nodetype process { shape box color lightmagenta
 +
                    bordercolor magenta height 60 }
 +
  xspace=70, yspace=120
 +
}}
 +
</center>
 +
----
 +
You want to have a dependency matrix for includes or links?
 +
Use '''dplmatrix''' ...
 +
{{#dplmatrix:''links from Painters<br>to other Painters''|'''x'''|-|flip|
 +
  {{#dpl:
 +
    |debug=1
 +
    |category=Painter
 +
    |format=,%PAGE% ~~ %TITLE%\n²{:Test matrix2¦page=%PAGE%¦category=Painter¦namespace=}²,
 +
  }}
 +
}}
 +
----
 +
You want to use structured documents, based on a semantic model?
 +
<br>But 'Semantic Wiki' looks to "heavy" for your requirements?
 +
<br>Try our light-weight '''[[DocTypes]]''' ..
 +
|-
 +
|}
  
'''In short DPL aims to be a universal report generator for MediaWiki.'''
+
* All extensions are under GPL license. '''Test them here live!''' There is extensive documentation, see the online '''manuals'''. You can '''[[Download|download]]''' the sources.
 +
* In addition there are some minor extensions like ''Call'' and improved versions of existing extensions named ''Inputbox'' and ''StripMarkup'' which may be useful. See the navigation bar. We also host the [[mw:Extension:StackFunctions|StackFunctions]] extension.
  
Assume you have written some articles about countries. Typically these articles will have three things in common:
+
* There are plenty of '''examples''', which can serve as a starting point for your own ideas. There is a small '''calendar application''' (built with DPL) which you can use and enhance.
* All articles will belong to a common category
+
* There is a place where you can '''report bugs''' and '''request new features'''. If you use the extensions, please '''leave a reference''' to your wiki!
* They will have a similar chapter structure, i.e. they will contain sections named 'Religion' or 'History'
 
* They will use a template which is used to present highly structured short data items ('Capital', 'Inhabitants', ..) in a nice way (e.g. as a wikitable)
 
  
With DPL you can
+
<p align=right>''[[User:Gero|The Author]]''</p>
* generate a list of all those articles
 
* show metadata of the articles
 
* show one or more chapters of the articles
 
* show parameter values which are passed to the common template
 
 
 
Find the articles you want to list:
 
* select by a logical combination (AND,OR,NOT) of categories
 
* select by a logical combination (AND,OR,NOT) of namespaces
 
* define a pattern which must match their name
 
* name a page to which the articles must or must not refer
 
* exclude or include redirections
 
 
 
Order the articles descending or ascending according to
 
* name
 
* date of last change
 
* popularity
 
* user who changed them last
 
* ...
 
 
 
Define attributes you want to see
 
* article name
 
* article namespace
 
* date of last change
 
* date of last access
 
* user who changed them last
 
 
 
Define contents you want to show
 
* chapter contents (identified by headings)
 
* text portions (defined by special marker tags)
 
* values of template calls
 
 
 
Define the output format
 
* headlines
 
* ordered list, unordered list
 
* table
 
* category style listing
 
* truncate title or contents to maximum length
 
* add a link to the article or certain chapters
 
 
 
In big wikis it is useful to automatically generate lists of articles (pages) which have something in common. The classic approach of MediaWiki to this is a system of categories. Although it is possible to assign an article to several categories the normal way to find an article (aprat from full text search or direct links to the article) is a list of articles which belong to one category.
 
 
 
* DPL allows to list articles by a logical expression on their catgeories (AND, OR, NOT)
 
 
 
Another way to find an article is the "What links here" button.
 
 
 
* DPL allows to list articles which do link or do not link to a certain other article.
 
 
 
 
 
groups you to list articles which belong to more than one category or to one of several categories
 
 
 
 
 
Subcategories have been added and hierarchical
 
The only kind of list you can get
 
It is easy to get lost in a wiki. It is easy to create structures which are similar bit not identical
 
 
 
{{Sortable Tables}}
 
{{#dpl:category=Fictitious country
 
|includepage={Country},#History,#Religion
 
|includemaxlength=50
 
|addpagecounter=true
 
|mode=userformat
 
|listseparators=\n{{(!}} class=sortablewikitable id=123
 
\n!Country
 
\n!Official Name
 
\n!Capital
 
\n!Dial Code
 
\n!History
 
\n!Religion
 
\n{{!}}-,\n{{!-}}\n{{!}}[[%PAGE%]] (%COUNT%)\n,\n,\n{{!)}}
 
|secseparators=,\n{{!}},,
 
}}
 

Latest revision as of 20:35, 16 June 2009


This wiki is the homeplace of three powerful MediaWiki extensions developed and maintained by Gero Scholz.
Currently we run MediaWiki 1.13 with page caching enabled.

A universal report generator for MediaWikis
A light-weight approach to semantic wiki
A graph generator based on aiSee

Dynamic Page List (DPL)
DocTypes
Wgraph

Dynamic Page List   --   2.0

Wgraph

DPL is a report generator for MediaWikis.
It creates lists of articles that match certain criteria. Meta data like author, popularity or date of last update can be added. Contents from articles can be included in the result, based on chapters, templates or special markers in the text.

Country Area Population Text #hits
Cameroon 475,442 16,323,000
     ..→</small>

Combining the power of DPL and Ploticus we can easily generate a pie chart showing (for example) page hit frequencies. To see that it works live, note the hit count of a country, then click on that country in the above table and come back to the main page. The hit count has changed and the pie has become a little bigger ;-) Ploticus Demo


You are looking for a pefect integration with GoogleMaps? See MapDemo ...


You want to know which articles were edited by whom recently? DPL can produce a quick overview: {{#ploticus:

  1. proc page
 pagesize: 20 30

// specify data using proc getdata

  1. proc getdata
 data:
"Evgeniy" "%USER%" 201306071058
"Evgeniy" "%USER%" 201306071058
"Evgeniy" "%USER%" 201306071047
"Evgeniy" "%USER%" 201306071034
"2010-11-25 Anniversary" "%USER%" 201011060914
"United Republic of Tanzania" "%USER%" 200909220919
"Problem with category containing a single quote character" "%USER%" 200907090751
"Problem with category containing a single quote character" "%USER%" 200907090427
"Problem with category containing a single quote character" "%USER%" 200907090426
"Problem with category containing a single quote character" "%USER%" 200907090417
"Problem with category containing a single quote character" "%USER%" 200907090416
"Problem with category containing a single quote character" "%USER%" 200907090415
"Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200905140455
"Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200905140446
"Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200905140439
"United Republic of Tanzania" "%USER%" 200905100605
"United Republic of Tanzania" "%USER%" 200905100559
"Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200904020341
"DPL Cache Warning" "%USER%" 200902271019
"DPL Cache Warning" "%USER%" 200902270929
"Evan Sultanik" "%USER%" 200803251019
"Display units" "%USER%" 200803230257
".prop definition" "%USER%" 200803230214
".prop definition" "%USER%" 200803230214
"Display units" "%USER%" 200803230153
"Display units" "%USER%" 200803230145
"Munich" "%USER%" 200803221117
"Munich" "%USER%" 200802161021
"Mechanics" "%USER%" 200803221117
"Mechanics" "%USER%" 200802170114
".prop unique" "%USER%" 200803220928
".prop unique" "%USER%" 200802060836
"Display units" "%USER%" 200803220926
"Display units" "%USER%" 200802040934
".prop unique" "%USER%" 200803220915
".prop unique" "%USER%" 200802060824
".prop definition" "%USER%" 200803220915
".prop definition" "%USER%" 200802060933
".class definition" "%USER%" 200803220915
".class definition" "%USER%" 200803061247
".cat definition" "%USER%" 200803220915
".cat definition" "%USER%" 200802260908
"Headingmode definition buggy output" "%USER%" 200711240654
"Headingmode definition buggy output" "%USER%" 200710280152
"Assigning absolute position of 0-0" "%USER%" 200710281043
"Headingmode definition buggy output" "%USER%" 200710230728
"Headingmode definition buggy output" "%USER%" 200710230724
"Headingmode definition buggy output" "%USER%" 200710230717
"Headingmode definition buggy output" "%USER%" 200710230710
"Headingmode definition buggy output" "%USER%" 200710230704
"Headingmode definition buggy output" "%USER%" 200710230701
"Headingmode definition buggy output" "%USER%" 200710230652
"Headingmode definition buggy output" "%USER%" 200710230649
"Headingmode definition buggy output" "%USER%" 200710230442
"Turnier Gruppe2" "%USER%" 200710071006
"Turnier" "%USER%" 200710071005
"Turnier Gruppe" "%USER%" 200710071005
"2007-07-22 Jocs especials a la Trinitat" "%USER%" 200708110236
"Impressionism" "%USER%" 200707211018
"Expressionism" "%USER%" 200707211018
"2007-07-22 Jocs especials a la Trinitat" "%USER%" 200707200429
"United Republic of Tanzania" "%USER%" 200707180803
"2007/09/15 better not forget anniversary!!" "%USER%" 200707051114
"2007/06/22 sprawdzanie kalendarza" "%USER%" 200706220253
"2007/05/03 Training Basketball Team" "%USER%" 200705010906
"2007/04/03 Daniels verjaardag" "%USER%" 200704130121
"2007 04 03 daniels verjaardag" "%USER%" 200704130121
"African Union member states" "%USER%" 200704120622
"2007/03/29 Something is happening" "%USER%" 200704040306
"2007/03/29 Something is happening" "%USER%" 200703300354
"2007/03/29 Something is happening" "%USER%" 200703300354
"2007/03/29 Something is happening" "%USER%" 200703300352
"2007/03/29 Something is happening" "%USER%" 200703300351
"Schnittstellen" "%USER%" 200703060852
"Schnittstellen Übersicht Mini dpl" "%USER%" 200703060845
"Schnittstellen Übersicht Mini" "%USER%" 200703060844
"Munich" "%USER%" 200702160930
"African Union member states" "%USER%" 200701200932


  1. proc categories
 axis: x
 listsize: 1000
 datafield: 2
 axis: y
 listsize: 1000
 datafield: 1

// set up plotting region using proc areadef

  1. proc areadef
 rectangle: 1 1 1 1
 xscaletype: categories
 xaxis.stubs: usecategories
 xaxis.tics: none
 xaxis.stubvert: yes
 yscaletype: categories
 yaxis.axisline: none
 yaxis.stubs: usecategories
 autowidth:  0.1  
 autoheight: 0.1
 location: 4.5 1.5
  1. proc xaxis
 grid: color=orange 
 ticincrement: 1
  1. proc yaxis
 grid: color=orange
 ticincrement: 2

// draw pink points using proc scatterplot

  1. proc scatterplot
 xfield: 2
 yfield: 1
 symbol: shape=nicecircle radius=0.05 fillcolor=pink
 cluster: yes

// do it a 2nd time to overlay outlines using proc scatterplot

  1. proc scatterplot
 xfield: 2
 yfield: 1
 symbol: shape=nicecircle radius=0.05

}} See Scatter Demo 2 for a larger example ..

Nigeria 923,768 133,530,0001 Template:Let me test this

<table class="infobox geography vcard" style="width:46ex; ..→

Somalia 637,657 8,228,000
     ..→</small>

Wgraph is a graph generator for MediaWikis.
It allows you to define the semantics of a graph in an abstract textual notation called WGL (Wiki Graph Language). You may add hints for layout, but the graph itself is being produced automatically. Wgraph is a powerful visualisation instrument for objects and their relations.

{{#wgraph: svg | thumb = 50 |

 node wgl         { type data     label "text notation\n-- WGL --" }
 edge wgl wgraph  { kind rightnear color red }
 node wgraph      { type process  label "Wgraph\nmediawiki extension" }
 edge wgraph gdl  { }
 node gdl         { type data     label "graph definition\n-- GDL --" }
 edge gdl aisee   { }
 node aisee       { type process  label "aiSee\nlayout generator" }
 edge aisee img   { kind leftnear }
 node img         { type data     label "image\n-- png, svg --" 
                    shape hexagon }
 nodetype data    { shape ellipse, color lightyellow,
                    bordercolor khaki, height 60 }
 nodetype process { shape box color lightmagenta 
                    bordercolor magenta height 60 }
 xspace=70, yspace=120

}}


You want to have a dependency matrix for includes or links? Use dplmatrix ...

links from Painters
to other Painters
Cezanne Manet Renoir Signac Van Gogh
Cezanne - - x - -
Renoir x x - x -
Van Gogh - x x - -

You want to use structured documents, based on a semantic model?
But 'Semantic Wiki' looks to "heavy" for your requirements?
Try our light-weight DocTypes ..

  • All extensions are under GPL license. Test them here live! There is extensive documentation, see the online manuals. You can download the sources.
  • In addition there are some minor extensions like Call and improved versions of existing extensions named Inputbox and StripMarkup which may be useful. See the navigation bar. We also host the StackFunctions extension.
  • There are plenty of examples, which can serve as a starting point for your own ideas. There is a small calendar application (built with DPL) which you can use and enhance.
  • There is a place where you can report bugs and request new features. If you use the extensions, please leave a reference to your wiki!

The Author