https://bugzilla.wikimedia.org/show_bug.cgi?id=35136

--- Comment #6 from Marcin Cieślak <[email protected]> 2012-04-23 
22:08:11 UTC ---
(In reply to comment #5)
> They are not duplicates Marcin. It is carrying out two processes - logging 
> what
> it's doing, and posting it. There's two 26's because the bot seems to have 
> done
> two passes - it didn't have a page in translation to link to, so on the second
> pass it linked to the page in English and piped into Spanish.  They are 
> clearly
> two edits.

I don't have a problem with two

21:07 < rc2012> [[Translations:Submissions/26/es]] !N
http://wikimania2012.wikimedia.org/w/index.php?oldid=19059&rcid=20446

and

21:07 < rc2012> [[Translations:Submissions/26/es]] 
http://wikimania2012.wikimedia.org/w/index.php?diff=19061&oldid=19059 * Igna *
(+18)

I find this strange:
21:05 < rc2012> [[Submissions/es]] 
http://wikimania2012.wikimedia.org/w/index.php?diff=19058&oldid=19056 * Igna *
(+24) trad

is always followed by:

21:07 < rc2012> [[Translations:Submissions/26/es]] !N
http://wikimania2012.wikimedia.org/w/index.php?oldid=19059&rcid=20446

Those always come in pairs. For some reason, actually two items in the revision
table are created. But did the user did ONE edit here or two?

> Could you explain how the other two problems it's causing are related here.
> I've been following the email thread, so I know 34838 is where localhost is
> appearing in the records.

Second problem: "If the second revision logged (Translations:Submissions/26/es)
is an internal request/action to create another revision and not the user's
action, it should be something other as the edit - some internal logged
action".

Third problem: "Those internal actions (obviously they are not edits) also
cause bug 34838 - they don't come from the user's browser but are internally
generated on his/her behalf". 

We should decide:

* Either those TWO revisions are REAL user edits (user clicked on something
twice and saved two changes) - in this cases BOTH should be logged as proper
edits with user's IP address and the user agent - this is currently not the
case because of bug 34838 (FauxRequest user)

OR

* The second revision is somehow automatically generated by the software for
some reasons and is *not* executed by the user, only on its behalf. In this
case it should not be then logged as an edit but as an internal action; again
with proper user data (bug 34828).

I didn't have time to dig into the architecture of the code and find out why
those two editions are actually necessary; *IF* they are not necessary, one
revision should be recorded only; *IF* they are necessary, the above decision
needs to be made.

FauxRequest (bug 34828) should be fixed independently of this issue.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to