Plugins
GetWIKI Plugin for WordPress
v 1.1
Updates
- Added an options page (to change settings on wiki domain, cache etc)
GetWIKI Plugin – Download
Still to go
- Multiple domain support
- Cache integration
- Excerpt support
- Widget support
v 0.9 & 1.0
Please see this post for details.

{ 15 comments… read them below or add one }
I was really looking forward to using this plugin, but it generated the following error message on WordPress 2.7 :
Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 3 in /home/stoush/public_html/wp27sandbox/wp-content/plugins/wikip_plugin/wiki_plugin.php on line 15
Following the error message was the following:
HTTP/1.0 200 OK
Date: Tue, 31 Mar 2009 10:51:00 GMT
Server: Apache
X-Powered-By: PHP/5.2.4-2ubuntu5wm1
Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
Content-Language: en
Vary: Accept-Encoding,Cookie
X-Vary-Options: Accept-Encoding;list-contains=gzip,Cookie;string-contains=enwikiToken;string-contains=enwikiLoggedOut;string-contains=enwiki_session;string-contains=centralauth_Token;string-contains=centralauth_Session;string-contains=centralauth_LoggedOut
Last-Modified: Tue, 31 Mar 2009 10:45:48 GMT
Content-Length: 243478
Content-Type: text/html; charset=utf-8
Age: 3372
X-Cache: HIT from sq19.wikimedia.org
X-Cache-Lookup: HIT from sq19.wikimedia.org:3128
X-Cache: MISS from sq25.wikimedia.org
X-Cache-Lookup: MISS from sq25.wikimedia.org:80
Via: 1.1 sq19.wikimedia.org:3128 (squid/2.7.STABLE6), 1.0 sq25.wikimedia.org:80 (squid/2.7.STABLE6)
Connection: close
Then came the wiki content, but unfortunately, it includes the *whole* page, including the login and the left hand navigation column.
I’d like to see just the content. Any suggestions on how I can get things working properly?
@Leigh
Can you please send me a sample URL where this error appears?
As you can see on this site (at http://saj.in/blog/techtalk/82/getwiki-plugin-for-wordpress.asp), the plugin works with 2.7 without any issues.
Hi Sajin,
That was a quick reply!
have a look at
http://stoush.com/wp27sandbox/dog.html
or
http://stoush.com/wp27sandbox/cat.html
Does the plugin require php 5? My server is still on php 4.4.4
If that’s not the issue, I’m out of ideas.
Many thanks for looking at this – I love the idea of being able to use wiki articles
Leigh
Am wondering if there is a version issue.. I had fixed a similar issue recently. Does your line#15 look like this?
if(preg_match(“@(?\< \!\-\- start content \-\-\>.*\< \!\-\- end content \-\-\>)@i”,$article,$match)!=0) $article = $match[content];
I’m using version 1.1
line 15:
if(preg_match(“@(?\.*\)@i”,$article,$match)!=0) $article = $match[content];
Hi Sajin,
Just tried it on a blog with php 5 – works fine.
Gotta ask to have my other server updated to php 5 too, so that I can use the plugin
thanks for your help,
Leigh
Hmm… interesting. Probably I should take it down as a “requirement” for the plugin so that others trying to use on an earlier version are warned early enough.
Thanks for the info!
Hi! First of all: Thanks for this nice plugin!
I want to display Wikipedia-entries in a separated popup to have it separated from the referring article but keep the user on my site. The popup should print out the article only, without navigation or so, similar to the mobil version of wikipedia (http://en.m.wikipedia.org/). Now I found your plugin but don’t know, if it it’s possible to configure it to meet my expactations.
Do you have any idea how to configure your plugin to do this or do you know a plugin doing this?
Thank you in advance for your help!
Hi Sajin, I use your great plugin for a while now and today the first time it includes a complete page and crashes the layout. I tried to include this:
http://de.wikipedia.org/wiki/Akkordeon
Do you still develop this plugin?
Best wishes
Daniel
@Daniel,
I haven’t spent any time on this for quite a while. Glad to see that still there are users. I’ll surely plan to spend time on this during the coming weekend.
it always did what it should, why to nerv the developer
Thank you!
It seems to be a problem with more wikipedia sites:
http://www.celtic-rock.de/archives/1301
Hi everybody,
I’d like to know if this plugin is still developed and if it works with the latest wordpress and WordPress MU releases ?
I tried it but it seems broken.
Thanks for help.
It works in the latest wordpress, but is not currently developed
Hi Anne,
as you see on the link above it works with 2.9.2. Sometimes it makes trouble but that seems to be a problem from Wikipedia.
@Sajin: That’s really a bad news. I like it very much and don’t know something like this. Is there another way to integrate Wikipedia-Content dynamically?
Daniel