Last modified: 2009-04-16 00:19:13 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 T20031, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18031 - PATCH: Special:Export: prevent option selector flying back to top of list
PATCH: Special:Export: prevent option selector flying back to top of list
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.15.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-18 05:31 UTC by Dan Jacobson
Modified: 2009-04-16 00:19 UTC (History)
3 users (show)

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


Attachments
patch (863 bytes, patch)
2009-03-18 05:32 UTC, Dan Jacobson
Details

Description Dan Jacobson 2009-03-18 05:31:46 UTC
Special:Export, when doing 'add pages from namespace',
passes the form parameter "nsindex" back to the server.

This "nsindex" is primarily used to pick pages, but should be used to
set that <option selected> when the form is returned to the user.

Unfortunately this information is thrown away, and the selector flies
back up to the default (first, NS_MAIN) value. The user has to figure
out where he was and what he was doing all over again.

This patch fixes it.

Note, the form still lacks a reset button.
If one wants to start over clean, and is not a power user.
Comment 1 Dan Jacobson 2009-03-18 05:32:56 UTC
Created attachment 5939 [details]
patch
Comment 2 Chad H. 2009-03-26 03:29:16 UTC
Done in r48854
Comment 3 Brion Vibber 2009-04-16 00:15:25 UTC
<b>Notice</b>:  Undefined variable: nsindex in <b>/Library/WebServer/Documents/trunk/includes/specials/SpecialExport.php</b> on line <b>154</b><br />
Comment 4 Chad H. 2009-04-16 00:19:13 UTC
Fixed in r49543

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


Navigation
Links