Last modified: 2012-05-06 01:13:24 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 T38538, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36538 - On Special:MovePage add option to "Fix double redirects"
On Special:MovePage add option to "Fix double redirects"
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-05 11:24 UTC by Subfader
Modified: 2012-05-06 01:13 UTC (History)
2 users (show)

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


Attachments

Description Subfader 2012-05-05 11:24:31 UTC
* Create a page "Foo"
* Move "Foo" to "Foo 2"
* Move "Foo 2" to "Foo 2"

"Foo" is now a double redirect. This could easily be avoided.

* On loading [[Special:MovePage]] check if a page redirects to current page in question:
* On [[Special:MovePage/Foo_2]] it would find "Foo" as redirect page.
* Return a checkbox "Fix redirect page to avoid double redirects" (checked by default, link to [[Foo]] could be added)
Comment 1 Subfader 2012-05-05 11:25:25 UTC
Grrr Bugzilla!

Edit:
* Create a page "Foo"
* Move "Foo" to "Foo 2"
* Move "Foo 2" to "Foo 3"
Comment 2 Thehelpfulone 2012-05-05 11:29:45 UTC
Marking this as low priority as there are many bots that go around fixing them so developmental work on this isn't a priority, but if you can write a patch for it, please feel free to submit one.
Comment 3 Subfader 2012-05-05 11:31:04 UTC
I don't have bots! You must mean bots on Wikipedia ;) MediaWiki is not Wikipedia.
Comment 4 Thehelpfulone 2012-05-05 12:30:14 UTC
Oops sorry I was looking at the wrong component, marking back as normal :)
Comment 5 db [inactive,noenotif] 2012-05-05 18:54:27 UTC
Have a look at $wgFixDoubleRedirects
Comment 6 Subfader 2012-05-06 00:29:10 UTC
Is $wgFixDoubleRedirects ment to work instantly? Cos it doesn't work.

On moving "Foo 2" the etxra checkbox appeared (ticked), but after the move of "Foo 2" to "Foo 3", "Foo" was not changed to redirect to "Foo 3" now.
Comment 7 Subfader 2012-05-06 01:13:24 UTC
Ok it ended up in the job queue.

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


Navigation
Links