[ewiki] ewiki.php changes
- From: Andy Fundinger <Andy@xxxxxxxxxxx>
- To: ewiki@xxxxxxxxxxxxx
- Date: Fri, 27 Feb 2004 12:13:13 -0500
Jeff and I have made some changes to ewiki.php that I think we should
consider merging in, but I expect will take some disscussion:
1. Move $ewiki_t up above the init plugins loop so that these plugins,
particularly ewiki_binary() can use ewiki_t()
2. We moved $ewiki_data=&$data to the end of ewiki_page just before
unset($ewiki_data["content"]). This was done because we did not want
the data to be available if the auth call was failed. There was also a
problem if the binary handler was called. The problem with the binary
was that the binary handler would not know about $ewiki_data and could
not clean it up like ewiki_page does by unsetting the "content" field.
3. Inside ewiki_script() as part of the workaround for slashes in $id
an $asid is hardcoded to "view" I suggest using the EWIKI_DEFUALT_ACTION
constant.
I also posted a bug and fix to BugReports.
Andy
- Follow-Ups:
- [ewiki] Re: ewiki.php changes
- From: Mario Salzer
- References:
Other related posts:
- » [ewiki] ewiki.php changes
- » [ewiki] Re: ewiki.php changes
- » [ewiki] Re: ewiki.php changes
- [ewiki] Re: ewiki.php changes
- From: Mario Salzer