2008 AndrewSW: Blog » Blog Archive » WP-Wikify 2095

WP-Wikify

It has been a while since I last announced any software for download, despite the fact that is what this site was supposed to be about when I first set it up. Anyway, here’s one: WP-Wikify, my first WordPress plug-in. To be honest, I didn’t have to write much code - most of it was in my old b2 hack, which I never released I don’t think, and the rest of it was just mean learning how to use the plugin architecture, for which I found the linkify plugin very useful.

The default wiki to link to in WP-Wikify is the WordPress Wiki, but in my own personal installation I’ve got it set up to first get a list of the pages on my MoinMoin installation (the pages that are to be my static pages, the ones I don’t allow others to edit) and then I only link if the page actually exists.

Eventually I may post more details about that, but I don’t know if there are that many people using both MoinMoin and WordPress - most people that I know seem to prefer to use only one language (Python or PHP) at a time.

aadis Says:

Amazing plugin! Thanx for writing such cool functionality!

(Comments wont nest below this level)
 
mrmoto » Some neat-looking Wordpress Plugins Says:

[…] ink words to URLs (kind of like a Wiki). Use the Wiki Plugin to do Wiki-like stuff. Or use WP-Wikify to kind of do the same thing. Generate a Table of Contents for WordPress posts. ViewLeve […]

(Comments wont nest below this level)
 
mrmoto » Wiki Plugins Says:

[…]   . site admin . 10:20 pm . Use the Wiki Plugin to do Wiki-like stuff. Or use WP-Wikify to kind of do the same thing. Comments » […]

2002 (Comments wont nest below this level)
 
Scott Mitchell Says:

Would there be any chance of getting you to explain the regular expression you are using to do this? I am a regex rookie and I’m trying to add support for [PageName] and [PageName|click here] type linking. I’m getting clse, but I really don’t understand what is going on in your expression right at the beginning “(?< !>|\/|”|”. Thanks

(Comments wont nest below this level)
 
AndrewSW: Blog Says:

Inside the depths of the WP-Wikify plugin
If there’s anything about my WP-Wikify plugin that looks like magic to people, then it is the following line:

preg_replace_callback(”/(?<!>|/|”|[A-Z]|[a-z]|[0-9])([A-Z]+([a-z]|[0-9])+){2,}(?!<|/|”|[A-Z]|[a-z]|[0-9])/”,’wikifyF…

(Comments wont nest below this level)
 
Die besten WordPress Plugins - Post » Tipps zur Suchmaschinenoptimierung Says:

[…] Wikify Plugin Provides links from CamelCase words in a post into a wiki. […]

(Comments wont nest below this level)
 
Michael Says:

hi there, thanks a lot for your good work! your plugin appears on my “most-wanted” list ;-)

cheers,
michael

(Comments wont nest below this level)
 


14 0