Page MenuHomeMiraheze

PerPageLicense on humorpediawiki
Closed, InvalidPublic

Description

I want the PerPageLicense extension on humorpedia.miraheze.

Here's the code:

require_once "$IP/extensions/PerPageLicense/PerPageLicense.php";
$wgPerPageLicenseTemplatePage = 'MediaWiki:License-templates';
$wgPerPageLicenseLicenses = array(
        'cc-by-nc-sa-2.0' => array(
                'url' => 'https://creativecommons.org/licenses/by-nc-sa/2.0/',
                'src' => "{$wgStylePath}/common/images/cc-by-nc-sa.png",
                'alt' => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic License',
        ),
        'cc-by-sa-3.0' => array(
                'url' => 'https://creativecommons.org/licenses/by-sa/3.0/',
                'src' => "{$wgStylePath}/common/images/cc-by-sa.png",
                'alt' => 'Creative Commons Attribution-ShareAlike 3.0 Unported License',
        ),
        'cc-by-sa-4.0' => array(
                'url' => 'https://creativecommons.org/licenses/by-sa/4.0/',
                'src' => "{$wgStylePath}/common/images/cc-by-sa.png",
                'alt' => 'Creative Commons Attribution-ShareAlike 4.0 International License',
        ),
        'cc-by-nc-sa-2.5' => array(
                'url' => 'https://creativecommons.org/licenses/by-nc-sa/2.5/',
                'src' => "{$wgStylePath}/common/images/cc-by-nc-sa.png",
                'alt' => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Generic License',
        ),
        'cc-by-nc-sa-3.0' => array(
                'url' => 'https://creativecommons.org/licenses/by-nc-sa/3.0/',
                'src' => "{$wgStylePath}/common/images/cc-by-nc-sa.png",
                'alt' => 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License',
        'cc-by-nc-sa-4.0' => array(
                'url' => 'https://creativecommons.org/licenses/by-nc-sa/4.0/',
                'src' => "{$wgStylePath}/common/images/cc-by-nc-sa.png",
                'alt' => 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License',
        ),
);

I'm not sure how to do it in a pull request, so I'm requesting it here.

Event Timeline

Still under review? Date to be implemented?

@stranger195 We currently have a high load of extensions to be reviewed and only one person with the capability to review them so unfortunately there's not really a date to be implemented. Please be patient and this should be done soon.

Original wiki is closed, but this request is still valid for jawp2ch.miraheze.org