https://bugzilla.wikimedia.org/show_bug.cgi?id=17264
Summary: Add new parameter tod DPL dateformat=<blah> to format
dates
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: DynamicPageList
AssignedTo: [email protected]
ReportedBy: [email protected]
The DynamicPageList (aka Intersection) extension used on several wikimedia
wikis, has the option to add the date the page was added to the category at the
beginning of its entry on the list (addfirstcategorydate=true). The date is
formated using the user's preferences. Perhaps it'd be useful to have a
parmater dateformat= or userdateformat= (userdateformat is the name of the
equivalent feature in DPL2) that takes syntax the same as {{#time:}} which
formats the date. If its unspecified, the extension would default to user
preferences, like current behavoir. If specified, it would format the date
using a format string. For example
<DynamicPageList>
category=published
count=1
addfirstcategorydate=true
dateformat=F
</DynamicPageList>
Would make:
*January: Brain chemical Serotonin behind locusts’ swarming instinct
instead of
*January 30, 2009: Brain chemical Serotonin behind locusts’ swarming instinct
Note: at this time, this feature isn't really needed all that much, as we [at
en wikinews] get along fine without it, but I think it might be a cool thing to
have. (at the very least it might be useful to polish wikinews, as they
currently use JS to accomplish this)
Note. related to bug 12787
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l