[ewiki] function ewiki_render_wiki_links(&$o) page pluginshandling
- From: Andy Fundinger <andy@xxxxxxxxxxx>
- To: "'ewiki@xxxxxxxxxxxxx'" <ewiki@xxxxxxxxxxxxx>
- Date: Wed, 31 Dec 2003 11:58:51 -0500
I don't understand a recent change to ewiki_render_wiki_links() in my
case-sensitive installation the new code to merge in the page plugins:
foreach ($ewiki_plugins["page"] as $page=>$uu) {
$ewiki_links[strtolower($page)] = "_d";
}
$ewiki_links = ewiki_array($ewiki_links);
causes page plugins to not be recognized as extant. They link properly but
are drawn with the "?". To my eye the old code was sufficent:
$ewiki_links = ewiki_array(array_merge(
$ewiki_links,
$ewiki_plugins["page"]
));
since ewiki_array() automatically lowercases the keys in accord with the
EWIKI_CASE_INSENSITIVE constant--in the new code this loop runs over the
already lowercased page keys.
Andy
- Follow-Ups:
- [ewiki] Re: function ewiki_render_wiki_links(&$o) page pluginshandling
- From: Mario Salzer
Other related posts:
- » [ewiki] function ewiki_render_wiki_links(&$o) page pluginshandling
- » [ewiki] Re: function ewiki_render_wiki_links(&$o) page pluginshandling
- [ewiki] Re: function ewiki_render_wiki_links(&$o) page pluginshandling
- From: Mario Salzer