<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RileyForster</id>
	<title>HTYP - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RileyForster"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/Special:Contributions/RileyForster"/>
	<updated>2026-09-11T11:49:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2&amp;diff=16126</id>
		<title>MediaWiki/archive/embedding/old/extract.php/v2</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2&amp;diff=16126"/>
		<updated>2011-10-16T03:12:50Z</updated>

		<summary type="html">&lt;p&gt;RileyForster: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==About==&lt;br /&gt;
&#039;&#039;&#039;This version is obsolete&#039;&#039;&#039;; it is being kept primarily for archival purposes.&lt;br /&gt;
&lt;br /&gt;
The code is based on index.php from MediaWiki (I&#039;m not sure which version, but probably later than 1.7.1 and &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.bestpills4weightloss.com &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;best pills 4 weight loss&amp;lt;/span&amp;gt;] earlier than 1.11). Some code may be redundant, but I was trying to make the &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.proposable.com &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;proposal software&amp;lt;/span&amp;gt;] fewest possible changes in order to &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://en.wikipedia.org/wiki/Bankers_Life_and_Casualty &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;bankers life and casualty&amp;lt;/span&amp;gt;] avoid breaking anything.&lt;br /&gt;
&lt;br /&gt;
As of 2011-03-12, it&#039;s in use as the front page for [http://outside-life.com Outside Life], a [[webcomic]], which runs on MediaWiki 1.10.&lt;br /&gt;
&lt;br /&gt;
* [[/examples]] - also from Outside Life&lt;br /&gt;
==Contents==&lt;br /&gt;
&amp;lt;php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
 This is essentially index.php with some minor tweaks&lt;br /&gt;
 TWEAKS:&lt;br /&gt;
	these lines commented out:&lt;br /&gt;
		$action = $wgRequest-&amp;gt;getVal( &#039;action&#039;, &#039;view&#039; );&lt;br /&gt;
		$title = $wgRequest-&amp;gt;getVal( &#039;title&#039; );&lt;br /&gt;
	this line commented out&lt;br /&gt;
		$wgTitle = $mediaWiki-&amp;gt;checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );&lt;br /&gt;
	this line inserted immediately after:&lt;br /&gt;
		$wgTitle = Title::newFromURL( $title );&lt;br /&gt;
*/&lt;br /&gt;
# Initialise common code&lt;br /&gt;
require_once( &#039;./includes/WebStart.php&#039; );&lt;br /&gt;
&lt;br /&gt;
# Initialize MediaWiki base class&lt;br /&gt;
require_once( &amp;quot;includes/Wiki.php&amp;quot; );&lt;br /&gt;
$mediaWiki = new MediaWiki();&lt;br /&gt;
&lt;br /&gt;
wfProfileIn( &#039;main-misc-setup&#039; );&lt;br /&gt;
OutputPage::setEncodings(); # Not really used yet&lt;br /&gt;
&lt;br /&gt;
$maxLag = $wgRequest-&amp;gt;getVal( &#039;maxlag&#039; );&lt;br /&gt;
if ( !is_null( $maxLag ) ) {&lt;br /&gt;
	if ( !$mediaWiki-&amp;gt;checkMaxLag( $maxLag ) ) {&lt;br /&gt;
		exit;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Query string fields&lt;br /&gt;
//$action = $wgRequest-&amp;gt;getVal( &#039;action&#039;, &#039;view&#039; );&lt;br /&gt;
//$title = $wgRequest-&amp;gt;getVal( &#039;title&#039; );&lt;br /&gt;
&lt;br /&gt;
//$wgTitle = $mediaWiki-&amp;gt;checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );&lt;br /&gt;
$wgTitle = Title::newFromURL( $title );&lt;br /&gt;
if ($wgTitle == NULL) {&lt;br /&gt;
	unset( $wgTitle );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Send Ajax requests to the Ajax dispatcher.&lt;br /&gt;
#&lt;br /&gt;
/*&lt;br /&gt;
if ( $wgUseAjax &amp;amp;&amp;amp; $action == &#039;ajax&#039; ) {&lt;br /&gt;
	require_once( $IP . &#039;/includes/AjaxDispatcher.php&#039; );&lt;br /&gt;
&lt;br /&gt;
	$dispatcher = new AjaxDispatcher();&lt;br /&gt;
	$dispatcher-&amp;gt;performAction();&lt;br /&gt;
	$mediaWiki-&amp;gt;restInPeace( $wgLoadBalancer );&lt;br /&gt;
	exit;&lt;br /&gt;
}&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
wfProfileOut( &#039;main-misc-setup&#039; );&lt;br /&gt;
&lt;br /&gt;
# Setting global variables in mediaWiki&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;Server&#039;, $wgServer );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;DisableInternalSearch&#039;, $wgDisableInternalSearch );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;action&#039;, $action );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;SquidMaxage&#039;, $wgSquidMaxage );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;EnableDublinCoreRdf&#039;, $wgEnableDublinCoreRdf );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;EnableCreativeCommonsRdf&#039;, $wgEnableCreativeCommonsRdf );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;CommandLineMode&#039;, $wgCommandLineMode );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;UseExternalEditor&#039;, $wgUseExternalEditor );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;DisabledActions&#039;, $wgDisabledActions );&lt;br /&gt;
&lt;br /&gt;
$wgArticle = $mediaWiki-&amp;gt;initialize ( $wgTitle, $wgOut, $wgUser, $wgRequest );&lt;br /&gt;
$mediaWiki-&amp;gt;finalCleanup ( $wgDeferredUpdateList, $wgLoadBalancer, $wgOut );&lt;br /&gt;
&lt;br /&gt;
# Not sure when $wgPostCommitUpdateList gets set, so I keep this separate from finalCleanup&lt;br /&gt;
$mediaWiki-&amp;gt;doUpdates( $wgPostCommitUpdateList );&lt;br /&gt;
&lt;br /&gt;
$mediaWiki-&amp;gt;restInPeace( $wgLoadBalancer );&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>RileyForster</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2&amp;diff=16117</id>
		<title>MediaWiki/archive/embedding/old/extract.php/v2</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2&amp;diff=16117"/>
		<updated>2011-10-13T16:32:32Z</updated>

		<summary type="html">&lt;p&gt;RileyForster: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==About==&lt;br /&gt;
&#039;&#039;&#039;This version is obsolete&#039;&#039;&#039;; it is being kept primarily for archival purposes.&lt;br /&gt;
&lt;br /&gt;
The code is based on index.php from MediaWiki (I&#039;m not sure which version, but probably later than 1.7.1 and earlier than 1.11). Some code may be redundant, but I was trying to make the &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.proposable.com &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;proposal software&amp;lt;/span&amp;gt;] fewest possible changes in order to &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://en.wikipedia.org/wiki/Bankers_Life_and_Casualty &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;bankers life and casualty&amp;lt;/span&amp;gt;] avoid breaking anything.&lt;br /&gt;
&lt;br /&gt;
As of 2011-03-12, it&#039;s in use as the front page for [http://outside-life.com Outside Life], a [[webcomic]], which runs on MediaWiki 1.10.&lt;br /&gt;
&lt;br /&gt;
* [[/examples]] - also from Outside Life&lt;br /&gt;
==Contents==&lt;br /&gt;
&amp;lt;php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
 This is essentially index.php with some minor tweaks&lt;br /&gt;
 TWEAKS:&lt;br /&gt;
	these lines commented out:&lt;br /&gt;
		$action = $wgRequest-&amp;gt;getVal( &#039;action&#039;, &#039;view&#039; );&lt;br /&gt;
		$title = $wgRequest-&amp;gt;getVal( &#039;title&#039; );&lt;br /&gt;
	this line commented out&lt;br /&gt;
		$wgTitle = $mediaWiki-&amp;gt;checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );&lt;br /&gt;
	this line inserted immediately after:&lt;br /&gt;
		$wgTitle = Title::newFromURL( $title );&lt;br /&gt;
*/&lt;br /&gt;
# Initialise common code&lt;br /&gt;
require_once( &#039;./includes/WebStart.php&#039; );&lt;br /&gt;
&lt;br /&gt;
# Initialize MediaWiki base class&lt;br /&gt;
require_once( &amp;quot;includes/Wiki.php&amp;quot; );&lt;br /&gt;
$mediaWiki = new MediaWiki();&lt;br /&gt;
&lt;br /&gt;
wfProfileIn( &#039;main-misc-setup&#039; );&lt;br /&gt;
OutputPage::setEncodings(); # Not really used yet&lt;br /&gt;
&lt;br /&gt;
$maxLag = $wgRequest-&amp;gt;getVal( &#039;maxlag&#039; );&lt;br /&gt;
if ( !is_null( $maxLag ) ) {&lt;br /&gt;
	if ( !$mediaWiki-&amp;gt;checkMaxLag( $maxLag ) ) {&lt;br /&gt;
		exit;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Query string fields&lt;br /&gt;
//$action = $wgRequest-&amp;gt;getVal( &#039;action&#039;, &#039;view&#039; );&lt;br /&gt;
//$title = $wgRequest-&amp;gt;getVal( &#039;title&#039; );&lt;br /&gt;
&lt;br /&gt;
//$wgTitle = $mediaWiki-&amp;gt;checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );&lt;br /&gt;
$wgTitle = Title::newFromURL( $title );&lt;br /&gt;
if ($wgTitle == NULL) {&lt;br /&gt;
	unset( $wgTitle );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Send Ajax requests to the Ajax dispatcher.&lt;br /&gt;
#&lt;br /&gt;
/*&lt;br /&gt;
if ( $wgUseAjax &amp;amp;&amp;amp; $action == &#039;ajax&#039; ) {&lt;br /&gt;
	require_once( $IP . &#039;/includes/AjaxDispatcher.php&#039; );&lt;br /&gt;
&lt;br /&gt;
	$dispatcher = new AjaxDispatcher();&lt;br /&gt;
	$dispatcher-&amp;gt;performAction();&lt;br /&gt;
	$mediaWiki-&amp;gt;restInPeace( $wgLoadBalancer );&lt;br /&gt;
	exit;&lt;br /&gt;
}&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
wfProfileOut( &#039;main-misc-setup&#039; );&lt;br /&gt;
&lt;br /&gt;
# Setting global variables in mediaWiki&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;Server&#039;, $wgServer );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;DisableInternalSearch&#039;, $wgDisableInternalSearch );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;action&#039;, $action );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;SquidMaxage&#039;, $wgSquidMaxage );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;EnableDublinCoreRdf&#039;, $wgEnableDublinCoreRdf );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;EnableCreativeCommonsRdf&#039;, $wgEnableCreativeCommonsRdf );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;CommandLineMode&#039;, $wgCommandLineMode );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;UseExternalEditor&#039;, $wgUseExternalEditor );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;DisabledActions&#039;, $wgDisabledActions );&lt;br /&gt;
&lt;br /&gt;
$wgArticle = $mediaWiki-&amp;gt;initialize ( $wgTitle, $wgOut, $wgUser, $wgRequest );&lt;br /&gt;
$mediaWiki-&amp;gt;finalCleanup ( $wgDeferredUpdateList, $wgLoadBalancer, $wgOut );&lt;br /&gt;
&lt;br /&gt;
# Not sure when $wgPostCommitUpdateList gets set, so I keep this separate from finalCleanup&lt;br /&gt;
$mediaWiki-&amp;gt;doUpdates( $wgPostCommitUpdateList );&lt;br /&gt;
&lt;br /&gt;
$mediaWiki-&amp;gt;restInPeace( $wgLoadBalancer );&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>RileyForster</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2&amp;diff=16095</id>
		<title>MediaWiki/archive/embedding/old/extract.php/v2</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2&amp;diff=16095"/>
		<updated>2011-10-11T07:23:10Z</updated>

		<summary type="html">&lt;p&gt;RileyForster: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==About==&lt;br /&gt;
&#039;&#039;&#039;This version is obsolete&#039;&#039;&#039;; it is being kept primarily for archival purposes.&lt;br /&gt;
&lt;br /&gt;
The code is based on index.php from MediaWiki (I&#039;m not sure which version, but probably later than 1.7.1 and earlier than 1.11). Some code may be redundant, but I was trying to make the &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.proposable.com &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;proposal software&amp;lt;/span&amp;gt;] fewest possible changes in order to avoid breaking anything.&lt;br /&gt;
&lt;br /&gt;
As of 2011-03-12, it&#039;s in use as the front page for [http://outside-life.com Outside Life], a [[webcomic]], which runs on MediaWiki 1.10.&lt;br /&gt;
&lt;br /&gt;
* [[/examples]] - also from Outside Life&lt;br /&gt;
==Contents==&lt;br /&gt;
&amp;lt;php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
 This is essentially index.php with some minor tweaks&lt;br /&gt;
 TWEAKS:&lt;br /&gt;
	these lines commented out:&lt;br /&gt;
		$action = $wgRequest-&amp;gt;getVal( &#039;action&#039;, &#039;view&#039; );&lt;br /&gt;
		$title = $wgRequest-&amp;gt;getVal( &#039;title&#039; );&lt;br /&gt;
	this line commented out&lt;br /&gt;
		$wgTitle = $mediaWiki-&amp;gt;checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );&lt;br /&gt;
	this line inserted immediately after:&lt;br /&gt;
		$wgTitle = Title::newFromURL( $title );&lt;br /&gt;
*/&lt;br /&gt;
# Initialise common code&lt;br /&gt;
require_once( &#039;./includes/WebStart.php&#039; );&lt;br /&gt;
&lt;br /&gt;
# Initialize MediaWiki base class&lt;br /&gt;
require_once( &amp;quot;includes/Wiki.php&amp;quot; );&lt;br /&gt;
$mediaWiki = new MediaWiki();&lt;br /&gt;
&lt;br /&gt;
wfProfileIn( &#039;main-misc-setup&#039; );&lt;br /&gt;
OutputPage::setEncodings(); # Not really used yet&lt;br /&gt;
&lt;br /&gt;
$maxLag = $wgRequest-&amp;gt;getVal( &#039;maxlag&#039; );&lt;br /&gt;
if ( !is_null( $maxLag ) ) {&lt;br /&gt;
	if ( !$mediaWiki-&amp;gt;checkMaxLag( $maxLag ) ) {&lt;br /&gt;
		exit;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Query string fields&lt;br /&gt;
//$action = $wgRequest-&amp;gt;getVal( &#039;action&#039;, &#039;view&#039; );&lt;br /&gt;
//$title = $wgRequest-&amp;gt;getVal( &#039;title&#039; );&lt;br /&gt;
&lt;br /&gt;
//$wgTitle = $mediaWiki-&amp;gt;checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );&lt;br /&gt;
$wgTitle = Title::newFromURL( $title );&lt;br /&gt;
if ($wgTitle == NULL) {&lt;br /&gt;
	unset( $wgTitle );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Send Ajax requests to the Ajax dispatcher.&lt;br /&gt;
#&lt;br /&gt;
/*&lt;br /&gt;
if ( $wgUseAjax &amp;amp;&amp;amp; $action == &#039;ajax&#039; ) {&lt;br /&gt;
	require_once( $IP . &#039;/includes/AjaxDispatcher.php&#039; );&lt;br /&gt;
&lt;br /&gt;
	$dispatcher = new AjaxDispatcher();&lt;br /&gt;
	$dispatcher-&amp;gt;performAction();&lt;br /&gt;
	$mediaWiki-&amp;gt;restInPeace( $wgLoadBalancer );&lt;br /&gt;
	exit;&lt;br /&gt;
}&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
wfProfileOut( &#039;main-misc-setup&#039; );&lt;br /&gt;
&lt;br /&gt;
# Setting global variables in mediaWiki&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;Server&#039;, $wgServer );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;DisableInternalSearch&#039;, $wgDisableInternalSearch );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;action&#039;, $action );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;SquidMaxage&#039;, $wgSquidMaxage );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;EnableDublinCoreRdf&#039;, $wgEnableDublinCoreRdf );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;EnableCreativeCommonsRdf&#039;, $wgEnableCreativeCommonsRdf );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;CommandLineMode&#039;, $wgCommandLineMode );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;UseExternalEditor&#039;, $wgUseExternalEditor );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;DisabledActions&#039;, $wgDisabledActions );&lt;br /&gt;
&lt;br /&gt;
$wgArticle = $mediaWiki-&amp;gt;initialize ( $wgTitle, $wgOut, $wgUser, $wgRequest );&lt;br /&gt;
$mediaWiki-&amp;gt;finalCleanup ( $wgDeferredUpdateList, $wgLoadBalancer, $wgOut );&lt;br /&gt;
&lt;br /&gt;
# Not sure when $wgPostCommitUpdateList gets set, so I keep this separate from finalCleanup&lt;br /&gt;
$mediaWiki-&amp;gt;doUpdates( $wgPostCommitUpdateList );&lt;br /&gt;
&lt;br /&gt;
$mediaWiki-&amp;gt;restInPeace( $wgLoadBalancer );&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>RileyForster</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2&amp;diff=15965</id>
		<title>MediaWiki/archive/embedding/old/extract.php/v2</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2&amp;diff=15965"/>
		<updated>2011-09-22T15:34:15Z</updated>

		<summary type="html">&lt;p&gt;RileyForster: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==About==&lt;br /&gt;
&#039;&#039;&#039;This version is obsolete&#039;&#039;&#039;; it is being kept primarily for archival purposes.&lt;br /&gt;
&lt;br /&gt;
The code is based on index.php from MediaWiki (I&#039;m not sure which version, but probably later than 1.7.1 and earlier than 1.11). Some code may be &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.proposable.com &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;proposal software&amp;lt;/span&amp;gt;] redundant, but I was trying to make the fewest possible &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://thebeginnerslens.com/ &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;iphone photography&amp;lt;/span&amp;gt;] changes in order to avoid breaking anything.&lt;br /&gt;
&lt;br /&gt;
As of 2011-03-12, it&#039;s in use &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.bestpills4weightloss.com/ &amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;best pills 4 weight loss&amp;lt;/span&amp;gt;] as the front page for [http://outside-life.com Outside Life], a [[webcomic]], which runs on MediaWiki 1.10.&lt;br /&gt;
&lt;br /&gt;
* [[/examples]] - also from Outside Life&lt;br /&gt;
==Contents==&lt;br /&gt;
&amp;lt;php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
 This is essentially index.php with some minor tweaks&lt;br /&gt;
 TWEAKS:&lt;br /&gt;
	these lines commented out:&lt;br /&gt;
		$action = $wgRequest-&amp;gt;getVal( &#039;action&#039;, &#039;view&#039; );&lt;br /&gt;
		$title = $wgRequest-&amp;gt;getVal( &#039;title&#039; );&lt;br /&gt;
	this line commented out&lt;br /&gt;
		$wgTitle = $mediaWiki-&amp;gt;checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );&lt;br /&gt;
	this line inserted immediately after:&lt;br /&gt;
		$wgTitle = Title::newFromURL( $title );&lt;br /&gt;
*/&lt;br /&gt;
# Initialise common code&lt;br /&gt;
require_once( &#039;./includes/WebStart.php&#039; );&lt;br /&gt;
&lt;br /&gt;
# Initialize MediaWiki base class&lt;br /&gt;
require_once( &amp;quot;includes/Wiki.php&amp;quot; );&lt;br /&gt;
$mediaWiki = new MediaWiki();&lt;br /&gt;
&lt;br /&gt;
wfProfileIn( &#039;main-misc-setup&#039; );&lt;br /&gt;
OutputPage::setEncodings(); # Not really used yet&lt;br /&gt;
&lt;br /&gt;
$maxLag = $wgRequest-&amp;gt;getVal( &#039;maxlag&#039; );&lt;br /&gt;
if ( !is_null( $maxLag ) ) {&lt;br /&gt;
	if ( !$mediaWiki-&amp;gt;checkMaxLag( $maxLag ) ) {&lt;br /&gt;
		exit;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Query string fields&lt;br /&gt;
//$action = $wgRequest-&amp;gt;getVal( &#039;action&#039;, &#039;view&#039; );&lt;br /&gt;
//$title = $wgRequest-&amp;gt;getVal( &#039;title&#039; );&lt;br /&gt;
&lt;br /&gt;
//$wgTitle = $mediaWiki-&amp;gt;checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );&lt;br /&gt;
$wgTitle = Title::newFromURL( $title );&lt;br /&gt;
if ($wgTitle == NULL) {&lt;br /&gt;
	unset( $wgTitle );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Send Ajax requests to the Ajax dispatcher.&lt;br /&gt;
#&lt;br /&gt;
/*&lt;br /&gt;
if ( $wgUseAjax &amp;amp;&amp;amp; $action == &#039;ajax&#039; ) {&lt;br /&gt;
	require_once( $IP . &#039;/includes/AjaxDispatcher.php&#039; );&lt;br /&gt;
&lt;br /&gt;
	$dispatcher = new AjaxDispatcher();&lt;br /&gt;
	$dispatcher-&amp;gt;performAction();&lt;br /&gt;
	$mediaWiki-&amp;gt;restInPeace( $wgLoadBalancer );&lt;br /&gt;
	exit;&lt;br /&gt;
}&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
wfProfileOut( &#039;main-misc-setup&#039; );&lt;br /&gt;
&lt;br /&gt;
# Setting global variables in mediaWiki&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;Server&#039;, $wgServer );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;DisableInternalSearch&#039;, $wgDisableInternalSearch );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;action&#039;, $action );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;SquidMaxage&#039;, $wgSquidMaxage );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;EnableDublinCoreRdf&#039;, $wgEnableDublinCoreRdf );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;EnableCreativeCommonsRdf&#039;, $wgEnableCreativeCommonsRdf );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;CommandLineMode&#039;, $wgCommandLineMode );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;UseExternalEditor&#039;, $wgUseExternalEditor );&lt;br /&gt;
$mediaWiki-&amp;gt;setVal( &#039;DisabledActions&#039;, $wgDisabledActions );&lt;br /&gt;
&lt;br /&gt;
$wgArticle = $mediaWiki-&amp;gt;initialize ( $wgTitle, $wgOut, $wgUser, $wgRequest );&lt;br /&gt;
$mediaWiki-&amp;gt;finalCleanup ( $wgDeferredUpdateList, $wgLoadBalancer, $wgOut );&lt;br /&gt;
&lt;br /&gt;
# Not sure when $wgPostCommitUpdateList gets set, so I keep this separate from finalCleanup&lt;br /&gt;
$mediaWiki-&amp;gt;doUpdates( $wgPostCommitUpdateList );&lt;br /&gt;
&lt;br /&gt;
$mediaWiki-&amp;gt;restInPeace( $wgLoadBalancer );&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>RileyForster</name></author>
	</entry>
</feed>