[ewiki] function ewiki_render_wiki_links(&$o) page pluginshandling

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




Other related posts: