PHP code example of jeroen / mediawiki-github

1. Go to this page and download the library: Download jeroen/mediawiki-github library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jeroen / mediawiki-github example snippets


$egGitHubDefaultRepo = 'SemanticMediaWiki/SemanticMediaWiki';

$egGitHubRepositoryWhitelist = [
    'SemanticMediaWiki/SemanticMediaWiki',
];

$egGitHubRepositoryWhitelist = [
    'SemanticMediaWiki/SemanticMediaWiki',
    'JeroenDeDauw/GitHub',
    'JeroenDeDauw/Maps',
];

$egGitHubCacheTime = 900;

$egGitHubCache = 'none';

$egGitHubUrl = 'https://raw.githubusercontent.com';

$egGitHubFetcher = 'simple';