Last modified: 2009-12-23 21:08:42 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 21801 - Special:AddData does not recognize super_page
Special:AddData does not recognize super_page
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Yaron Koren
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-08 22:29 UTC by Stefan Harwarth
Modified: 2009-12-23 21:08 UTC (History)
1 user (show)

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


Attachments
Patch for the bug in AddData (1.15 KB, patch)
2009-12-17 17:02 UTC, Stefan Harwarth
Details

Description Stefan Harwarth 2009-12-08 22:29:15 UTC
When a super_page parameter is passed to Special:AddData, no subpage is created. For namespaces the feature works. An example would be the following #formlink call:

{{#formlink:Testform|Push This Button|button|super_page=Testpage}}

When 'Testform' contains a {{{#info|page name=..}}} statement, the page created has the correct pagename, but it won't be a subpage of 'Testpage'.

The attached patch fixes the bug.

Stefan
Comment 1 Yaron Koren 2009-12-16 20:23:22 UTC
Hi, this indeed looks like a bug; but where's the patch? It seems like you didn't actually include it.
Comment 2 Stefan Harwarth 2009-12-17 17:02:56 UTC
Created attachment 6889 [details]
Patch for the bug in AddData
Comment 3 Stefan Harwarth 2009-12-17 17:04:54 UTC
Sorry, seems I didn't upload the patch, but now it's up.

Stefan
Comment 4 Yaron Koren 2009-12-23 21:08:42 UTC
Fixed in version 1.8.6; thanks for the patch.

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


Navigation
Links