Issue:Modifiedby can return crap result

From FollowTheScore
Jump to: navigation, search
Description:
Extension / Version: DPL   /   1.8.6
Type / Status: Bug   /   invalid

Problem

A query for edited pages by a user can return pages the user actually didn't edit. In the example below you can see the FAQ. If you check the history you'll see that Subfader didn't edit the page on 07-22 but Gero did. I have the same problem on my own wiki where I am the one with the most edits on the wiki. Could explain it.

2017-07-02 · Main Page
2015-02-11 · DPL:Manual - DPL parameters: Criteria for page selection
2014-11-16 · User:Subfader/ignorecase titlematch
2014-10-30 · DPL talk:Manual - DPL parameters: Criteria for page selection
2013-05-01 · DPL:Manual - DPL parameters: Controlling output order
2013-04-23 · Issue:Category browsing with title from / until
2012-08-20 · Extension DPL
2012-08-17 · DPL:FAQ
2012-08-14 · User talk:Gero
2011-03-27 · User:Subfader/Olli1
2011-03-27 · User:Subfader
2010-09-19 · DPL:Discussion
2010-05-11 · Issue:List separator and format
2010-04-14 · Issue:%PAGES% and %TOTALPAGES% won't work together
2010-03-01 · DPL:Manual - DPL parameters: Controlling output volume
2010-03-01 · Issue:Incorrect categorymatch
2010-02-28 · Category:Test categories
2010-02-28 · Category:Test 1
2010-02-28 · Category:Test-1
2010-02-28 · Page in Test 1
2010-02-28 · Page in Test-1
2010-02-04 · Issue:Notimageused
2010-02-03 · DPL:Manual - DPL parameters: Controlling output format
2010-01-26 · Test Amp
2010-01-18 · Template:DPL/ImgUsed/LinkedFrom

{{#dpl:
|modifiedby=Subfader
|ordermethod=lastedit
|order=descending
|addeditdate=true
|userdateformat=Y-m-d
|count=5
|format=,\n<span style="color:#828282; font-size:88%;">%DATE% · </span>[[%PAGE%]]<br>,,
}}

Note: The result may soon no more list 2009-07-22 and the FAQ page since it's dynamic. --Subfader 18:06, 22 July 2009 (UTC)

Reply

Bug or feature?

The query looks for pages which have been modified by a certain user (in our case Subfader) and then delivers the most recent change of that page. As you have made changes to FAQ at some point in time you will get the latest revision of FAQ in the result set.

It is not unreasonable that someone wants to see the latest changes of pages he has contributed to.

I understand that you were expecting to see the changes of the specified user even if these were not the latest changes to the document. If you

  • come up with a SQL query which delivers the result that you would like to see and
  • make a suggestion for the syntax of a new DPL command which could produce that query

I will be able to add that feature.

Thanks anyway for the comments and help you gave on the mediawiki.org discussion page of DPL.

Gero 19:06, 22 July 2009 (UTC)

Ok I totally misunderstood Modifiedby. Now it makes sense. ordermethod=lastedit applies for the page of course, not for the date of the edit by the user. The date in the output lets you think its the date of the edit by that user. Hrr. Renaming this query to "Recent edits to pages I contributed to" :) --Subfader 20:12, 22 July 2009 (UTC)