Question: I have a layout where users can add buttons and place them where they want. 
I want to allow the user to save their layout so that it is loaded the next time they open the app.
Does anyone know if I can save the file on the sdcard? Alternatively I could use some kind of layout.getXml() method and put it in the database my app uses.
Thanks in advance

Answer: 
You want all logged in users to have "superuser" privileges? Simplest approach would be to add additional user rights to the existing `user` user group, rather than creating a new user group.

```

$wgGroupPermissions['user']['some_user_right'] = true;

```

See <http://www.mediawiki.org/wiki/Manual:User_rights>.
According to the [MediaWiki manual on $wgAutopromote](http://www.mediawiki.org/wiki/Manual:%24wgAutopromote), $wgAutopromote is an associative array.

You could try one of the following:

```php
$wgAutopromote = array('superuser' => array( APCOND_EDITCOUNT, 0 ));

```

Or

```php
$wgAutopromote = array(
        'superuser' => array( '&',
                array( APCOND_EDITCOUNT, 0 ),
        ),
);

```

I don't have a live copy of MediaWiki with me right now, so I don't know which one is going to work, though I have a hunch that the second will likely work.