Last modified: 2011-08-19 19:31:51 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 T13566, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11566 - Special:Mypage in URL doesn't allow other URL params
Special:Mypage in URL doesn't allow other URL params
Status: RESOLVED DUPLICATE of bug 25829
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.13.x
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.marveldatabase.com/?title=S...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-05 05:07 UTC by Jamie Hari
Modified: 2011-08-19 19:31 UTC (History)
1 user (show)

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


Attachments

Description Jamie Hari 2007-10-05 05:07:53 UTC
BACKGROUND:

The Marvel Database is a wiki about comics and a feature we would be interested in would be a link which adds comics to a users 'wishlist' or 'collection'.

I envisioned implementing this in ootb mediawiki by having a link to a sub-page of the user page which would store their wishlist.

http://en.marveldatabase.com/User:Jamie/Wishlist

This page can successfully be reached by instead typing in the URL:

http://en.marveldatabase.com/Special:Mypage/Wishlist

This gives the dynamic nature of the link, so the link is on the comic and responds accordingly, no matter which user hits the link. (Jamie, Rob, or Brion. ;)

To account for PEBKAC, I would like to have that link preload a template, display an edit intro message and be loaded as a 'new section'. This leaves little room for user error as the work is all done for them, they just have to hit 'save'.

I can pretty much accomplish what I have outlined above, using the following URL:


DESIRED EFFECT:

http://en.marveldatabase.com/?title=User:Jamie/test&action=edit&section=new&preload=Template:Gallery%20Template&editintro=MediaWiki:AddCharacterMessage


THE BUG:

http://en.marveldatabase.com/?title=Special:Mypage/test&action=edit&section=new&preload=Template:Gallery%20Template&editintro=MediaWiki:AddCharacterMessage

Replacing title=User:Jamie/test with title=Special:Mypage/test kills all the parameters that follow it.


SUMMARY:

Including title=Special:Mypage or title=Special:Mytalk should allow all the same paramters as if the URL were explicitly defined.
Comment 1 Jamie Hari 2007-11-01 04:59:43 UTC
http://en.marveldatabase.com/?title=Special:Random&action=edit

would be interesting, too.
Comment 2 Jamie Hari 2008-05-04 17:38:16 UTC
(Changing severity to 'enhancement' and updating version to latest.)


After testing the above links, it seems like the new/current behaviour is that in the above scenarios 'Special:Mypage' and 'Special:Random' are somehow being defaulted back to 'Main Page'.

How would that happen? Is that intended behaviour?
Comment 3 db [inactive,noenotif] 2011-08-19 19:31:51 UTC
At the moment the following parameter are kept, when the page is redirects:

* action
* preload
* editintro
* section
* oldid
* diff
* dir

If you are missing a parameter, please open a new bug. Thanks.

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

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


Navigation
Links