Last modified: 2008-01-15 15:04:06 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 T14594, the corresponding Phabricator task for complete and up-to-date bug report information.
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