For those not in the know, InterWiki is a mechanism supported in some Wikis where one can specify (in a configuration file for the site) a list of other wikis, and how to build the URL for a word on that wiki. Eg, “http://en.wikipedia.org/wiki/*TERM WITH SPACES REPLACED BY UNDERSCORES*”.
I’m finding myself linking to Wikipedia, and to my own site that (although not a wiki) has pages defining terms following a regular structure, and I’d quite like to be able to write:
…in the output.
I reckon this could generally coexist with Markdown and the like, too.
So I’m planning to write a plugin to do this. However, I’m not sure how best to allow the user to configure the thing, definining their favourite mappings. Do I just expect them to edit the plugin, and have a well-commented array at the top definining the mappings? Or should I make the plugin open a .csv file somehow and read that? Or look in the database, and then have to write an admin interface for it? Can such an admin interface tie seamlessly into WordPress’ own admin screens?
- You must be logged in to reply to this topic.