]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
SourceForge/phpwiki.git
21 years agoFix generated comment line not commented out, reported by Bob Apthorpe (insert newlin...
carstenklapp [Thu, 2 Jan 2003 20:14:53 +0000 (20:14 +0000)]
Fix generated comment line not commented out, reported by Bob Apthorpe (insert newline before comment text)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2475 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agotypo fix
wainstead [Thu, 2 Jan 2003 00:57:30 +0000 (00:57 +0000)]
typo fix

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2474 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFirst stab at a schema for a flat file based PhpWiki. Pre-pre-alpha.
wainstead [Thu, 2 Jan 2003 00:50:08 +0000 (00:50 +0000)]
First stab at a schema for a flat file based PhpWiki. Pre-pre-alpha.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2473 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFlat file database library, FFDB, for flat file support.
wainstead [Thu, 2 Jan 2003 00:31:13 +0000 (00:31 +0000)]
Flat file database library, FFDB, for flat file support.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2472 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoBugfixes: Fixed menu language selection (incorrect parameters to
carstenklapp [Tue, 31 Dec 2002 20:53:40 +0000 (20:53 +0000)]
Bugfixes: Fixed menu language selection (incorrect parameters to
$w->get_languages_select() & form input 'language' instead of 'lang').

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2471 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoUpdated "Info" button to "PageInfo" (two-word action-pages in effect again)
carstenklapp [Tue, 31 Dec 2002 20:05:49 +0000 (20:05 +0000)]
Updated "Info" button to "PageInfo" (two-word action-pages in effect again)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2470 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoCosmetic: Tweaked button padding to better accomodate text descenders; avoid overlapp...
carstenklapp [Tue, 31 Dec 2002 20:01:16 +0000 (20:01 +0000)]
Cosmetic: Tweaked button padding to better accomodate text descenders; avoid overlapping or touching buttons when the toolbar is wrapped (small browser window); prevent wrap of white-space in buttons (e.g. Sign In).

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2469 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoRemoved redundant buttons "PageHistory" "diff" "DebugInfo" (already in actionbar...
carstenklapp [Tue, 31 Dec 2002 19:56:33 +0000 (19:56 +0000)]
Removed redundant buttons "PageHistory" "diff" "DebugInfo" (already in actionbar.tmpl)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2468 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoCosmetic: move logo up one line to fix collision with body
carstenklapp [Tue, 31 Dec 2002 19:54:07 +0000 (19:54 +0000)]
Cosmetic: move logo up one line to fix collision with body

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2467 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAdded an if() to test for the existence of the dba_ library. Give the user
wainstead [Tue, 31 Dec 2002 02:32:28 +0000 (02:32 +0000)]
Added an if() to test for the existence of the dba_ library. Give the user
an error message. This needs some improvement so the user gets more info,
but it's a start... and an improvement over the basic PHP error.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2466 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoUpdated the version number release-1_3_4
wainstead [Tue, 31 Dec 2002 01:13:14 +0000 (01:13 +0000)]
Updated the version number

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2464 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAdded plugin version function.
carstenklapp [Mon, 30 Dec 2002 23:49:35 +0000 (23:49 +0000)]
Added plugin version function.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2463 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoGettext-ify description & small bugfix.
carstenklapp [Mon, 30 Dec 2002 21:13:34 +0000 (21:13 +0000)]
Gettext-ify description & small bugfix.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2462 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoNew plugin: Lists available plugins with page links & descriptions.
carstenklapp [Mon, 30 Dec 2002 11:52:20 +0000 (11:52 +0000)]
New plugin: Lists available plugins with page links & descriptions.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2461 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoImproved error message when PHP Weather is not yet installed or configured.
carstenklapp [Sun, 29 Dec 2002 03:16:42 +0000 (03:16 +0000)]
Improved error message when PHP Weather is not yet installed or configured.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2460 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAdded usage info & arguments, renamed from ExternalSearch to ExternalSearchPlugin.
carstenklapp [Sun, 29 Dec 2002 03:00:39 +0000 (03:00 +0000)]
Added usage info & arguments, renamed from ExternalSearch to ExternalSearchPlugin.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2459 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoupdated php.net
carstenklapp [Sun, 29 Dec 2002 02:55:51 +0000 (02:55 +0000)]
updated php.net

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2458 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMartin Geisler's fix for new markup checkbox (page reverting to old markup when edited).
carstenklapp [Sun, 29 Dec 2002 02:51:31 +0000 (02:51 +0000)]
Martin Geisler's fix for new markup checkbox (page reverting to old markup when edited).

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2457 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoadded rcs ids and pgsrc_version to remaining pages
carstenklapp [Sun, 29 Dec 2002 00:32:34 +0000 (00:32 +0000)]
added rcs ids and pgsrc_version to remaining pages

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2456 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoversion tag was broken
wainstead [Sat, 28 Dec 2002 22:15:34 +0000 (22:15 +0000)]
version tag was broken

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2455 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAdded a sentence describing what the user is looking at.
wainstead [Sat, 28 Dec 2002 22:04:45 +0000 (22:04 +0000)]
Added a sentence describing what the user is looking at.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2454 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoPlugin now traps the include error when phpweather.php is not installed. Tested with...
carstenklapp [Sat, 28 Dec 2002 01:32:01 +0000 (01:32 +0000)]
Plugin now traps the include error when phpweather.php is not installed. Tested with cvs version of PhpWeather.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2453 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoadded translator's comments about French punctuation
carstenklapp [Tue, 17 Dec 2002 21:12:12 +0000 (21:12 +0000)]
added translator's comments about French punctuation

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2452 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoHack up French and German translations for "Use old markup".
dairiki [Tue, 17 Dec 2002 18:34:51 +0000 (18:34 +0000)]
Hack up French and German translations for "Use old markup".

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2451 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoRemove dependency on non-existent file.
dairiki [Tue, 17 Dec 2002 18:33:24 +0000 (18:33 +0000)]
Remove dependency on non-existent file.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2450 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoPatches from Matti Airas:
dairiki [Tue, 17 Dec 2002 18:32:50 +0000 (18:32 +0000)]
Patches from Matti Airas:
Change 'use new markup' checkbox on editpage form to 'use old markup'.
Fancy DHTML old/new edit help.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2449 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix bad pagename= meta-data.
dairiki [Tue, 17 Dec 2002 18:16:57 +0000 (18:16 +0000)]
Fix bad pagename= meta-data.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2448 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoupdated version numbers & rebuild locales
carstenklapp [Sun, 15 Dec 2002 02:34:53 +0000 (02:34 +0000)]
updated version numbers & rebuild locales

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2447 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agominor gettext adjustments
carstenklapp [Sun, 15 Dec 2002 01:55:30 +0000 (01:55 +0000)]
minor gettext adjustments

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2446 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoGettext adjustments for French punctuation
carstenklapp [Sun, 15 Dec 2002 01:39:15 +0000 (01:39 +0000)]
Gettext adjustments for French punctuation

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2445 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoremove accidentally committed code
carstenklapp [Sun, 15 Dec 2002 01:38:35 +0000 (01:38 +0000)]
remove accidentally committed code

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2444 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoGettext adjustments for French punctuation
carstenklapp [Sun, 15 Dec 2002 01:30:47 +0000 (01:30 +0000)]
Gettext adjustments for French punctuation

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2443 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoHack: suppress error when using sql, so no timeout. Minor gettext adjustments.
carstenklapp [Sat, 14 Dec 2002 23:20:10 +0000 (23:20 +0000)]
Hack: suppress error when using sql, so no timeout. Minor gettext adjustments.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2442 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoRetain custom header info when rebuilding english po/phpwiki/pot. Regenerated deps.
carstenklapp [Sat, 14 Dec 2002 23:15:55 +0000 (23:15 +0000)]
Retain custom header info when rebuilding english po/phpwiki/pot. Regenerated deps.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2441 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoPatch from Matti Airas:
dairiki [Sat, 14 Dec 2002 16:21:46 +0000 (16:21 +0000)]
Patch from Matti Airas:

Attempts to solve the garbled/empty page problems by only
enabling ob_gzhandler for PHP >= 4.2.3.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2440 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoconverted shading to alpha channels
carstenklapp [Wed, 11 Dec 2002 08:29:58 +0000 (08:29 +0000)]
converted shading to alpha channels

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2439 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix to recognize '<BR>' as well as '<br>' (and '%%%') for line-break.
dairiki [Mon, 25 Nov 2002 22:51:37 +0000 (22:51 +0000)]
Fix to recognize '<BR>' as well as '<br>' (and '%%%') for line-break.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2438 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFixes so that one can prevent trailing colons (and trailing pipes)
dairiki [Mon, 25 Nov 2002 22:25:49 +0000 (22:25 +0000)]
Fixes so that one can prevent trailing colons (and trailing pipes)
as being the introduction of <dl>s by prefixing with '~'.  E.g.

   Here's a list of some stuff~:
    # Something.
    # Something else.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2437 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMore from Martin Geisler:
dairiki [Mon, 25 Nov 2002 20:28:04 +0000 (20:28 +0000)]
More from Martin Geisler:

  Updates to PhpWeather plugin.  It will now only work with
  recent versions of phpweather.  (Tested with phpweather-2.0.0.)

  New pgsrc/PhpWeatherPlugin.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2436 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoPatches (for 'wrap' option?) by Martin Geisler.
dairiki [Mon, 25 Nov 2002 19:53:23 +0000 (19:53 +0000)]
Patches (for 'wrap' option?) by Martin Geisler.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2435 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoPgsrc converted to new markup by Martin Geisler.
dairiki [Mon, 25 Nov 2002 19:44:03 +0000 (19:44 +0000)]
Pgsrc converted to new markup by Martin Geisler.
Other highlights:
  New page: PhpHightlightPlugin
  TestPage renamed to OldMarkupTestPage.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2434 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFixes for nestled markup bugs reported by Martin Geisler.
dairiki [Fri, 22 Nov 2002 23:22:54 +0000 (23:22 +0000)]
Fixes for nestled markup bugs reported by Martin Geisler.

Allow nestled markup within (*parentheses*).

Refactor/fix code for _*nested* nestled_ markup.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2433 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix from Martin Geisler for overly aggresive
dairiki [Fri, 22 Nov 2002 21:41:09 +0000 (21:41 +0000)]
Fix from Martin Geisler for overly aggresive
inline image and link icon detection.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2432 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoBug fix:
dairiki [Thu, 21 Nov 2002 18:07:32 +0000 (18:07 +0000)]
Bug fix:
Escape character (~) wasn't being de-escaped within
SimpleMarkup's (links, etc...)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2431 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years ago'?' is punctuation too!
dairiki [Wed, 20 Nov 2002 15:22:54 +0000 (15:22 +0000)]
'?' is punctuation too!

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2430 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix for bug: "orange" -> "or ange" -> "or AND ange".
dairiki [Tue, 19 Nov 2002 19:08:14 +0000 (19:08 +0000)]
Fix for bug: "orange" -> "or ange" -> "or AND ange".
(Reported by Marjorie Roswell.)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2429 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix fatal error: theme was not being initialized for users who were not logged in...
carstenklapp [Tue, 19 Nov 2002 07:07:38 +0000 (07:07 +0000)]
Fix fatal error: theme was not being initialized for users who were not logged in and trying to perform an action.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2428 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agocleanup leftover experimental code
carstenklapp [Fri, 15 Nov 2002 00:32:01 +0000 (00:32 +0000)]
cleanup leftover experimental code

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2427 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years ago(oops) initializeTheme() after initializeLang() for non-english image button aliases...
carstenklapp [Thu, 14 Nov 2002 22:54:01 +0000 (22:54 +0000)]
(oops) initializeTheme() after initializeLang() for non-english image button aliases like "Lock Page"

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2426 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoupdate_locale() now called in main.php so site default language doesn't clobber user...
carstenklapp [Thu, 14 Nov 2002 22:28:03 +0000 (22:28 +0000)]
update_locale() now called in main.php so site default language doesn't clobber user's lang

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2425 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMoved call to update_locale() here from WikiUser
carstenklapp [Thu, 14 Nov 2002 22:09:46 +0000 (22:09 +0000)]
Moved call to update_locale() here from WikiUser

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2424 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoSettings for user language and theme default to Wiki global settings instead of ...
carstenklapp [Thu, 14 Nov 2002 22:08:05 +0000 (22:08 +0000)]
Settings for user language and theme default to Wiki global settings instead of 'en' and 'default'. Moved call to update_locale() into main.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2423 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoIndicate system defaults and calculate popup selections using DEFAULT_LANGUAGE and...
carstenklapp [Thu, 14 Nov 2002 21:56:53 +0000 (21:56 +0000)]
Indicate system defaults and calculate popup selections using DEFAULT_LANGUAGE and THEME (instead of indicating & comparing against user's own chosen settings). Some rewording to avoid confusion between the Wiki's default theme and PhpWiki's theme named "default".

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2422 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoalternate admin button (replaces PhpWikiAdministration.png as default)
carstenklapp [Thu, 14 Nov 2002 06:15:01 +0000 (06:15 +0000)]
alternate admin button (replaces PhpWikiAdministration.png as default)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2421 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix for _*bold-italic*_ and *_bold-italic_*.
dairiki [Tue, 12 Nov 2002 22:42:10 +0000 (22:42 +0000)]
Fix for _*bold-italic*_ and *_bold-italic_*.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2420 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoCosmetic fix of sample iso-8859-1 characters on login screen when CHARSET!==iso-8859...
carstenklapp [Mon, 11 Nov 2002 14:24:46 +0000 (14:24 +0000)]
Cosmetic fix of sample iso-8859-1 characters on login screen when CHARSET!==iso-8859-1 (also started on a possible hook to ALLOW_NONWIKIWORD_LOGINS, and hook to include Japanese words in sample when CHARSET==utf-8).

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2419 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMore cleanup of extra font tags. Warning for invalid color arguments (but still produ...
carstenklapp [Fri, 8 Nov 2002 18:33:12 +0000 (18:33 +0000)]
More cleanup of extra font tags. Warning for invalid color arguments (but still produces invalid html). Restore previous php.ini colors at end of plugin (for multiple plugin invocations on one page).

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2418 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix for variable $has_old_php doesn't exist with phpversion() >= 4.2.0.
carstenklapp [Fri, 8 Nov 2002 12:32:30 +0000 (12:32 +0000)]
Fix for variable $has_old_php doesn't exist with phpversion() >= 4.2.0.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2417 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoupdated action button
carstenklapp [Fri, 8 Nov 2002 06:35:06 +0000 (06:35 +0000)]
updated action button

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2416 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAnother adjustment of nestled emphasis regexp to
dairiki [Thu, 7 Nov 2002 20:58:25 +0000 (20:58 +0000)]
Another adjustment of nestled emphasis regexp to
allow trailing punctuation.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2415 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agouse unix line endings (doh)
carstenklapp [Mon, 4 Nov 2002 19:29:40 +0000 (19:29 +0000)]
use unix line endings (doh)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2414 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAdded options to retrieve forward links. See the new PhpWikiDocumentation page for...
carstenklapp [Mon, 4 Nov 2002 19:17:16 +0000 (19:17 +0000)]
Added options to retrieve forward links. See the new PhpWikiDocumentation page for an example.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2413 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agofix: for html tag cleanup use new $default instead of ini_get("highlight.default").
carstenklapp [Mon, 4 Nov 2002 17:42:19 +0000 (17:42 +0000)]
fix: for html tag cleanup use new $default instead of ini_get("highlight.default").

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2412 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoUse SiteMap plugin to create a nice table of contents.
carstenklapp [Mon, 4 Nov 2002 07:04:05 +0000 (07:04 +0000)]
Use SiteMap plugin to create a nice table of contents.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2411 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoreformat source
carstenklapp [Mon, 4 Nov 2002 06:48:46 +0000 (06:48 +0000)]
reformat source

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2410 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoimplemented exclude argument
carstenklapp [Mon, 4 Nov 2002 06:45:48 +0000 (06:45 +0000)]
implemented exclude argument

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2409 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMartin Geisler's PhpHighlight plugin. Added compatibility for PHP < 4.2.0, where...
carstenklapp [Mon, 4 Nov 2002 03:21:03 +0000 (03:21 +0000)]
Martin Geisler's PhpHighlight plugin. Added compatibility for PHP < 4.2.0, where the highlight_string() function has no second argument, and added the ability to override colors defined in 'php.ini' via plugin arguments.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2408 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAllow plugins to override how cruft in plugin args are handled (see PhpHighlight...
carstenklapp [Mon, 4 Nov 2002 03:15:59 +0000 (03:15 +0000)]
Allow plugins to override how cruft in plugin args are handled (see PhpHighlight plugin). There may be a better way to do this...

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2407 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoSync with http://usemod.com/intermap.txt (38 new entries, 2 changed, 0 removed).
carstenklapp [Fri, 1 Nov 2002 19:15:17 +0000 (19:15 +0000)]
Sync with http://usemod.com/intermap.txt (38 new entries, 2 changed, 0 removed).

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2406 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFrom Matti Airas <mairas@iki.fi>:
dairiki [Fri, 1 Nov 2002 16:49:29 +0000 (16:49 +0000)]
From Matti Airas <mairas@iki.fi>:
 Fix bug: old-style dl's with multiple colons.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2405 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoRemoved new HTML::nbsp function, just use HTML::raw('&nbsp;').
carstenklapp [Thu, 31 Oct 2002 03:28:31 +0000 (03:28 +0000)]
Removed new HTML::nbsp function, just use HTML::raw('&nbsp;').

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2404 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMinor fix to pass validator at
dairiki [Wed, 30 Oct 2002 23:19:04 +0000 (23:19 +0000)]
Minor fix to pass validator at
http://feeds.archive.org/validator/

Language is 'en-US' rather than 'EN-us'.

Todo: should get language from configuration, rather than using
a hard-coded value.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2403 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMinor fixes so that generated RSS 1.0 passes validation at
dairiki [Wed, 30 Oct 2002 23:14:28 +0000 (23:14 +0000)]
Minor fixes so that generated RSS 1.0 passes validation at
http://feeds.archive.org/validator/

To wit:

  Use 'description' rather than 'dc:description' for channel
  description.

  Give absolute URL to image (icon).

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2402 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoReplaced NBSP constant with a new nbsp() function. The return value of HTML::nbsp...
carstenklapp [Tue, 29 Oct 2002 01:12:24 +0000 (01:12 +0000)]
Replaced NBSP constant with a new nbsp() function. The return value of HTML::nbsp() depends on the CHARSET in index.php. It provides the utf-8 and iso-8859-1 non-breaking spaces, and for any other charset it falls back to the html-entity "&nbsp;". (Maybe this should just always output an html entity? We currently use a raw "\xA0" character for iso-8859-1 so this value was left as is.)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2401 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoConvertOldMarkup(): Wups. I broke footnote conversion. Now I think
dairiki [Sat, 19 Oct 2002 21:04:58 +0000 (21:04 +0000)]
ConvertOldMarkup(): Wups.  I broke footnote conversion. Now I think
it is working again.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2400 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoBug fix: ConvertOldMarkup was mangling empty single-quotes in
dairiki [Sat, 19 Oct 2002 20:56:19 +0000 (20:56 +0000)]
Bug fix: ConvertOldMarkup was mangling empty single-quotes in
plugin invocations.  (Resulting in e.g. broken BackLinks.)

Hopefully I haven't hosed something else.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2399 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix for remove page bug when USE_PATH_INFO is false.
dairiki [Sat, 19 Oct 2002 16:40:29 +0000 (16:40 +0000)]
Fix for remove page bug when USE_PATH_INFO is false.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2398 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoCredits correction
zorloc [Wed, 16 Oct 2002 18:09:14 +0000 (18:09 +0000)]
Credits correction

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2397 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoInitial split of index.php into three files: index.php (index2.php here to prevent...
zorloc [Wed, 16 Oct 2002 16:37:05 +0000 (16:37 +0000)]
Initial split of index.php into three files: index.php (index2.php here to prevent breakage) config/config-dist.php config/config-user.php.  Note: this will break configurator.php.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2396 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAdded functionality to WikiRequest->getPage to be able to pull different page names...
zorloc [Tue, 15 Oct 2002 18:42:21 +0000 (18:42 +0000)]
Added functionality to WikiRequest->getPage to be able to pull different page names but will pull current by default

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2395 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAllow external url redirection only on locked pages.
carstenklapp [Mon, 14 Oct 2002 16:28:13 +0000 (16:28 +0000)]
Allow external url redirection only on locked pages.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2394 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoUpdated english Info page & plugin to be a WikiWord to match recent changes to action...
carstenklapp [Mon, 14 Oct 2002 14:43:23 +0000 (14:43 +0000)]
Updated english Info page & plugin to be a WikiWord to match recent changes to actionPage code

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2393 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMissed a ). Oops
lakka [Sat, 12 Oct 2002 19:45:00 +0000 (19:45 +0000)]
Missed a ).  Oops

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2392 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAdded RSS Auto-discover - see comments for details
lakka [Sat, 12 Oct 2002 19:11:44 +0000 (19:11 +0000)]
Added RSS Auto-discover - see comments for details

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2391 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix error msg: Use of undefined constant HomePage - assumed 'HomePage'.
carstenklapp [Sat, 12 Oct 2002 09:47:05 +0000 (09:47 +0000)]
Fix error msg: Use of undefined constant HomePage - assumed 'HomePage'.
For now avoid links inside summary in the mozilla sidebar, they would target the sidebar instead of the main frame.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2390 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix for "==Object(wikipagename)==" displaying instead of page name for unknown links.
carstenklapp [Sat, 12 Oct 2002 08:55:03 +0000 (08:55 +0000)]
Fix for "==Object(wikipagename)==" displaying instead of page name for unknown links.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2389 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFixed a couple typos in variable names, theme switching works now
carstenklapp [Sat, 12 Oct 2002 08:52:06 +0000 (08:52 +0000)]
Fixed a couple typos in variable names, theme switching works now

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2388 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix to avoid PHP Warning, "Notice[8]: Use of undefined constant DEBUG - assumed ...
carstenklapp [Thu, 10 Oct 2002 00:18:01 +0000 (00:18 +0000)]
Fix to avoid PHP Warning, "Notice[8]: Use of undefined constant DEBUG - assumed 'DEBUG'"

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2387 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFrom Martin Geisler:
dairiki [Sun, 6 Oct 2002 16:45:10 +0000 (16:45 +0000)]
From Martin Geisler:

Fix so that link icons don't get seperated from their link
(due to line-wrapping.)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2386 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agodefault auth_dsn on same db
rurban [Fri, 27 Sep 2002 13:40:34 +0000 (13:40 +0000)]
default auth_dsn on same db

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2385 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agonew experimental plugin by Paul Pearson <wandrer@glcomputers.com>,
rurban [Fri, 27 Sep 2002 13:27:17 +0000 (13:27 +0000)]
new experimental plugin by Paul Pearson <wandrer@glcomputers.com>,
  improved to store a single cookie only, and invisible parameter added

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2384 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMichaelVanDam's new experimental EditMetaData plugin, plus array support
rurban [Fri, 27 Sep 2002 10:55:45 +0000 (10:55 +0000)]
MichaelVanDam's new experimental EditMetaData plugin, plus array support
and restricted to WikiAdmin.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2383 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAdded some PHPDoc comments
zorloc [Tue, 24 Sep 2002 01:12:28 +0000 (01:12 +0000)]
Added some PHPDoc comments

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2382 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMinor cleanup/refactors.
dairiki [Wed, 18 Sep 2002 22:11:21 +0000 (22:11 +0000)]
Minor cleanup/refactors.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2381 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoAlways use the english version of the ActionPage name for the
dairiki [Wed, 18 Sep 2002 19:29:44 +0000 (19:29 +0000)]
Always use the english version of the ActionPage name for the
action query arg.

Upon receipt of the request, PhpWiki tries to find a translated
version of the requested ActionPage, first checking under the
users preferred language, then under the wiki's default language.
If neither translation is found, we fall back to the
english version.

This solves two problems:
 o If a user change his language preference, before the change,
   the translated action page may not exist.  It used to be this
   broke the wiki, now we revert to the actionpage in the default
   language of the wiki.
 o It fixes the single-word Historique action page problem.
   (English action pages must still be WikiWords.  But as
   noted on phpwiki-talk, this does not seem to be an unreasonable
   restriction.)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2380 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoPostpone NOTICEs even when DEBUG is set.
dairiki [Wed, 18 Sep 2002 19:23:25 +0000 (19:23 +0000)]
Postpone NOTICEs even when DEBUG is set.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2379 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoMinor cleanup of preference setting code for theme and language
dairiki [Wed, 18 Sep 2002 18:35:24 +0000 (18:35 +0000)]
Minor cleanup of preference setting code for theme and language
preferences.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2378 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoClean up language/locale setting code.
dairiki [Wed, 18 Sep 2002 18:34:13 +0000 (18:34 +0000)]
Clean up language/locale setting code.
I'm sure I broke something (sorry), but it really was a mess.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2377 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoNew function MangleXmlIdentifier() used to ensure that the ids used
dairiki [Wed, 18 Sep 2002 15:17:12 +0000 (15:17 +0000)]
New function MangleXmlIdentifier() used to ensure that the ids used
for named anchors (fragment identifiers) are valid XML fragment
identifiers ([A-Za-z][A-Za-z0-9:._-]*).

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2376 96ab9672-09ca-45d6-a79d-3d69d39ca109

21 years agoFix so that warnings/errors are included within Content-Length.
dairiki [Tue, 17 Sep 2002 23:26:09 +0000 (23:26 +0000)]
Fix so that warnings/errors are included within Content-Length.
Was causing problems with some XML-RPC clients.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2375 96ab9672-09ca-45d6-a79d-3d69d39ca109