Home » Text » Text_Wiki » Bug #2947
more flexible way to handle wikilinks
Details
| Request #2947 | more flexible way to handle wikilinks |
|---|---|
| Submitted | 2004-12-11 12:57 UTC |
| From | alaa at eglug dot org |
| Assigned | pmjones |
| Status | Closed |
| Package | Text_Wiki |
| PHP Version | 4.2.0 |
| Roadmaps | (Not assigned) |
Comments
[2004-12-11 12:57 UTC] alaa at eglug dot org
Description:
------------
sorry for sending this in two different places, not sure where it should go.
hi very impressed with TextWiki, trying to use it to implement some drupal
module (along with textDiff)
however the way TextWiki handles WikiLinks seems a bit inefficient for me,
is it possible to use a callback for this job instead of passing an array
of all pages?
when the client code configures the TexWiki object it would pass it a name
of a function, each time a WikiLink is encountered that function is called,
if it returns null its a new page, else it will return the URL (or a subset
of the url).
does this make sense to you?
----
Alaa