<?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=Klantkg75</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=Klantkg75"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/Special:Contributions/Klantkg75"/>
	<updated>2026-09-11T09:21:35Z</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/v1&amp;diff=16081</id>
		<title>MediaWiki/archive/embedding/old/extract.php/v1</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/old/extract.php/v1&amp;diff=16081"/>
		<updated>2011-10-09T02:24:17Z</updated>

		<summary type="html">&lt;p&gt;Klantkg75: /* Instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==About==&lt;br /&gt;
This version is &#039;&#039;&#039;obsolete&#039;&#039;&#039;. Use only if newer code fails and you are looking for ideas. This was formerly &amp;quot;the slightly less-elegant method&amp;quot;, and was used with a MediaWiki version somewhere around 1.7 --[[User:Woozle|Woozle]] 19:11, 6 June 2009 (EDT) (updated 2011-03-12)&lt;br /&gt;
==Instructions==&lt;br /&gt;
Create the file &#039;&#039;&#039;extract.php&#039;&#039;&#039; from the code below, and place it in your MediaWiki root folder (i.e. the folder where the main wiki&#039;s index.php is).&lt;br /&gt;
&lt;br /&gt;
The following code displays text from the wiki page whose name (in URL format, with underlines for spaces) is passed to &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.facebook.com/pages/Oel-Wingo-Management-Consulting-Services/219215268090095&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;Oel Wingo&amp;lt;/span&amp;gt;] getWikiPage:&lt;br /&gt;
&amp;lt;php&amp;gt;&lt;br /&gt;
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);&lt;br /&gt;
require_once(&#039;../wiki.sluggysquad.com/extract.php&#039;);&lt;br /&gt;
echo str_replace(&amp;quot;/index.php/&amp;quot;,&amp;quot;http://&amp;lt;u&amp;gt;your.wiki&#039;s.base.url&amp;lt;/u&amp;gt;/&amp;quot;,getWikiPage(&#039;WWW_Wiki_Intro&#039;));&lt;br /&gt;
&amp;lt;/php&amp;gt;&lt;br /&gt;
* The str_replace will need some tweaking depending on the URL form your wiki uses.&lt;br /&gt;
* This example assumes &amp;lt;nowiki&amp;gt;http://your.wiki.domain/index.php/Page_title&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;php&amp;gt;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
// Adapted from extract2.php.html by Aero for use with SluggySquad site&lt;br /&gt;
// Cleaned up slightly for htyp.org by Woozle&lt;br /&gt;
&lt;br /&gt;
$pathtowiki = &#039;/path/to/main/MediaWiki/folder&#039;;&lt;br /&gt;
&lt;br /&gt;
header(&amp;quot;Content-Type: text/html; charset=utf-8&amp;quot;);&lt;br /&gt;
define( &amp;quot;MEDIAWIKI&amp;quot;, true );&lt;br /&gt;
require_once($pathtowiki.&amp;quot;/includes/Defines.php&amp;quot; );&lt;br /&gt;
require_once($pathtowiki.&amp;quot;/LocalSettings.php&amp;quot;);&lt;br /&gt;
require_once($pathtowiki.&amp;quot;/includes/Setup.php&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
function getWikiPage($pageName)&lt;br /&gt;
{&lt;br /&gt;
  global $wgRequest,$wgOut;&lt;br /&gt;
  $useportal = $wgRequest-&amp;gt;getText( &#039;title&#039;, $pageName );&lt;br /&gt;
  $wgTitle = Title::newFromText( $useportal );&lt;br /&gt;
  $wgArticle = new Article( $wgTitle );&lt;br /&gt;
  $mainText = $wgOut-&amp;gt;parse( $wgArticle-&amp;gt;getContent( false ) );&lt;br /&gt;
  return $mainText;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>Klantkg75</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/1.14/index.php&amp;diff=16078</id>
		<title>MediaWiki/archive/embedding/1.14/index.php</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/1.14/index.php&amp;diff=16078"/>
		<updated>2011-10-08T14:10:37Z</updated>

		<summary type="html">&lt;p&gt;Klantkg75: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Code==&lt;br /&gt;
&amp;lt;php&amp;gt;&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
HISTORY:&lt;br /&gt;
  2009-06-06 Now works with MediaWiki 1.14 and current version of extract.php&lt;br /&gt;
  2009-06-07 Added code to view error and warning messages; fixed 2 warnings which popped up&lt;br /&gt;
*/&lt;br /&gt;
define(&#039;kfpWebAccts&#039;,&#039;/var/www/&#039;);&lt;br /&gt;
define(&#039;kfpMediaWiki&#039;,kfpWebAccts.&#039;wiki-hypertwins-org/&#039;);&lt;br /&gt;
&lt;br /&gt;
// To have all your extractable pages as subpages or in a namespace, give them a prefix:&lt;br /&gt;
define(&#039;kEmbeddedPagePrefix&#039;,&#039;&#039;);&lt;br /&gt;
/*&lt;br /&gt;
This can be empty, but the idea is that you might want to avoid conflicts between the names of your embedded pages&lt;br /&gt;
and the names of regular pages in your wiki (if you&#039;re using the wiki as a regular wiki too).&lt;br /&gt;
It all depends on how you are using the embedded pages.&lt;br /&gt;
*/&lt;br /&gt;
// This code helps with debugging, but it is optional.&lt;br /&gt;
error_reporting(E_ALL | E_STRICT);&lt;br /&gt;
ini_set(&#039;display_errors&#039;, 1);&lt;br /&gt;
&lt;br /&gt;
//set_include_path(get_include_path() . PATH_SEPARATOR . kPathToMediaWiki);&lt;br /&gt;
if (isset($_REQUEST[&#039;wikipage&#039;])) {&lt;br /&gt;
    $pgtitle = $_REQUEST[&#039;wikipage&#039;];&lt;br /&gt;
} else {&lt;br /&gt;
    $pgtitle = &#039;Main Page&#039;;	// default page to show&lt;br /&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;
/* // uncomment this section to enable meta-tag insertion&lt;br /&gt;
$action = &#039;raw&#039;;&lt;br /&gt;
$title = &#039;Site meta tags&#039;;&lt;br /&gt;
&lt;br /&gt;
// butchered extract.php code&lt;br /&gt;
require_once( kPathToMediaWiki.&#039;includes/WebStart.php&#039; );&lt;br /&gt;
require_once( kPathToMediaWiki.&#039;includes/Wiki.php&#039; );&lt;br /&gt;
$mediaWiki = new MediaWiki();&lt;br /&gt;
wfProfileIn( &#039;main-misc-setup&#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;
CSS code below is just for standalone presentation.&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 = &#039;render&#039;;&lt;br /&gt;
$title = $pgtitle;&lt;br /&gt;
include &#039;/var/www/data/lib/php/extract.php&#039;;	// point this to wherever you keep extract.php&lt;br /&gt;
$out = GetWikiPage($pgtitle);&lt;br /&gt;
echo $out;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>Klantkg75</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/1.14/index.php&amp;diff=16077</id>
		<title>MediaWiki/archive/embedding/1.14/index.php</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/1.14/index.php&amp;diff=16077"/>
		<updated>2011-10-08T14:09:53Z</updated>

		<summary type="html">&lt;p&gt;Klantkg75: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Code==&lt;br /&gt;
&amp;lt;php&amp;gt;&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
HISTORY:&lt;br /&gt;
  2009-06-06 Now works with MediaWiki 1.14 and current version of extract.php&lt;br /&gt;
  2009-06-07 Added code to view error and warning messages; fixed 2 warnings which popped up&lt;br /&gt;
*/&lt;br /&gt;
define(&#039;kfpWebAccts&#039;,&#039;/var/www/&#039;);&lt;br /&gt;
define(&#039;kfpMediaWiki&#039;,kfpWebAccts.&#039;wiki-hypertwins-org/&#039;);&lt;br /&gt;
&lt;br /&gt;
// To have all your extractable pages as subpages or in a namespace, give them a prefix:&lt;br /&gt;
define(&#039;kEmbeddedPagePrefix&#039;,&#039;&#039;);&lt;br /&gt;
/*&lt;br /&gt;
This can be empty, but the idea is that you might want to avoid conflicts between the names of your embedded pages&lt;br /&gt;
and the names of regular pages in your wiki (if you&#039;re using the wiki as a regular wiki too).&lt;br /&gt;
It all depends on how you are using the embedded pages.&lt;br /&gt;
*/&lt;br /&gt;
// This code helps with debugging, but it is optional.&lt;br /&gt;
error_reporting(E_ALL | E_STRICT);&lt;br /&gt;
ini_set(&#039;display_errors&#039;, 1);&lt;br /&gt;
&lt;br /&gt;
//set_include_path(get_include_path() . PATH_SEPARATOR . kPathToMediaWiki);&lt;br /&gt;
if (isset($_REQUEST[&#039;wikipage&#039;])) {&lt;br /&gt;
    $pgtitle = $_REQUEST[&#039;wikipage&#039;];&lt;br /&gt;
} else {&lt;br /&gt;
    $pgtitle = &#039;Main Page&#039;;	// default page to show&lt;br /&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;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://oelwingo.biz/&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;Oel Wingo&amp;lt;/span&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;
/* // uncomment this section to enable meta-tag insertion&lt;br /&gt;
$action = &#039;raw&#039;;&lt;br /&gt;
$title = &#039;Site meta tags&#039;;&lt;br /&gt;
&lt;br /&gt;
// butchered extract.php code&lt;br /&gt;
require_once( kPathToMediaWiki.&#039;includes/WebStart.php&#039; );&lt;br /&gt;
require_once( kPathToMediaWiki.&#039;includes/Wiki.php&#039; );&lt;br /&gt;
$mediaWiki = new MediaWiki();&lt;br /&gt;
wfProfileIn( &#039;main-misc-setup&#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;
CSS code below is just for standalone presentation.&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 = &#039;render&#039;;&lt;br /&gt;
$title = $pgtitle;&lt;br /&gt;
include &#039;/var/www/data/lib/php/extract.php&#039;;	// point this to wherever you keep extract.php&lt;br /&gt;
$out = GetWikiPage($pgtitle);&lt;br /&gt;
echo $out;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>Klantkg75</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/1.14/index.php&amp;diff=16076</id>
		<title>MediaWiki/archive/embedding/1.14/index.php</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/1.14/index.php&amp;diff=16076"/>
		<updated>2011-10-08T14:07:57Z</updated>

		<summary type="html">&lt;p&gt;Klantkg75: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Code==&lt;br /&gt;
&amp;lt;php&amp;gt;&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
HISTORY:&lt;br /&gt;
  2009-06-06 Now works with MediaWiki 1.14 and current version of extract.php&lt;br /&gt;
  2009-06-07 Added code to view error and warning messages; fixed 2 warnings which popped up&lt;br /&gt;
*/&lt;br /&gt;
define(&#039;kfpWebAccts&#039;,&#039;/var/www/&#039;);&lt;br /&gt;
define(&#039;kfpMediaWiki&#039;,kfpWebAccts.&#039;wiki-hypertwins-org/&#039;);&lt;br /&gt;
&lt;br /&gt;
// To have all your extractable pages as subpages or in a namespace, give them a prefix:&lt;br /&gt;
define(&#039;kEmbeddedPagePrefix&#039;,&#039;&#039;);&lt;br /&gt;
/*&lt;br /&gt;
This can be empty, but the idea is that you might want to avoid conflicts between the names of your embedded pages&lt;br /&gt;
and the names of regular pages in your wiki (if you&#039;re using the wiki as a regular wiki too).&lt;br /&gt;
It all depends on how you are using [http://oelwingo.biz/ Oel Wingo] the embedded pages.&lt;br /&gt;
*/&lt;br /&gt;
// This code helps with debugging, but it is optional.&lt;br /&gt;
error_reporting(E_ALL | E_STRICT);&lt;br /&gt;
ini_set(&#039;display_errors&#039;, 1);&lt;br /&gt;
&lt;br /&gt;
//set_include_path(get_include_path() . PATH_SEPARATOR . kPathToMediaWiki);&lt;br /&gt;
if (isset($_REQUEST[&#039;wikipage&#039;])) {&lt;br /&gt;
    $pgtitle = $_REQUEST[&#039;wikipage&#039;];&lt;br /&gt;
} else {&lt;br /&gt;
    $pgtitle = &#039;Main Page&#039;;	// default page to show&lt;br /&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;
/* // uncomment this section to enable meta-tag insertion&lt;br /&gt;
$action = &#039;raw&#039;;&lt;br /&gt;
$title = &#039;Site meta tags&#039;;&lt;br /&gt;
&lt;br /&gt;
// butchered extract.php code&lt;br /&gt;
require_once( kPathToMediaWiki.&#039;includes/WebStart.php&#039; );&lt;br /&gt;
require_once( kPathToMediaWiki.&#039;includes/Wiki.php&#039; );&lt;br /&gt;
$mediaWiki = new MediaWiki();&lt;br /&gt;
wfProfileIn( &#039;main-misc-setup&#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;
CSS code below is just for standalone presentation.&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 = &#039;render&#039;;&lt;br /&gt;
$title = $pgtitle;&lt;br /&gt;
include &#039;/var/www/data/lib/php/extract.php&#039;;	// point this to wherever you keep extract.php&lt;br /&gt;
$out = GetWikiPage($pgtitle);&lt;br /&gt;
echo $out;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>Klantkg75</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/1.14/index.php&amp;diff=16075</id>
		<title>MediaWiki/archive/embedding/1.14/index.php</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=MediaWiki/archive/embedding/1.14/index.php&amp;diff=16075"/>
		<updated>2011-10-08T14:06:24Z</updated>

		<summary type="html">&lt;p&gt;Klantkg75: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Code==&lt;br /&gt;
&amp;lt;php&amp;gt;&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
HISTORY:&lt;br /&gt;
  2009-06-06 Now works with MediaWiki 1.14 and current version of extract.php&lt;br /&gt;
  2009-06-07 Added code to view error and warning messages; fixed 2 warnings which popped up&lt;br /&gt;
*/&lt;br /&gt;
define(&#039;kfpWebAccts&#039;,&#039;/var/www/&#039;);&lt;br /&gt;
define(&#039;kfpMediaWiki&#039;,kfpWebAccts.&#039;wiki-hypertwins-org/&#039;);&lt;br /&gt;
&lt;br /&gt;
// To have all your extractable pages as subpages or in a namespace, give them a prefix:&lt;br /&gt;
define(&#039;kEmbeddedPagePrefix&#039;,&#039;&#039;);&lt;br /&gt;
/*&lt;br /&gt;
This can be empty, but the idea is that you might want to avoid conflicts between the names of your embedded pages&lt;br /&gt;
and the names of regular pages in your wiki (if you&#039;re using the wiki as a regular wiki too).&lt;br /&gt;
It all depends on how you are using &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://oelwingo.biz/&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;Oel Wingo&amp;lt;/span&amp;gt;] the embedded pages.&lt;br /&gt;
*/&lt;br /&gt;
// This code helps with debugging, but it is optional.&lt;br /&gt;
error_reporting(E_ALL | E_STRICT);&lt;br /&gt;
ini_set(&#039;display_errors&#039;, 1);&lt;br /&gt;
&lt;br /&gt;
//set_include_path(get_include_path() . PATH_SEPARATOR . kPathToMediaWiki);&lt;br /&gt;
if (isset($_REQUEST[&#039;wikipage&#039;])) {&lt;br /&gt;
    $pgtitle = $_REQUEST[&#039;wikipage&#039;];&lt;br /&gt;
} else {&lt;br /&gt;
    $pgtitle = &#039;Main Page&#039;;	// default page to show&lt;br /&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;
/* // uncomment this section to enable meta-tag insertion&lt;br /&gt;
$action = &#039;raw&#039;;&lt;br /&gt;
$title = &#039;Site meta tags&#039;;&lt;br /&gt;
&lt;br /&gt;
// butchered extract.php code&lt;br /&gt;
require_once( kPathToMediaWiki.&#039;includes/WebStart.php&#039; );&lt;br /&gt;
require_once( kPathToMediaWiki.&#039;includes/Wiki.php&#039; );&lt;br /&gt;
$mediaWiki = new MediaWiki();&lt;br /&gt;
wfProfileIn( &#039;main-misc-setup&#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;
CSS code below is just for standalone presentation.&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 = &#039;render&#039;;&lt;br /&gt;
$title = $pgtitle;&lt;br /&gt;
include &#039;/var/www/data/lib/php/extract.php&#039;;	// point this to wherever you keep extract.php&lt;br /&gt;
$out = GetWikiPage($pgtitle);&lt;br /&gt;
echo $out;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>Klantkg75</name></author>
	</entry>
</feed>