Tim Starling wrote:
Brianna Laugher wrote:
Hi,
It appears now that after uploading on Commons, the user is taken to a
page at Special:Upload:
[...]
Is there a reason behind this change?
If not, can it please be reverted to the former behaviour?
Probably accidentally introduced by me in r23023. I'll look into it.
In fact the behaviour was accidentally introduced in MediaWiki 1.4, an
unintended side-effect of using Article::insertNewArticle() to create the
description page instead of direct DB access. Article::insertNewArticle()
is very poor as a backend function, having all sorts of UI consequences,
which is why I eventually introduced Article::doEdit(). In r23023, I
changed recordUpload() to use doEdit() instead, which meant that the
accidental redirect was disabled.
Since you like it, I can write it back in. More proof that MediaWiki is as
much designed by luck as by humans.
Another feature designed by luck was the fact that watchlists only display
the current revisions of watched articles, not all changes during the
specified period. This was a by-product of the cur/old split. While I was
an editor I considered it an annoying bug, but when I actually "fixed" it,
there was an outcry. So now it's hacked back in.
-- Tim Starling