Last modified: 2014-09-23 19:55:37 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 T9750, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7750 - Extension for storing non-default $wgGroupPermission's in MySQL table
Extension for storing non-default $wgGroupPermission's in MySQL table
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
PC All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-29 17:28 UTC by Marco
Modified: 2014-09-23 19:55 UTC (History)
0 users

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


Attachments
The Extension (705 bytes, patch)
2006-10-29 17:30 UTC, Marco
Details
New version (765 bytes, patch)
2006-10-29 19:47 UTC, Marco
Details

Description Marco 2006-10-29 17:28:31 UTC
Hi all, I have created an extension which allows to store permissions in MySQL
table and no longer in Localsettings.php. I would be very happy if someone could
look into the code and tell me if it is bad/good and if it can be put into
MediaWiki's SVN repository.

Greets,
Marco
Comment 1 Marco 2006-10-29 17:30:00 UTC
Created attachment 2593 [details]
The Extension

MySQL table definition:

CREATE TABLE permissions (
  pm_group varchar(20) NOT NULL default '*',
  pm_key varchar(20) NOT NULL,
  pm_value tinyint(1) NOT NULL
);
Comment 2 Marco 2006-10-29 19:47:47 UTC
Created attachment 2595 [details]
New version

new version, now using the normal wiki database function.

THANKS BRION!!
Comment 3 p858snake 2011-04-30 00:09:52 UTC
*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*
Comment 4 Sumana Harihareswara 2011-12-23 18:29:12 UTC
Marco, thanks for writing this. I added the "need-review" keyword to indicate
that your code awaits review.  (I'm guessing your extension probably needs updating to work with MediaWiki's current trunk, though.)  You might just want to apply for commit access and commit your extension to Subversion to get review faster -- see https://www.mediawiki.org/wiki/Commit_access_requests#Requesting_commit_access .  Sorry for the wait!
Comment 5 Sumana Harihareswara 2012-02-10 02:34:46 UTC
Marco, if you are still interested in this issue, please drop in to our IRC channel (info at https://www.mediawiki.org/wiki/MediaWiki_on_IRC ) to talk about your approach with us.  (The code you wrote no longer works with MediaWiki's codebase.)  Thanks!  I'm sorry for the delay in response.
Comment 6 Sam Reed (reedy) 2012-02-10 02:40:42 UTC
This is probably something that has little value moving to the database alone, it really should just be done as part of the larger config overhaul (2012, fingers crossed!), rather than then having another format to migrate away from...
Comment 7 Sumana Harihareswara 2014-09-23 19:55:37 UTC
The config overhaul - you mean https://www.mediawiki.org/wiki/Requests_for_comment/Configuration_database_2 ?

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


Navigation
Links