Last modified: 2008-01-15 15:04:06 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 12594 - AddPage is not passing super_page along
AddPage is not passing super_page along
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-12 03:57 UTC by Sergey Chernyshev
Modified: 2008-01-15 15:04 UTC (History)
0 users

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


Attachments
Add super_page as hidden form value (1.12 KB, patch)
2008-01-12 03:57 UTC, Sergey Chernyshev
Details
Same patch, but also fixes code insertion security vulnerability (1.47 KB, patch)
2008-01-12 04:05 UTC, Sergey Chernyshev
Details
Une more addition - we'll also pass 'params' parameter on (2.13 KB, patch)
2008-01-12 05:07 UTC, Sergey Chernyshev
Details

Description Sergey Chernyshev 2008-01-12 03:57:16 UTC
Created attachment 4535 [details]
Add super_page as hidden form value

When AddPage is called with super_page parameter, it's not being added as hidden form value as target namespace does.

Patch attached.
Comment 1 Sergey Chernyshev 2008-01-12 04:05:24 UTC
Created attachment 4536 [details]
Same patch, but also fixes code insertion security vulnerability 

This patch also fixes code insertion security vulnerability for namespace and super_page params.
Comment 2 Sergey Chernyshev 2008-01-12 05:07:08 UTC
Created attachment 4537 [details]
Une more addition - we'll also pass 'params' parameter on

I also added passing 'params' parameter on for additional parameters (e.g. presetting form values) completing {{#forminput}} functionality as URL call to AddPage.
Comment 3 Yaron Koren 2008-01-15 15:04:06 UTC
I added this code in version 0.8.3; thanks.

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


Navigation
Links