PHP code example of wikifab / custom-recent-changes

1. Go to this page and download the library: Download wikifab/custom-recent-changes 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/ */

    

wikifab / custom-recent-changes example snippets



    # LocalSettings.php 
    
    $wgRCNamespacesList = [
        0, // User
        2, // File
        14 // Category
    ];


    # LocalSettings.php 
    
    // Will ignore the File namespace
    $wgRCNamespacesListIgnored = [
        2, // File
    ];