PvXwiki:Extension Development

The purpose of this project page is to coordinate the efforts of anyone who wishes to help with updates to our two custom wiki extensions, PvXCode and PvXRate.

Contributing
To keep things organized, we will be using the lead user's Gitlab forks of the extensions to develop/test, and the lead will handle merge requests to Gamepedia when work on a feature or update is deemed complete. From there Gamepedia will deploy to their test wiki and eventually to the live wiki.

To join development for either extension, log into Gitlab and click on the link for the extension you'd like to help with. Then click the 'Request Access' link. The lead will add you and you can start editing directly on the project. The lead may have further guidelines on contributing and will let you know if that's the case. It is up to the lead to remove/add users at their sole discretion.

PvXCode:

PvXRate:

Setting up a test wiki
If you'd like to set up a test wiki on your computer for testing more drastic code changes, follow these instructions:

$wgEmailAuthentication = false;
 * Set up XAMPP with Mediawiki 1.33 by following this guide: Manual:Installing MediaWiki on XAMPP
 * Make the following changes to the base Mediawiki files (because XAMPP doesn't pass the memory reading server stats correctly to the page):
 * Download the PvX extensions off gitlab (see links in above section). Pop them in the /extensions folder. Name them with the correct folder names to match the localSettings lines below.
 * In localsettings.php you need to make the following changes after you've installed MW.
 * 1) Roughly line 52 - change this from true to false, since you won't have an email server to authenticate yourself.

wfLoadExtension( 'PvXCode' ); wfLoadExtension( 'PvXRate' );
 * 1) Add to the end

$wgShowExceptionDetails = true;
 * 1) Debugging assistance


 * Finally you'll need to install the mySQL table which stores the ratings. Without this, you'll get a php error when trying to view Special:RecentRatings or when you try to rate a build.
 * Use the XAMPP control panel to enable Apache and mySQL, then navigate to http://localhost/phpmyadmin/
 * Click on your wiki's database on the left-hand pane. This will show you the database structure (the first table will be something like "actor").
 * Click on the "Import" tab at the top. Browse for the  folder and select the table_rating.sql file.
 * Press apply. If it worked, you'll see two green boxes as shown in the image on the right.

Active Users

 * User:Chieftainalex - Lead
 * User:Amorality
 * User:Toraen