Page MenuHomePhabricator

Discard link on Special:Drafts does not work
Closed, ResolvedPublic

Description

Author: morse.caleb

Description:
Patch for bug described

The discard link on the drafts special page points to the following url:

/index.php?title=Special:Drafts?discard=1&token=...

Instead of pointing to:

/index.php?title=Special:Drafts&discard=1&token=...

Patch attached.


Version: unspecified
Severity: normal

attachment patch.diff ignored as obsolete

Details

Reference
bz17439

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:25 PM
bzimport set Reference to bz17439.

The extra URL params should be passed into getFullUrl() for appending rather than manually appended; this'll ensure consistent functioning whatever the $wgArticlePath format is.

Moved params into getFullUrl() as suggested. Thanks brion!

morse.caleb wrote:

Now uses getFullUrl() correctly

I didn't realize that was possible. I updated the patch so that the params are passed into getFullUrl().

It looks like it will require some work to get the entire extension using getFullUrl().

Attached: