Skip to content

Commit

Permalink
Documentation update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexia committed May 14, 2015
1 parent 841d019 commit 9ef5ef9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ Add the following code at the bottom of your LocalSettings.php:

Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

#Configuration
There are two available rights that may be assigned to groups, 'edit_sprites' and 'spritesheet_rollback'. The 'edit_sprites' permission gives the ability to edit sprite sheets, sprites, slices, assign names, and delete. The 'spritesheet_rollback' allows the ability to rollback changes from the change log.

Default permissions:

$wgGroupPermissions['autoconfirmed']['edit_sprites'] = true;
$wgGroupPermissions['sysop']['spritesheet_rollback'] = true;

#Usage

![](documentation/BasicInterface.png)
Expand Down
12 changes: 10 additions & 2 deletions README.wiki
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
|status = stable
|type = parser function
|author = Curse Inc. Wiki Platform Team, Alexia E. Smith ([[User:Alexia E. Smith|Alexia E. Smith]])
|version = 1.1.0
|update = 2015-05-11
|version = 1.1.1
|update = 2015-05-14
|mediawiki = 1.23+
|php = 5.4+
|download = {{ {{TNTN|GithubDownload}} |CurseStaff|SpriteSheet}}
Expand All @@ -31,6 +31,14 @@ The '''SpriteSheet''' extension allows uploaded images to be divided into sprite

{{ {{TNTN|ExtensionInstall}} |download-link=[https://github.com/CurseStaff/SpriteSheet/archive/v1.1.0.zip Download]}}

==Configuration==
There are two available rights that may be assigned to groups, 'edit_sprites' and 'spritesheet_rollback'. The 'edit_sprites' permission gives the ability to edit sprite sheets, sprites, slices, assign names, and delete. The 'spritesheet_rollback' allows the ability to rollback changes from the change log.

Default permissions:

<code><nowiki>$wgGroupPermissions['autoconfirmed']['edit_sprites'] = true;
$wgGroupPermissions['sysop']['spritesheet_rollback'] = true;</nowiki></code>

==Usage==

[[File:SpriteSheet-BasicInterface.png]]
Expand Down
2 changes: 1 addition & 1 deletion SpriteSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/******************************************/
/* Credits */
/******************************************/
define('SPRITESHEET_VERSION', '1.1.0');
define('SPRITESHEET_VERSION', '1.1.1');
$credits = [
'path' => __FILE__,
'name' => 'SpriteSheet',
Expand Down

0 comments on commit 9ef5ef9

Please sign in to comment.