Last modified: 2011-03-15 17:42:37 UTC
I'm not sure whether this bug belongs to the edit process or to diff handling. I just edited a template, and when I submitted it I got redirected to http://de.wikipedia.org/w/index.php?title=Vorlage:Navigationsleiste_Musik&oldid=85800660&diff=cur&diffonly=0&shownotice=1, I guess to sight my change. Thats OK, but the diff is strange: the older version shown just is the same as the newer (current) one, the edit comment, the oldid-link: all the same. I guess the correct link would be without the oldid parameter, or with the oldid parameter set to the previous revision.
I'm going to go with flagged revs fault, since the extension is the thing redirecting you.
So the oldid parameter is for the revision just made?
Exactly. I'm sorry that I didnt' point it out clearly.
Does this occur regularly or randomly? I can't see how this happens in injectPostEditURLParams()
According to the history, your change was sighted automatically.
(In reply to comment #4) > Does this occur regularly or randomly? > > I can't see how this happens in injectPostEditURLParams() Actually looking at getLatestRevID(), it doesn't handle cache/FOR_UPDATE well...
Fixed in r82904.
Please set the fix live, I just got the same error again (http://de.wikipedia.org/w/index.php?title=Vorlage:Infobox_PKW-Modell&oldid=86490550&diff=cur&diffonly=0&shownotice=1). Might it have something to do with the namespace, I only got these problems after editing a template?
The bug status isn't based on what's live (unless it's a site request). Also, this fix can't be backported by itself. Other changes and code review are needed. The only thing that could be done is a live-hack, like calling $this->article->getTitle()->resetArticleId(0) before fetching the latest revision to clear the process cache.