Last modified: 2014-11-18 18:07:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25684, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23684 - Special:NewPages does not follow redirects
Special:NewPages does not follow redirects
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Low minor with 6 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-27 16:42 UTC by Tisza Gergő
Modified: 2014-11-18 18:07 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tisza Gergő 2010-05-27 16:42:15 UTC
Special:NewPages checks the existence of a page by id, but refers to it by name; when the page is renamed, the two can become out of synch.

Steps to reproduce:

1. create page Foo
2. rename it to Bar
Expected result: there are two new records on Special:NewPages, Foo and Bar. When you delete Foo, the record for Foo disappears (and vice versa).
Actual result: there is one new record, for Foo. Deleting Foo does not affect it, but it disappears when you delete Bar.

1. create page Foo
2. rename it to Bar, suppressing redirect creation
Expected result: there is a new record on Special:NewPages, Bar. It disappears when Bar is deleted.
Actual result: the record is called Foo. (It does disappear when Bar is deleted.)

Bugs that are special cases of this: bug 16705, bug 17463, bug 17536

Two real-world problems caused by the bug:

You can create pages under the radar of the new page patrol by immediately renaming them and overwriting the redirect with another article.

On wikis with FlagRev enabled, if an unreviewed page is moved into a non-reviewed namespace (to a user subpage, for example), Special:NewPages will list it when queried for new pages in main namespace, and put "not-patrolled" class on (which will probably make it stand out and be an annoyance for patrollers).
Comment 1 Aaron Schulz 2011-11-10 08:28:11 UTC
(In reply to comment #0)
> On wikis with FlagRev enabled, if an unreviewed page is moved into a
> non-reviewed namespace (to a user subpage, for example), Special:NewPages will
> list it when queried for new pages in main namespace, and put "not-patrolled"
> class on (which will probably make it stand out and be an annoyance for
> patrollers).

This should not be an issue anymore.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links