Last modified: 2009-12-23 21:07:22 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 T23442, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21442 - Patch for Lockdown compatability
Patch for Lockdown compatability
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: 2009-11-09 03:07 UTC by Tim Hessint
Modified: 2009-12-23 21:07 UTC (History)
1 user (show)

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


Attachments
Adds the namespace value from the query string, if one exists, to the dummy page title. (1.02 KB, patch)
2009-11-09 03:07 UTC, Tim Hessint
Details
Adds namespace to permissions test (669 bytes, patch)
2009-11-10 07:37 UTC, Tim Hessint
Details

Description Tim Hessint 2009-11-09 03:07:50 UTC
Created attachment 6758 [details]
Adds the namespace value from the query string, if one exists, to the dummy page title.

Special:AddData uses a dummy page title - "Semantic Forms permissions test" - to test if the user has permission to create the page. This fails when the user does not have access to the 'Main' namespace, but has access to other namespaces (such as 'File' for uploading). This patch adds the namespace value from the query string, if one exists, to the dummy page title.
Comment 1 Tim Hessint 2009-11-10 07:37:16 UTC
Created attachment 6765 [details]
Adds namespace to permissions test

Removed unnecessary logic. If there is no namespace then testing for ":SF permissions test" is recognised as the the main namespace.
Comment 2 Yaron Koren 2009-12-23 21:07:22 UTC
Added 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