Difference between revisions of "ISO 8601"

From FollowTheScore
Jump to: navigation, search
('Latest Modifications per user' removed)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
http://en.wikipedia.org/wiki/ISO_8601
 
http://en.wikipedia.org/wiki/ISO_8601
  
 +
The ISO 8601 uses YYYY-MM-DD as representation (not yyyy or mm or dd).
  
 
things that have to be checked to achieve ISO 8601 conformance (maybe output is driven from settings outside DPL?)
 
things that have to be checked to achieve ISO 8601 conformance (maybe output is driven from settings outside DPL?)
  
*output variables, e.g. on [[Latest Modifications per user]]: invoked by addeditdate
+
*output
 +
** e.g. on [[Latest Modifications per user]]: invoked by addeditdate -- article deleted as the DPL GUI provides more flexible methods for the same purpose
 +
**[http://semeb.com/dpldemo/index.php?title=Special%3ACall%2FCatlist&namespace=all&notnamespace=-&category=%3F&notcategory=%3F&uses=%3F&notuses=%3F&linksto=&notlinksto=&createdby=Tobias+Conradi&modifiedby=%3F&lastrevisionbefore=2007-08-12&firstrevisionsince=YYYY-MM-DD&allrevisionsbefore=YYYY-MM-DD&allrevisionssince=YYYY-MM-DD&shownamespace=yes&addcategories=no&addpagecounter=no&addpagesize=no&adduser=no&addeditdate=no&addpagetoucheddate=no&ordermethod=-&order=ascending&escapelinks=true&randomcount=-&export=no&titlematch=&columns=3&count=]
 +
**out put driven by mediwiki settings - on my own wiki the output is conforming.
  
things that have to be changed to achieve ISO 8601 conformance
+
*input fields on [[Template:Catlist]] - done
*input fields on [[Template:Catlist]]
 
  
 
==DynamicPageListSP_body.php==
 
==DynamicPageListSP_body.php==
Line 24: Line 27:
  
 
replace yyyy/mm/dd with YYYY-MM-DD (parsing already works, i.e. no dependencies)
 
replace yyyy/mm/dd with YYYY-MM-DD (parsing already works, i.e. no dependencies)
 +
 +
::The special page will die sooner or later anyway ... [[User:Gero|Gero]] 23:08, 16 August 2007 (CEST)

Latest revision as of 10:03, 17 August 2007

http://en.wikipedia.org/wiki/ISO_8601

The ISO 8601 uses YYYY-MM-DD as representation (not yyyy or mm or dd).

things that have to be checked to achieve ISO 8601 conformance (maybe output is driven from settings outside DPL?)

  • output
    • e.g. on Latest Modifications per user: invoked by addeditdate -- article deleted as the DPL GUI provides more flexible methods for the same purpose
    • [1]
    • out put driven by mediwiki settings - on my own wiki the output is conforming.

DynamicPageListSP_body.php

			    $wikitext2=	   "createdby          =? username"
			               	."\nmodifiedby         =? username"
			               	."\nlastmodifiedby     =? username"
			    			."\nfirstrevisionsince =? yyyy/mm/dd"
			               	."\nallrevisionssince  =? yyyy/mm/dd"
			               	."\nlastrevisionbefore =? yyyy/mm/dd"
			               	."\nallrevisionsbefore =? yyyy/mm/dd"
			               	."\nnotcreatedby       =? user"
			               	."\nnotmodifiedby      =? username"
			               	."\nnotlastmodifiedby  =? username"
			    		   	;

replace yyyy/mm/dd with YYYY-MM-DD (parsing already works, i.e. no dependencies)

The special page will die sooner or later anyway ... Gero 23:08, 16 August 2007 (CEST)