This is Mediawiki Skin based on Curve for SMF development repository. Parts of this theme are licensed under BSD 3-clause license, Others are GPL
- 2.x: Compatible with SMF2.1
- 1.x: Compatible with SMF2.0 [No longer actively developed]
Version | MediaWiki | SMF 2.0 | SMF 2.1 |
---|---|---|---|
master | 1.43 (LTS) | ❌ | ✅ |
2.0 | 1.39 (LTS) | ❌ | ✅ |
1.4 | 1.35 (LTS) | ✅ | ❌ |
1.3 | 1.27 (LTS) | ✅ | ❌ |
1.2 | 1.25 | ✅ | ❌ |
1.1 | 1.23 (LTS) | ✅ | ❌ |
1.0 | 1.23- | ✅ | ❌ |
Feel free to fork this repository and make your desired changes.
Please see the Developer's Certificate of Origin in the repository: by signing off your contributions, you acknowledge that you can and do license your submissions under the license of the project.
- fork the repository. If you are not used to Github, please check out fork a repository.
- branch your repository, to commit the desired changes.
- sign-off your commits, to acknowledge your submission under the license of the project.
- an easy way to do so, is to define an alias for the git commit command, which includes -s switch (reference: How to create Git aliases)
- send a pull request to us.
Finally, feel free to play around. That's what we're doing. ;)
Add to your LocalSettings.php
wfLoadSkin( 'smfcurve2' );
To set as the default skin:
$wgDefaultSkin = "smfcurve2";
We provide a few simple and more advanced methods to customizing the skin.
Add to your LocalSettings.php (After your wfLoadSkin line)
$wgsmfRoot = '/path/to/forum';
$wgshowSMFmenu = true;
$wguseLogoImage = true;
$wguseSideSearchBox = true;
To do more advance customizing, several files can be changed. However they are designed to allow extending the base skin.
First set in your LocalSettings.php
$wgDefaultSkin = "smfcurve2custom";
You can modify the following files depending on your needs:
- /inclues/smfCurve2SkinCustom.php
- /inclues/smfCurve2TemplateCustom.php
- /resources/script/custom.js
- /resources/css/custom.css
We have included some sample code to show how modifications may be made.