<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%2Farchive%2Fembedding%2Fold%2Fextract.php%2Fv2%2Fexamples</id>
	<title>MediaWiki/archive/embedding/old/extract.php/v2/examples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%2Farchive%2Fembedding%2Fold%2Fextract.php%2Fv2%2Fexamples"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;action=history"/>
	<updated>2026-06-27T10:55:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=23399&amp;oldid=prev</id>
		<title>Woozle: Woozle moved page MediaWiki/embedding/old/extract.php/v2/examples to MediaWiki/archive/embedding/old/extract.php/v2/examples without leaving a redirect: obsolete, keeps changing</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=23399&amp;oldid=prev"/>
		<updated>2017-12-15T00:08:50Z</updated>

		<summary type="html">&lt;p&gt;Woozle moved page &lt;a href=&quot;/mw/index.php?title=MediaWiki/embedding/old/extract.php/v2/examples&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MediaWiki/embedding/old/extract.php/v2/examples (page does not exist)&quot;&gt;MediaWiki/embedding/old/extract.php/v2/examples&lt;/a&gt; to &lt;a href=&quot;/MediaWiki/archive/embedding/old/extract.php/v2/examples&quot; title=&quot;MediaWiki/archive/embedding/old/extract.php/v2/examples&quot;&gt;MediaWiki/archive/embedding/old/extract.php/v2/examples&lt;/a&gt; without leaving a redirect: obsolete, keeps changing&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:08, 15 December 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=14999&amp;oldid=prev</id>
		<title>Woozle: moved MediaWiki/embedding/extract.php/old1/examples to MediaWiki/embedding/old/extract.php/v2/examples: didn&#039;t notice it had subpages...</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=14999&amp;oldid=prev"/>
		<updated>2011-03-12T13:45:52Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/mw/index.php?title=MediaWiki/embedding/extract.php/old1/examples&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MediaWiki/embedding/extract.php/old1/examples (page does not exist)&quot;&gt;MediaWiki/embedding/extract.php/old1/examples&lt;/a&gt; to &lt;a href=&quot;/mw/index.php?title=MediaWiki/embedding/old/extract.php/v2/examples&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MediaWiki/embedding/old/extract.php/v2/examples (page does not exist)&quot;&gt;MediaWiki/embedding/old/extract.php/v2/examples&lt;/a&gt;: didn&amp;#039;t notice it had subpages...&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:45, 12 March 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=11851&amp;oldid=prev</id>
		<title>Woozle: MediaWiki/extract.php/old/examples moved to MediaWiki/embedding/extract.php/old1/examples: orphaned again...</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=11851&amp;oldid=prev"/>
		<updated>2009-06-06T23:13:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/mw/index.php?title=MediaWiki/extract.php/old/examples&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MediaWiki/extract.php/old/examples (page does not exist)&quot;&gt;MediaWiki/extract.php/old/examples&lt;/a&gt; moved to &lt;a href=&quot;/mw/index.php?title=MediaWiki/embedding/extract.php/old1/examples&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MediaWiki/embedding/extract.php/old1/examples (page does not exist)&quot;&gt;MediaWiki/embedding/extract.php/old1/examples&lt;/a&gt;: orphaned again...&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:13, 6 June 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=11844&amp;oldid=prev</id>
		<title>Woozle: extract.php for embedding MediaWiki contents/examples moved to MediaWiki/extract.php/old/examples: parent page was moved</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=11844&amp;oldid=prev"/>
		<updated>2009-06-06T23:00:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/mw/index.php?title=extract.php_for_embedding_MediaWiki_contents/examples&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;extract.php for embedding MediaWiki contents/examples (page does not exist)&quot;&gt;extract.php for embedding MediaWiki contents/examples&lt;/a&gt; moved to &lt;a href=&quot;/mw/index.php?title=MediaWiki/extract.php/old/examples&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MediaWiki/extract.php/old/examples (page does not exist)&quot;&gt;MediaWiki/extract.php/old/examples&lt;/a&gt;: parent page was moved&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:00, 6 June 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=10506&amp;oldid=prev</id>
		<title>Woozle: New page: ==Overview== Examples of this technique in actual use. ===outside-life.com=== &#039;&#039;as of 2008-09-29, with Google Analystics ID redacted&#039;&#039; &lt;php&gt; &lt;?php define(&#039;kPathToMediaWiki&#039;,&#039;/hsphere/local...</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v2/examples&amp;diff=10506&amp;oldid=prev"/>
		<updated>2008-09-29T21:18:07Z</updated>

		<summary type="html">&lt;p&gt;New page: ==Overview== Examples of this technique in actual use. ===outside-life.com=== &amp;#039;&amp;#039;as of 2008-09-29, with Google Analystics ID redacted&amp;#039;&amp;#039; &amp;lt;php&amp;gt; &amp;lt;?php define(&amp;#039;kPathToMediaWiki&amp;#039;,&amp;#039;/hsphere/local...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Overview==&lt;br /&gt;
Examples of this technique in actual use.&lt;br /&gt;
===outside-life.com===&lt;br /&gt;
&amp;#039;&amp;#039;as of 2008-09-29, with Google Analystics ID redacted&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
define(&amp;#039;kPathToMediaWiki&amp;#039;,&amp;#039;/hsphere/local/home/hypertwi/outside-life.com/w/&amp;#039;);&lt;br /&gt;
define(&amp;#039;kEmbeddedPagePrefix&amp;#039;,&amp;#039;Outside Life&amp;#039;);&lt;br /&gt;
chdir(kPathToMediaWiki);&lt;br /&gt;
set_include_path(get_include_path() . PATH_SEPARATOR . kPathToMediaWiki);&lt;br /&gt;
$pgtitle = $_REQUEST[&amp;#039;wikipage&amp;#039;];&lt;br /&gt;
if ($pgtitle == &amp;#039;&amp;#039;) {&lt;br /&gt;
	$pgtitle = &amp;#039;Comic main page&amp;#039;;&lt;br /&gt;
}&lt;br /&gt;
/* &amp;lt;title&amp;gt;Outside Life - a batch of comics every month&amp;lt;/title&amp;gt; */&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
 Code for displaying meta tags from wiki page&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
$action = &amp;#039;raw&amp;#039;;&lt;br /&gt;
$title = &amp;#039;Comic meta tags&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
// butchered extract.php code&lt;br /&gt;
require_once( &amp;#039;./includes/WebStart.php&amp;#039; );&lt;br /&gt;
require_once( &amp;quot;includes/Wiki.php&amp;quot; );&lt;br /&gt;
$mediaWiki = new MediaWiki();&lt;br /&gt;
wfProfileIn( &amp;#039;main-misc-setup&amp;#039; );&lt;br /&gt;
OutputPage::setEncodings(); # Not really used yet&lt;br /&gt;
&lt;br /&gt;
$wgTitle = Title::newFromURL( $title );&lt;br /&gt;
if ($wgTitle == NULL) {&lt;br /&gt;
	unset( $wgTitle );&lt;br /&gt;
}&lt;br /&gt;
$wgArticle = new Article($wgTitle);&lt;br /&gt;
$wgArticle-&amp;gt;loadContent();&lt;br /&gt;
echo $wgArticle-&amp;gt;mContent;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 End of meta tag code&lt;br /&gt;
*/&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;style&amp;gt;&lt;br /&gt;
img { border-style: none; }&lt;br /&gt;
.mw-headline {&lt;br /&gt;
	color: #666666;&lt;br /&gt;
}&lt;br /&gt;
.commentBlock {&lt;br /&gt;
	color: #555555;&lt;br /&gt;
	font: 10pt sans-serif;&lt;br /&gt;
}&lt;br /&gt;
body {&lt;br /&gt;
	color: #666677;&lt;br /&gt;
}&lt;br /&gt;
A:link, A:active, A:visited {&lt;br /&gt;
	color: #555566;&lt;br /&gt;
}&lt;br /&gt;
h1 {&lt;br /&gt;
	font: 14pt sans-serif;&lt;br /&gt;
}&lt;br /&gt;
h2 {&lt;br /&gt;
	font: 12pt sans-serif;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body bgcolor=#ffffff&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$action = &amp;#039;render&amp;#039;;&lt;br /&gt;
$title = $pgtitle;&lt;br /&gt;
include &amp;#039;extract.php&amp;#039;;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;http://www.google-analytics.com/urchin.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
_uacct = &amp;quot;UA-XXXXXXX-X&amp;quot;;&lt;br /&gt;
urchinTracker();&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>