Last modified: 2009-12-23 21:08:42 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 T23801, the corresponding Phabricator task for complete and up-to-date bug report information.
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