Last modified: 2011-12-29 04:12:12 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 T12919, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10919 - "Save as" tab
"Save as" tab
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-14 16:02 UTC by Sergey Chernyshev
Modified: 2011-12-29 04:12 UTC (History)
1 user (show)

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


Attachments

Description Sergey Chernyshev 2007-08-14 16:02:16 UTC
A button next to "edit with form" that will allow editing current document with another name.

Effectively it's just using a form of current page and preloading current page to this form, but having different page name for it.

When "Save as" button clicked on http://www.example.com/wiki/Page1 page that has Form:Form1 as default form assigned and user asked it to be saved as Page2, the resulting URL must look something like this:

http://www.example.com/wiki/Special:AddPage?page_name=Page2&preload=Page1

Asking for new page name can be done using some quick way, e.g. JavaScript. When user is asked to enter new name, it must be pre-filled with old name so he can modify it.
Comment 1 Sergey Chernyshev 2007-08-14 16:09:40 UTC
Changed "button" to "tab" in the title.
Comment 2 Sergey Chernyshev 2008-01-24 07:45:21 UTC
Shouldn't be too hard to implement now when we have Bug 12594 resolved and preload can just be passed as parameter to AddPage.
Comment 3 badon 2011-09-07 02:34:27 UTC
Something similar to this can be done with a formlink query string parameter. Basically, you just make a link that says something like "Add a page like this", and preload all the properties you want. That's the best way to do it, where you have fine control over the preloaded properties.

If you want a complete copy, without manually producing a formlink, have a look at these:

http://www.mediawiki.org/wiki/Extension:Duplicator
http://www.mediawiki.org/wiki/Extension:Multiplicator

I agree it would be nice if perhaps formlink were extended to provide an option to copy everything, especially in situations when manually specifying the preload data is problematic, like if it were frequently changing.

Since this dates back to 2007, it should be reviewed to decide if it is still needed,if it should be closed, or if a new bug report should be opened that is different in some way.
Comment 4 badon 2011-12-29 04:12:12 UTC
I went ahead and marked this as WONTFIX since it has been several years since anything has happened with this report, and it seems that in most cases a form preload can easily achieve the requested functionality. Feel free to reopen it if there's a use case that isn't already served by using a query string preload.

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


Navigation
Links