https://bugzilla.wikimedia.org/show_bug.cgi?id=20243
Summary: DPL failing on addfirstcategorydate=true
Product: MediaWiki extensions
Version: any
Platform: All
URL: http://en.wikinews.org/wiki/Wikinews:Water_cooler#Articl
es_appearing_under_wrong_dates_on_main_page
OS/Version: All
Status: NEW
Severity: major
Priority: Normal
Component: DynamicPageList
AssignedTo: [email protected]
ReportedBy: [email protected]
English Wikinews employs the following DPL on the main page to list recent news
stories:
<nowiki>
<DynamicPageList>
category=published
notcategory=No publish
notcategory=Archived
notcategory=AutoArchived
stablepages=only
count=20
addfirstcategorydate=true
ordermethod=categoryadd
namespace=0
suppresserrors=true
showcurid=true
</DynamicPageList>
</nowiki>
This should list, in order of publication, the most recent 20 published
articles that have been sighted with FlaggedRevisions.
This fails in some unpredictable ways, with articles published several days ago
suddenly appearing nearer the top of the list and attributed to the incorrect
date.
There are two suspected causes of this:
1) Renaming an article resets when it was added to the Published category.
2) Edits by users who cannot sight an article to remove the article from the
Published article impact when the article is recorded as being in the published
category. Example, they remove the {{publish}} template, thus creating an
unsighted revision, their change is reverted and the new version is sighted.
However, DPL appears to see the version without {{publish}} despite the
'stablepages=only' qualifier that should make it ignore all unreviewed
versions.
--
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