Beispiel #1
0
<?php

/**
 * This PHP entry point is deprecated. Please use wfLoadSkin() and the skin.json file
 * instead. See https://www.mediawiki.org/wiki/Manual:Extension_registration for more details.
 */
if (!function_exists('wfLoadSkin')) {
    die('The Timeless skin requires MediaWiki 1.25 or newer.');
}
wfLoadSkin('Timeless');
<?php

/**
 * This PHP entry point is deprecated. Please use wfLoadSkin() and the skin.json file
 * instead. See https://www.mediawiki.org/wiki/Manual:Extension_registration for more details.
 */
if (!function_exists('wfLoadSkin')) {
    die('The DrinkingAndDragons skin requires MediaWiki 1.25 or newer.');
}
wfLoadSkin('DrinkingAndDragons');
Beispiel #3
0
## to make your wiki go slightly faster. The directory should not
## be publically accessible from the web.
#$wgCacheDirectory = "$IP/cache";
# Site language code, should be one of the list in ./languages/Names.php
$wgLanguageCode = "en-gb";
$wgSecretKey = "[removed]";
# Site upgrade key. Must be set to a string (default provided) to turn on the
# web installer while LocalSettings.php is in place
$wgUpgradeKey = "[removed]";
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgRightsPage = "";
# Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";
# The following permissions were set based on your choice in the installer
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'vector', 'monobook':
$wgDefaultSkin = "monobook";
# Enabled skins.
# The following skins were automatically enabled:
wfLoadSkin('Modern');
wfLoadSkin('MonoBook');
# End of automatically generated settings.
# Add more configuration options below.
<?php

if (function_exists('wfLoadSkin')) {
    wfLoadSkin('Metrolook');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $GLOBALS['wgMessagesDirs']['Metrolook'] = __DIR__ . '/i18n';
    /* wfWarn(
    		'Deprecated PHP entry point used for Metrolook skin. Please use wfLoadSkin instead, ' .
    		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
    	); */
    return true;
} else {
    die('This version of the Metrolook skin requires MediaWiki 1.25+');
}
Beispiel #5
0
<?php

/**
 * Foreground Skin
 *
 * @file
 * @ingroup Skins
 * @author Garrick Van Buren, Jamie Thingelstad, Tom Hutchison
 * @license 2-clause BSD
 */
if (function_exists('wfLoadSkin')) {
    wfLoadSkin('foreground');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['SkinForeground'] = __DIR__ . '/i18n';
    /* wfWarn(
    		'Deprecated PHP entry point used for foreground skin. Please use wfLoadSkin instead, ' .
    		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
    	); */
    return;
}
$wgExtensionCredits['skin'][] = array('path' => __FILE__, 'name' => 'Foreground', 'url' => 'http://foreground.thingelstad.com/', 'author' => array('Garrick Van Buren', 'Jamie Thingelstad', 'Tom Hutchison', '...'), 'version' => '2.0.0 (Albert)', 'descriptionmsg' => 'foreground-desc');
$wgValidSkinNames['foreground'] = 'Foreground';
$wgAutoloadClasses['SkinForeground'] = __DIR__ . '/Foreground.skin.php';
$wgAutoloadClasses['foregroundTemplate'] = __DIR__ . '/Foreground.skin.php';
$wgMessagesDirs['SkinForeground'] = __DIR__ . '/i18n';
$wgExtensionMessagesFiles['SkinForeground'] = __DIR__ . '/Foreground.i18n.php';
$wgResourceModules['skins.foreground.styles'] = array('position' => 'top', 'styles' => array('foreground/assets/stylesheets/normalize.css', 'foreground/assets/stylesheets/font-awesome.css', 'foreground/assets/stylesheets/foundation.css', 'foreground/assets/stylesheets/foreground.css', 'foreground/assets/stylesheets/foreground-print.css'), 'remoteBasePath' => &$GLOBALS['wgStylePath'], 'localBasePath' => &$GLOBALS['wgStyleDirectory']);
$wgResourceModules['skins.foreground.modernizr'] = array('position' => 'top', 'scripts' => array('foreground/assets/scripts/vendor/modernizr.js'), 'remoteBasePath' => &$GLOBALS['wgStylePath'], 'localBasePath' => &$GLOBALS['wgStyleDirectory']);
$wgResourceModules['skins.foreground.js'] = array('position' => 'bottom', 'scripts' => array('foreground/assets/scripts/vendor/fastclick.js', 'foreground/assets/scripts/vendor/placeholder.js', 'foreground/assets/scripts/foundation/foundation.js', 'foreground/assets/scripts/foundation/foundation.topbar.js', 'foreground/assets/scripts/foundation/foundation.dropdown.js', 'foreground/assets/scripts/foundation/foundation.joyride.js', 'foreground/assets/scripts/foundation/foundation.accordion.js', 'foreground/assets/scripts/foundation/foundation.alert.js', 'foreground/assets/scripts/foundation/foundation.clearing.js', 'foreground/assets/scripts/foundation/foundation.equalizer.js', 'foreground/assets/scripts/foundation/foundation.interchange.js', 'foreground/assets/scripts/foundation/foundation.offcanvas.js', 'foreground/assets/scripts/foundation/foundation.orbit.js', 'foreground/assets/scripts/foundation/foundation.reveal.js', 'foreground/assets/scripts/foundation/foundation.tab.js', 'foreground/assets/scripts/foundation/foundation.tooltip.js', 'foreground/assets/scripts/foreground.js'), 'dependencies' => array('jquery.cookie', 'skins.foreground.modernizr'), 'remoteBasePath' => &$GLOBALS['wgStylePath'], 'localBasePath' => &$GLOBALS['wgStyleDirectory']);
Beispiel #6
0
<?php

if (function_exists('wfLoadSkin')) {
    wfLoadSkin('LiquiFlow');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['LiquiFlow'] = __DIR__ . '/i18n';
    /* wfWarn(
    		'Deprecated PHP entry point used for LiquiFlow skin. Please use wfLoadSkin instead, ' .
    		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
    	); */
    return true;
} else {
    die('This version of the Vector skin requires MediaWiki 1.25+');
}
Beispiel #7
0
<?php

/**
 * Aebian Wiki Theme
 *
 * @file
 * @ingroup Skins
 * @author Alexander Knight (https://Aebian.org/)
 * @license https://Aebian.org/licenses/nm
 */
if (function_exists('wfLoadSkin')) {
    wfLoadSkin('AebianTheme');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['AebianTheme'] = __DIR__ . '/i18n';
    /* wfWarn(
    		'Deprecated PHP entry point used for AebianTheme skin. ' .
    		'Please use wfLoadSkin instead, ' .
    		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
    	); */
    return true;
} else {
    die('This version of the AebianTheme skin requires MediaWiki 1.25+');
}
if ($wmgUseClusterJobqueue) {
    # Cluster-dependent files for job queue and job queue aggregator
    require $wmfRealm === 'labs' ? "{$wmfConfigDir}/jobqueue-labs.php" : "{$wmfConfigDir}/jobqueue-{$wmfDatacenter}.php";
}
if ($wgDBname == 'nostalgiawiki') {
    # Link back to current version from the archive funhouse
    if (isset($_REQUEST['title']) && ($title = $_REQUEST['title']) || isset($_SERVER['PATH_INFO']) && ($title = substr($_SERVER['PATH_INFO'], 1))) {
        if (preg_match('/^(.*)\\/Talk$/', $title, $matches)) {
            $title = 'Talk:' . $matches[1];
        }
        $wgSiteNotice = "[//en.wikipedia.org/wiki/" . htmlspecialchars(urlencode($title)) . ' See the current version of this page on Wikipedia]';
    } else {
        $wgSiteNotice = "[//en.wikipedia.org/ See current Wikipedia]";
    }
    // Nostalgia skin
    wfLoadSkin('Nostalgia');
}
$wgCopyrightIcon = '<a href="//wikimediafoundation.org/">' . '<img src="/static/images/wikimedia-button.png" ' . 'srcset="' . '/static/images/wikimedia-button-1.5x.png 1.5x, ' . '/static/images/wikimedia-button-2x.png 2x' . '" ' . 'width="88" height="31" alt="Wikimedia Foundation"/></a>';
# :SEARCH:
# All wikis are special and get Cirrus :)
require_once "{$IP}/extensions/Elastica/Elastica.php";
require_once "{$IP}/extensions/CirrusSearch/CirrusSearch.php";
include "{$wmfConfigDir}/CirrusSearch-common.php";
// Various DB contention settings
if (in_array($wgDBname, array('testwiki', 'test2wiki', 'mediawikiwiki', 'commonswiki'))) {
    $wgSiteStatsAsyncFactor = 1;
}
# Deferred update still broken
$wgMaxSquidPurgeTitles = 500;
$wgInvalidateCacheOnLocalSettingsChange = false;
// General Cache Epoch
<?php

if (function_exists('wfLoadSkin')) {
    wfLoadSkin('CologneBlue');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['CologneBlue'] = __DIR__ . '/i18n';
    /* wfWarn(
    		'Deprecated PHP entry point used for CologneBlue skin. Please use wfLoadSkin instead, ' .
    		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
    	); */
    return true;
} else {
    die('This version of the CologneBlue skin requires MediaWiki 1.25+');
}
<?php

if (function_exists('wfLoadSkin')) {
    wfLoadSkin('Modern');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['Modern'] = __DIR__ . '/i18n';
    /* wfWarn(
    		'Deprecated PHP entry point used for Modern skin. Please use wfLoadSkin instead, ' .
    		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
    	); */
    return true;
} else {
    die('This version of the Modern skin requires MediaWiki 1.25+');
}
Beispiel #11
0
<?php

if (function_exists('wfLoadSkin')) {
    wfLoadSkin('MinervaNeue');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['MinervaNeue'] = __DIR__ . '/i18n';
    return true;
} else {
    die('The Minerva Neue skin requires MediaWiki 1.25+');
}
Beispiel #12
0
<?php

/**
 * This PHP entry point is deprecated. Please use wfLoadSkin() and the skin.json file
 * instead. See https://www.mediawiki.org/wiki/Manual:Extension_registration for more details.
 */
if (!function_exists('wfLoadSkin')) {
    die('The Hanji skin requires MediaWiki 1.25 or newer.');
}
wfLoadSkin('Hanji');
Beispiel #13
0
<?php

if (function_exists('wfLoadSkin')) {
    wfLoadSkin('Liberty');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['Liberty'] = __DIR__ . '/i18n';
    /* wfWarn(
    		'Deprecated PHP entry point used for MonoBook skin. Please use wfLoadSkin instead, ' .
    		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
    	); */
    return true;
} else {
    die('This version of the Liberty skin requires MediaWiki 1.25+');
}
Beispiel #14
0
<?php

if (function_exists('wfLoadSkin')) {
    wfLoadSkin('apex');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['apex'] = __DIR__ . '/i18n';
    /* wfWarn(
    		'Deprecated PHP entry point used for Apex skin. Please use wfLoadSkin instead, ' .
    		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
    	); */
    return true;
} else {
    die('This version of the Apex skin requires MediaWiki 1.25+');
}
Beispiel #15
0
<?php

if (function_exists('wfLoadSkin')) {
    wfLoadSkin('ArchLinux');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['MonoBook'] = __DIR__ . '/i18n';
    /* wfWarn(
    		'Deprecated PHP entry point used for MonoBook skin. Please use wfLoadSkin instead, ' .
    		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
    	); */
    return true;
} else {
    die('This version of the ArchLinux skin requires MediaWiki 1.25+');
}
Beispiel #16
0
<?php

if (function_exists('wfLoadSkin')) {
    wfLoadSkin('erudite');
    // Keep i18n globals so mergeMessageFileList.php doesn't break
    $wgMessagesDirs['Erudite'] = __DIR__ . '/i18n';
    wfWarn('Deprecated PHP entry point used for erudite skin. Please use wfLoadExtension instead, ' . 'see https://www.mediawiki.org/wiki/Extension_registration for more details.');
    return;
} else {
    die('This version of the erudite skin requires MediaWiki 1.25+');
}
Beispiel #17
0
## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publically accessible from the web.
#$wgCacheDirectory = "$IP/cache";
# Site language code, should be one of the list in ./languages/Names.php
$wgLanguageCode = "en";
$wgSecretKey = "4234ee8c290e8148d33fa56bda9de154c43b771ac4f0aef4e040623e0410e6fe";
# Site upgrade key. Must be set to a string (default provided) to turn on the
# web installer while LocalSettings.php is in place
$wgUpgradeKey = "4cc36aceeeaea158";
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgRightsPage = "";
# Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";
## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'vector', 'monobook':
$wgDefaultSkin = "vector";
# Enabled skins.
# The following skins were automatically enabled:
wfLoadSkin('CologneBlue');
wfLoadSkin('Modern');
wfLoadSkin('MonoBook');
wfLoadSkin('Vector');
# End of automatically generated settings.
# Add more configuration options below.
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
#$wgHashedUploadDirectory = false;
## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publically accessible from the web.
#$wgCacheDirectory = "$IP/cache";
# Site language code, should be one of the list in ./languages/Names.php
$wgLanguageCode = "en";
$wgSecretKey = "623cf9898acfe0d2ea2030002131969be05d97ade872662746c7c9e83db52aa6";
# Site upgrade key. Must be set to a string (default provided) to turn on the
# web installer while LocalSettings.php is in place
$wgUpgradeKey = "f3f1df5aee7abfd3";
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgRightsPage = "";
# Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";
## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'vector', 'monobook':
$wgDefaultSkin = "vector";
# End of automatically generated settings.
# Add more configuration options below.
wfLoadSkin("Vector");