https://bugzilla.wikimedia.org/show_bug.cgi?id=48493

       Web browser: ---
            Bug ID: 48493
           Summary: Clean up fundraising code (extra skins and allowed
                    templates for foundationwiki) in CommonSettings.php
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Fundraising: Misc.
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

From <https://noc.wikimedia.org/conf/CommonSettings.php.txt>:

---
if ( $wgDBname == 'foundationwiki' ) {
    include( "$IP/extensions/FormPreloadPostCache/FormPreloadPostCache.php" );
    include( "$IP/extensions/SkinPerPage/SkinPerPage.php" );
    include( "$IP/extensions/skins/Schulenburg/Schulenburg.php" );
    include( "$IP/extensions/skins/Tomas/Tomas.php" );
    include( "$IP/extensions/skins/Donate/Donate.php" );

    $wgAllowedTemplates = array(
        'enwiki_00', 'enwiki_01', 'enwiki_02', 'enwiki_03',
        'enwiki_04', 'enwiki_05', 'donate', '2009_Notice1',
        '2009_Notice1_b', '2009_EM1Notice', '2009_EM1Notice_b',
'2009_Notice11',
        '2009_Notice10', '2009_Notice14', '2009_Notice15', '2009_Notice17',
        '2009_Notice17_g', '2009_Notice18', '2009_Notice18_g',
'2009_Notice21_g',
        '2009_Notice22', '2009_Notice22_g', '2009_Notice30', '2009_Notice31',
        '2009_Notice32', '2009_Notice33', '2009_Notice34', '2009_Notice30_g',
        '2009_Notice30_EML', 'Notice30_EML', '2009_Notice35', '2009_Notice36',
        '2009_Notice36_g', '2009_Notice37', '2009_Notice38', '2009_Notice39',
        '2009_Notice40', '2009_Notice30_bold', '2009_Yandex1', '2009_Notice41',
        '2009_Notice42', '2009_Notice43', '2009_Notice44', '2009_Notice45',
        '2009_Notice47', '2009_Notice46', '2009_Notice48',
'2009_Craig_Appeal1',
        '2009_Jimmy_Appeal1', '2009_Jimmy_Appeal3', '2009_Jimmy_Appeal4',
'2009_Jimmy_Appeal5',
        '2009_Jimmy_Appeal7', '2009_Jimmy_Appeal8', '2009_Jimmy_Appeal9',
'2009_Notice49',
        '2009_Notice51', '2009_ThankYou1', '2009_ThankYou2', '2010_testing1',
        '2010_testing1B', '2010_testing2', '2010_testing2B', '2010_testing3',
        '2010_testing3B', '2010_testing4', '2010_testing4B', '2010_testing5',
        '2010_testing5_anon', '2010_testing6', '2010_testing6_anon',
'2010_testing7',
        '2010_testing7_anon', '2010_testing8', '2010_testing8_anon',
'2010_testing9',
        '2010_testing9_anon', '2010_testing10', '2010_testing10_anon',
'2010_testing11',
        '2010_testing11_anon', '2010_testing12', '2010_testing12_anon',
'2010_testing13',
        '2010_testing13_anon', '2010_testing14', '2010_testing14_anon',
'2010_testing15',
        '2010_testing15_anon', '2010_testing16', '2010_testing17',
'2010_testing18',
        '2010_testing15_anon', '2010_testing16', '2010_testing17',
'2010_testing18',
        '2010_testing19', '2010_testing20', '2010_testing21', '2010_testing22',
        '2010_testing23', '2010_testing24', '2010_testing25', '2010_testing26',
        '2010_testing23', '2010_testing24', '2010_testing25', '2010_testing26',
        '2010_testing23', '2010_testing24', '2010_testing25', '2010_testing26',
        '2010_testing27', '2010_testing28', '2010_testing29', '2010_testing30',
        '2010_testing31', '2010_testing32', '2010_testing33', '2010_testing34',
        '2010_testing35', '2010_testing36', '2010_testing37', '2010_testing38',
        '2010_testing39', '2010_testing40', '2010_testing41', '2010_testing42',
        '2010_testing43', '2010_testing44', '2010_testing44_twostep',
'2010_testing45',
        '2010_testing46', '2010_testing47', '2010_testing48', '2010_testing49',
        '2010_testing50', '2010_testing51', '2010_testing52', '2010_testing53',
        '2010_testing54', '2010_testing55', '2010_fr_testing1',
'2010_fr_testing5',
        '2010_fr_testing3', '2010_fr_testing4', '2010_de_testing1',
'2010_de_testing2',
        '2010_de_testing3', '2010_de_testing4', '2010_en_testing1',
',2010_en_testing2',
        '2010_en_testing3', '2010_en_testing4', '2010_en_testing5',
'2010_en_testing6',
        '2010_en_testing7', '2010_en_testing8', '2010_en_testing9',
'2010_en_testing10',
        '2010_en_testing11', '2010_en_testing12', '2010_en_testing13',
'2010_en_testing14',
        '2010_en_testing15', '2010_en_testing16', '2010_en_testing17',
'2010_en_testing18',
        '2010_en_testing19', '2010_en_testing20', '2010_en_testing21',
'2010_en_testing22',
        '2010_en_testing23', '2010_en_testing24', '2010_en_testing25',
'2010_en_testing26',
        '2010_en_testing27', '2010_en_testing28', '2010_en_testing29',
'2010_en_testing30',
        '2010_en_testing31', '2010_en_testing32', '2010_en_testing33',
'2010_en_testing34',
        '2010_en_testing35', '2010_en_testing36', '2010_en_testing37',
'2010_en_testing38',
        '2010_en_testing39', '2010_en_testing40',
    );

    $wgAllowedSupport = array(
        'Support', 'Support2', 'ChangeWorld', 'FiveFacts',
        'Craig_Appeal', 'Appeal', 'Appeal2', 'Global_Support',
        '2010_Landing_1', '2010_Landing_2', '2010_Landing_3', '2010_Landing_4',
        '2010_Landing_5', '2010_Landing_6', '2010_Landing_7', '2010_Landing_8',
        '2010_Landing_9', 'cc1', 'cc2', 'cc3', 'cc4', 'cc5', 'cc6', 'cc7',
'cc8', 'cc9',
        'cc10', 'cc11', 'cc12', 'cc13', 'cc14', 'cc15', 'Appeal3', 'Appeal4',
'Appeal5',
        'Appeal6', 'Appeal7', 'Appeal8', 'Appeal9', 'Appeal10', 'Appeal11',
'Appeal12',
        'Appeal13', 'Appeal14', 'Appeal16', 'Appeal18', 'Appeal20', 'cc15',
    );

    $wgAllowedPaymentMethod = array(
        'cc', 'pp'
    );
}
---

I'm fairly sure most of this code is no longer needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to