Giter VIP home page Giter VIP logo

stk-wiki-theme's Introduction

STK-wiki-theme

A modern and responsive wiki skin for the website of SuperTuxKart.

Installation

A webserver with PHP and mysql and a mail server are required.

Download MediaWiki and go to the mediawiki directory. Clone this skin into a folder called skins/SuperTuxKart. Copy skins/SuperTuxKart/LocalSettings.template.php to LocalSettings.php. Replace the values of $wgSecretKey and $wgUpgradeKey with real secret keys.

Create a mysql database with a corresponding user and put their values in the database section of LocalSettings.php.

Download the following extension and unpack them in the extensions folder.

Now you can configure your webserver to serve the wiki.

Coding Convetions

  • All stylesheets are written in less, stored in the css/ folder and included in supertuxkart.less.
  • Values such as colors that will be used in multiple location are declared as variables in css/general.less
  • All code is indented with 4 spaces
  • Avoid javascript wherever possible
  • Avoid loading resources from external server due to privacy and availability issues
  • All custom fonts are saved in the fonts folder in different formats and included using @font-face

stk-wiki-theme's People

Contributors

auriamg avatar benau avatar konstin avatar maxteufel avatar minismin avatar mtres19 avatar qwertychouskie avatar tibladar avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

stk-wiki-theme's Issues

Hidden Paypal form

There's an old paypal form on all sites in the footer which is hidden from the user for quite some time.
The issue is that even though it's hidden the tracking pixel from Paypal is always loaded.

<div id="section-donate-form" style="display:none;">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<label for="amount">Select the amount you wish to donate:</label>
<input type="text" value="10" name="amount" id="amount" style="width:75px"/> $AUD
<br/>
<i>Note: please be aware that paypal keeps a certain fee for any donations. Since PayPal takes a portion of the payment as fees,
we recommend donating at least US$2. If you have donated US$5 or more in the past, please contact us, and you will get this new
package without having to make a new donation.
</i>
<!--
<label for="amount">Select the amount you wish to donate:</label>
<select name="amount" id="amount">
<option value="5.00">$5.00</option>
<option value="10.00" selected="selected">$10.00</option>
<option value="15.00">$15.00</option>
<option value="20.00">$20.00</option>
<option value="25.00">$25.00</option>
<option value="30.00">$30.00</option>
<option value="40.00">$40.00</option>
<option value="50.00">$50.00</option>
<option value="75.00">$75.00</option>
<option value="100.00">$100.00</option>
</select>
-->
<br/><br/>
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="B25GVW5NDLDHN">
<input type="hidden" name="lc" value="AU">
<input type="hidden" name="item_name" value="SuperTuxKart">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
<input type="hidden" name="return" value="http://supertuxkart.sourceforge.net/donation_complete.php"/>
<input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal โ€” The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
</div>

If the donation banner in the footer is not going to be used I suggest removing/commenting out the paypal code to reduce tracking and page load time.

Didn't create a PR, wanted to hear some opinions first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.