Last modified: 2010-05-15 15:50:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11214 - SpecialMove: Move page without creating the redirect page
SpecialMove: Move page without creating the redirect page
Status: RESOLVED DUPLICATE of bug 1062
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-09-06 17:28 UTC by Marco Aurélio Graciotto Silva
Modified: 2010-05-15 15:50 UTC (History)
1 user (show)

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

Adds an option to disable the redirectiong page creation when moving a page to a diferent title. (7.41 KB, patch)
2007-09-06 17:28 UTC, Marco Aurélio Graciotto Silva

Description Marco Aurélio Graciotto Silva 2007-09-06 17:28:47 UTC
Created attachment 4082 [details]
Adds an option to disable the redirectiong page creation when moving a page to a diferent title.

A common problem when editing pages, especially when begging a projeto, it to use a wrong name to page. You can move it, but this always create a redirection from the old page to the new page. Sometimes, this isn't a desired behaviour. An example: I created a page named '1st workshop on etc' with all the activies that took place in the event. However, that workshop was, actually, the 2nd workshop. A simple solution would be to move the page, but I'd like to register both, 1st and 2nd, workshops in the page. Copy and paste the content to the right page would work too, but I'd lost the change history. The perfect solution would be to rename the page and do not create the redirection.

I created a patch for that. It added a 'redirect' option that will define the behaviour when moving the page, enabling or disabling the redirection. It defaults to true, keeping the previous (default) behaviour. I added an option to Title->moveTo() to set the redirection.  The patch is working fine, but, as it's my first MediaWiki patch, I probably missed something.
Comment 1 Robert Leverington 2007-09-06 17:35:00 UTC

*** This bug has been marked as a duplicate of bug 1062 ***

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