From: Jeff D. <da...@da...> - 2003-02-24 17:37:03
|
> My webspace provider has > only access through ftp and I got problems downloading > PhpWikiAdministration%2FRemove. I just tried uploading that file from Linux using both the 'ftp' and 'ncftp' ftp clients and had no problem. Maybe it's a problem with your provider's ftp server? > I have read in the > source that there is a new (zip file ) and an old stile > single files. Does this mean i have only to compress the > files to a zip file and put this info in index.php. Yes. That should work fine. I haven't tested it in awhile though, so who knows. (Caveat: If your PHP doesn't have zlib support, then PhpWiki can only read uncompressed zip files.) > What should i do with the localisated versions. Err... well... that may be a bit of a problem. The most straightforward thing to do would be to copy into one directory all of the pgsrc you want in your wiki. Then zip it into a zip file, upload the zip file, and point WIKI_PGSRC at that. Next set your DEFAULT_LANGUAGE to 'en', to keep PhpWiki from looking for the localized pgsrc at all. After you load up the wiki, you can set DEFAULT_LANGUAGE back to whatever you really want it to be. > Another question is should the default version not be the "new". It's more convenient to maintain/inspect pgsrc exploded in a directory than in a zip file. That's why we keep doing it that way. > I don't know how many other people get the same problems. I don't think it should be common. It sound like a real bug in something. One should be able to FTP file with %'s in their names. > Since I mentioned PhpWikiAdministration%2FRemove, what > should it do. If I try it on my server at home I got > if I remenber right "no pages selected" or something like > that. I just changed the default behavior so that it only lists pages which have been "deleted". ("Deleted" mean someone has edited the page and set the page content to the empty string --- when you do this, for most purposes PhpWiki treats the page as non-existent.) If you want it to list all pages add the arg min_age=-1. (Either as a query arg, or, if you want to change the default, edit PhpWikiAdministration/Remove and add "min_age||=-1" to the plugin args.) |