rurban [Fri, 7 Jan 2005 14:23:31 +0000 (14:23 +0000)]
PhpWiki 1.2.7 backport cvs release-1_2-branch enhancements never released with 1.2.3-1.2.6:
* full xhtml conformity
* split_pagename in title and header to help google
* "INSTALL.Mac OS X" added from cvs
* lib/zipfile.php: Content-Disposition: attachment
* lib/config.php, lib/stdlib.php: support new USE_LINK_ICONS and AUTOSPLIT_WIKIWORDS,
better i18n $!WikiNameRegexp
* re-added images/* LINK_ICONS, pre-calculate DATA_PATH
* locale/*: fix and update strings and templates esp. for german,
* index.php: urlparser extended to omit &start_debug=1 and other args
* added minor_edit checkbox
* print more meta tags: robots, favicon, language and PHPWIKI_VERSION
* dbalib: dba default detection for dba/dbm and take best handler, fix timeout logic,
improve error diagnostics: print errors after the first failing attempts
rurban [Fri, 7 Jan 2005 14:02:30 +0000 (14:02 +0000)]
2004-12-19 01:02 rurban
Release 1.2.6
* lib/db_filesystem: fix GetAllWikiPagenames() which broke TitleSearch and
Backlinks on flatfile. Thanks to Raj sf bug #1079662.
* lib/db_filesystem: add MostPopular functionality for flatfile.
* admin/zip.php: bump version number
rurban [Fri, 7 Jan 2005 14:00:00 +0000 (14:00 +0000)]
2004-11-28 19:19 rurban
Release 1.2.5
* admin.php, index.php, lib/config.php(global, compute_default_scripturl):
import _SERVER and _GET/_POST to support register_globals=off
* admin.php: on (un)lock=pagename display the (un)lock'ed page not FrontPage
* lib/pgsql.php, lib/config.php: add pg_user and pg_pass
(patch #1001339 by Jack Twilley)
* lib/dbalib.php, lib/dbmlib.php, lib/db_filesystem: fix GetAllWikiPagenames()
using $dbi['wiki']. This fixes zip and dumpserial on dba, dbm and file.
* lib/msql.php: typo in GetAllWikiPageNames().
This fixes zip and dumpserial on msql.
carstenklapp [Tue, 4 Dec 2001 21:32:06 +0000 (21:32 +0000)]
Removed split_pagename for the page's <h1> until a better solution can be found. This was causing the page name to incorrectly always be stored in the database with a space (%20) in the name, instead of just outputting the split page name in the html.
carstenklapp [Sun, 2 Dec 2001 21:36:43 +0000 (21:36 +0000)]
//define("USE_LINK_ICONS", 1); this turns on url indicator icons, inserted before embedded links to indicate the type of link.\r//define("DATA_PATH", "/wiki"); define this to point to the url which contains your /images directory.\r\r//define("autosplit_wikiwords", 1); option to automatically split WikiWords by inserting spaces for all WikiWords everywhere in a document.
carstenklapp [Sun, 2 Dec 2001 07:39:15 +0000 (07:39 +0000)]
//define("USE_LINK_ICONS", 1); this turns on url indicator icons, inserted before embedded links to indicate the type of link.\r\r//define("autosplit_wikiwords", 1); option to automatically split WikiWords by inserting spaces for all WikiWords everywhere in a document.
wainstead [Fri, 16 Nov 2001 01:22:27 +0000 (01:22 +0000)]
Fixed a bug with InitBackLinkSearch. Although I completely rewrote it,
it turned out to be just a scope issue, and an ampersand would
probably have fixed the original code. This implemetation is slightly
more efficient at the cost of a small amount of memory.
dairiki [Fri, 9 Nov 2001 17:08:27 +0000 (17:08 +0000)]
Renamed pgsrc files whose filenames contained non-ascii characters.
These files seemed to be giving certain CVS clients (Mac OS X) gas.
Note that there is nothing wrong with non-ASCII characters in
wiki-page names --- it's just that the wiki-page name should be
urlencode()ed for use as a file name.
dairiki [Wed, 7 Nov 2001 20:30:47 +0000 (20:30 +0000)]
Cleanups of quoting details in the searches.
This fixes, among other thing, SF bug #456863.
Depending on the backend searches for pages and/or page names
containing '/', '\', '%', and/or '_' all failed in some way
or another.
The fixes to lib/dbmlib.php are untested, but parallel those in
lib/dbalib.php, so should be okay.
The fixes in lib/pgsql.php, lib/msql.php, and lib/mssql.php are
also untested. They more or less parallel tested fixes in
lib/mysql.php, but it would probably be good if someone could
test them.
dairiki [Wed, 7 Nov 2001 18:58:14 +0000 (18:58 +0000)]
Fix SF bug #462168: hit count broken for pages with apostrophes in their names.
These fixes are untested, but they are entirely analogous to similar fixes
in mysql.php (which I have tested). Barring typos on my part, I think
they're unlikely to cause problems.
wainstead [Wed, 7 Nov 2001 03:23:24 +0000 (03:23 +0000)]
Added a new constant, DBM_FILE_TYPE, defaulting to 'gdbm'. It's
defined in config.php and used in dbalib.php. INSTALL now notes the
setting of this constant, and how a blank page can occur the first
time the user tries to view PhpWiki.
dairiki [Sun, 4 Nov 2001 03:46:10 +0000 (03:46 +0000)]
Fix bug reported by Roger Goun <roger@bcah.com>:
Wrap RCS $Id$ in call to rcs_id(). (In some cases (admin.php) we must
not emit any output until we've set some HTTP headers.)
Fixed bug: BackLinkSearchNextMatch needed the address of $res. It was
not incrementing $res[row] so it formed an infinite loop and phpwiki
would just time out.
wainstead [Sun, 26 Aug 2001 16:44:28 +0000 (16:44 +0000)]
Added PhpWikiAdministration to RecentChanges... this list should be
dynamic however. For that matter I'd rather have a totally automated
RecentChanges like UseMod does.
dairiki [Sat, 18 Aug 2001 05:09:09 +0000 (05:09 +0000)]
Fix SF bug #227748.
When using the flat-file back end, page names with slashes in them didn't work.
We fix this by urlencoding '%' '/' '\\' and ':' when they occur in page names.
WARNING: If any pages currently in your flat-file database contain any of
those characters in their titles, this change will make them invisible
to PhpWiki. You should back them up before upgrading, and restore them
after upgrading.
dairiki [Sat, 18 Aug 2001 03:57:27 +0000 (03:57 +0000)]
Fixed SF Bug #233898. (MySQL backend insensitive to case in page names.)
Note that this involves a change to the MySQL schema. A convenient
mysql script, schemas/update.mysql.1.2.0-1.2.1, is provided which can
be used to update your schema in-place.
dairiki [Sat, 18 Aug 2001 02:38:34 +0000 (02:38 +0000)]
Attempt to fix SF bug #413446.
I think this bug was due to using PHP's file() function to slurp in the
files (as an array of lines). The files, being serialized data, consist
of only one (sometimes very long) line. I think (at least in some PHPs)
this make the file() function unhappy.
Fixed to use fread() rather than file(). Also make sure to open files
in 'binary' mode.
dairiki [Sat, 18 Aug 2001 01:50:47 +0000 (01:50 +0000)]
Fixed SF Bug #414789
URLs like http://a.com/WikiWord were getting recognized as WikiWords
by ExtractWikiPageLinks, therefore resulting in erroneous entries
in the links table of those backends which have one.
dairiki [Sat, 18 Aug 2001 01:30:56 +0000 (01:30 +0000)]
Fix SF bug #418267.
Deeply nested lists resulted in a "Stack bounds exceeded in
SetHTMLOutputMode" fatal error. Now we just clamp the nesting
depth to 10 (eleven leading '*'s are treated as if there were
only ten of them.)
dairiki [Sat, 18 Aug 2001 00:35:10 +0000 (00:35 +0000)]
Added real back-link searches.
The pgsql and msql backends are completely untested at this point,
but they "should work". (I.e.: they're probably broken now.)
dairiki [Sat, 18 Aug 2001 00:34:27 +0000 (00:34 +0000)]
Added real back-link searches.
The pgsql and msql backends are completely untested at this point,
but they "should work". (I.e.: they're probably broken now.)
The msql back-link search is a bit buggy, and will not find links
if they are split between two records ("lines") in the page store.
(The proper remedy for this is to implement the links table in
the msql back end.)
Fix link to BuscarPagina.
(Reported by Aníbal Rojas <ard@valhallaproject.com>.)
Note the BuscarPagina should probably (I think) be renamed
to BuscarPágina. (PaginaPrincipal, as well as other pages
probably need to have accents added as well.)
dairiki [Thu, 1 Mar 2001 01:48:43 +0000 (01:48 +0000)]
SF Patch #404963:
Updated German pgsrc by Jörg Rathlev <jrathlev@users.sourceforge.net>
I've done some work to complete the german translation
of the files in locale/de/pgsrc/. I've also slightly
modified some of the already translated german pages.
The only pages I've not (yet) translated are GuterStil
(english GoodStyle - hard to do since it's only a
quotation), PhpWikiAdministration and WabiSabi. All
other pages are included in the attached zip archive.