<?php require_once './MWVersion.php'; require getMediaWiki('extensions/SecurePoll/auth-api.php');
<?php require_once './MWVersion.php'; require getMediaWiki('opensearch_desc.php');
<?php $lang = 'meta'; putenv("MW_LANG={$lang}"); // notify MWMultiVersion require '/srv/mediawiki/w/MWVersion.php'; require getMediaWiki('includes/WebStart.php'); $allowed_templates = array('Www.wikimedia.org_template', 'Www.wikipedia.org_template', 'Www.wikinews.org_template', 'Www.wiktionary.org_template', 'Www.wikiquote.org_template', 'Www.wikiversity.org_template', 'Www.wikibooks.org_template', 'Www.wikivoyage.org_template', 'API_listing_template'); $template = $wgRequest->getText('template', 'Www.wikipedia.org_template'); if (!in_array($template, $allowed_templates)) { header('Content-Type: text/plain; charset=utf-8'); echo 'Invalid parameters...'; exit; } $wgTitle = Title::newFromText($template); $wgArticle = new Article($wgTitle); $rawHtml = $wgArticle->getContent(false); $lastmod = gmdate('D, j M Y H:i:s', wfTimestamp(TS_UNIX, $wgArticle->getTouched())) . ' GMT'; header('Content-Type: text/html; charset=utf-8'); header('Cache-Control: s-maxage=3600, must-revalidate, max-age=0'); header("Last-modified: {$lastmod}"); echo $rawHtml;
<?php // This file is managed by puppet. require_once __DIR__ . '/dblist.php'; require_once __DIR__ . '/MWVersion.php'; require getMediaWiki(basename(__FILE__));
<?php require_once './MWVersion.php'; require getMediaWiki('index.php');
<?php require_once './MWVersion.php'; require getMediaWiki('load.php');
<?php require_once './MWVersion.php'; require getMediaWiki('thumb.php');
<?php require_once './MWVersion.php'; require getMediaWiki('thumb_handler.php');
<?php require_once './MWVersion.php'; require getMediaWiki('img_auth.php');
<?php require_once './MWVersion.php'; require getMediaWiki('api.php');