]>
CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
carstenklapp [Thu, 31 Oct 2002 03:28:31 +0000 (03:28 +0000)]
Removed new HTML::nbsp function, just use HTML::raw(' ').
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2404
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
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
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
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 " ". (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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
dairiki [Tue, 17 Sep 2002 20:11:37 +0000 (20:11 +0000)]
New pages to describe new plugins.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2374
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 19:32:11 +0000 (19:32 +0000)]
Cleanup javascript a bit. Comment out unused popup() javascript.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2373
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 19:30:23 +0000 (19:30 +0000)]
Clean up broken "please continue editing..." message.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2372
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 19:23:32 +0000 (19:23 +0000)]
Convert to using the new markup engine, even for old markup pages.
So far, the only bugs I know of (I'm sure there are more) are:
o Footnotes don't work quite the same (especially if there is
more than one reference to a footnote.) This could probably
be fixed, but I'm not sure it's worth it.
o There are issues having to do with "tight" vs "loose" lists.
Please let me know of any other problems you discover.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2371
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 19:19:53 +0000 (19:19 +0000)]
OldStyleTable's use new-style inline markup.
(You can only use this plugin in the new-style markup since
multiline plugin invocations aren't support undef old-style
markup.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2370
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 15:24:41 +0000 (15:24 +0000)]
New plugin OldStyleTable.
Allows the inclusion of old-markup style tables within new-markup pages.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2369
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 15:23:33 +0000 (15:23 +0000)]
Add $markup parameter to TransformInline() so that it can be used
to transform old-style inline markup as well as new.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2368
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 17 Sep 2002 06:42:43 +0000 (06:42 +0000)]
Revert from short actionbar back to longer
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2367
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 03:57:41 +0000 (03:57 +0000)]
Don't need src= arg hack. Just put quotes around the plugin argument,
like so:
<?plugin FrameInclude src="http://url.com/with funny chars 5.htm" ?>
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2366
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 03:34:06 +0000 (03:34 +0000)]
Add javascript code to resize the transclude iframes when the browser
window is resized.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2365
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 02:35:31 +0000 (02:35 +0000)]
Minor additions for use by the Transclude plugin.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2364
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 02:34:18 +0000 (02:34 +0000)]
Wups. Removed a bit of cruft...
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2363
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 02:26:20 +0000 (02:26 +0000)]
New Transclude plugin.
<?plugin Transclude src="http://some.where/some/page.html" ?>
will display the other page within the body of the wiki-page using
an <iframe>.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2362
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 17 Sep 2002 02:10:33 +0000 (02:10 +0000)]
Added a <br> to keep the "valid XHTML!" icons from "hanging off the
bottom of the screen".
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2361
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 16 Sep 2002 22:12:48 +0000 (22:12 +0000)]
Added support for named anchors within wiki-text.
Anchors are defined like this: here is #[anchor1].
You can reference it like this: please see [#anchor1].
You can also, of course, specify the text for the anchor (or the link).
Anchor two is #[here | anchor2].
Please see [above | #anchor2].
You can of course also link to [anchors on other pages | SandBox#demo ].
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2360
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 16 Sep 2002 21:51:18 +0000 (21:51 +0000)]
Change <form method="POST" ...> to <form method="post" ...> in order
to validate as valid XHTML.
(Or does this cause other problems?)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2359
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 16 Sep 2002 18:51:41 +0000 (18:51 +0000)]
Allow <em></em> tags.
Doc fixups.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2358
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 16 Sep 2002 18:49:51 +0000 (18:49 +0000)]
Documentation fixes.
Minor (probably premature) refactors.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2357
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 16 Sep 2002 18:49:17 +0000 (18:49 +0000)]
New method WikiRequst::fullPagename() to expand relative subpages to full
page name.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2356
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 16 Sep 2002 18:44:51 +0000 (18:44 +0000)]
Fix bug with external image links.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2355
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 15 Sep 2002 20:30:40 +0000 (20:30 +0000)]
ops. fixed typo
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2354
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 15 Sep 2002 20:21:16 +0000 (20:21 +0000)]
shorter actionbar, buuttons moved to info page
autosplit words in buttons
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2353
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 15 Sep 2002 20:17:58 +0000 (20:17 +0000)]
AutoSplit Buttons and links in navbar also
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2352
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 15 Sep 2002 17:28:27 +0000 (17:28 +0000)]
added jscript validation checks
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2351
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 15 Sep 2002 16:30:27 +0000 (16:30 +0000)]
more fixes. this version finally loads fine.
todo: validate input (fix javascript, add POST checks)
change tables to dl/dt to enable fold/unfold
start this automatically the first time
fix include_path
eval index-user.php or index.php to get the actual settings.
ask to store it in index.php or index-user.php
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2350
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 15 Sep 2002 16:17:37 +0000 (16:17 +0000)]
fixed some minor bugs.
preliminary new javascript code from Martin Geisler to validate input and to
fold/unfold parts. But before we have to get rid of the tables.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2349
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 15 Sep 2002 15:05:47 +0000 (15:05 +0000)]
fix that <?plugin-head is only invoked when it is the very first text.
(most likely ignoring the rest of the page, leaving that as a dustbin...)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2348
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 15 Sep 2002 06:14:32 +0000 (06:14 +0000)]
Minor bug fix. Don't urlencode spaces.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2347
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 15 Sep 2002 05:52:23 +0000 (05:52 +0000)]
Fixed so that wiki.listLinks() returns external as well as internal links.
Since the external links aren't currently stored in the link database,
we need to scan the page text for the links. We might as well pull the
internal links out from the same scan. (Commented out the old code
which queries the link db.)
Also fixed a couple bugs/features:
o wiki.listLinks() was listing backlinks not outgoing links.
o When urlencoding short strings we only really need to encode
the ascii control characters (which aren't allowed in XML 1.0 :-/)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2346
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 15 Sep 2002 05:45:09 +0000 (05:45 +0000)]
I was starting to hack together a counter part to ExtractWikiPageLinks()
to extract the external links (for the XML-RPC interface). In so doing,
discovered yet more bugs in the current ExtractWikiPageLinks().
(Bumpy words within raw URLs and interwiki links were being counted
as links when they shouldn't have been.)
So instead converted ExtractWikiPageLinks() to ExtractLinks() which finds
both internal and external links. ExtractWikiPageLinks() is now a wrapper
around ExtractLinks(). (Also new function ExtractExternalLinks() is another
wrapper.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2345
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 15 Sep 2002 03:56:22 +0000 (03:56 +0000)]
Documentation adjustments (starting to play with phpDocumentor).
No code changes.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2344
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 14 Sep 2002 22:58:06 +0000 (22:58 +0000)]
Fix for backlinks to pages with digits in their names bug.
(Really, the link extraction code should be unified with the
markup transformation code so that the two are guaranteed to
agree about what is a link and what's not.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2343
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 14 Sep 2002 22:28:33 +0000 (22:28 +0000)]
The main script will now notice when you're directing and XML-RPC
request at it (and act accordingly). (The method with be POST,
and the content-type will be text/xml.)
This makes the RPC2.php script obsolete, though I've left a vestigal
version for now... the XML-RPC server code has been moved into
the new file lib/XmlRpcServer.php.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2342
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 14 Sep 2002 22:23:36 +0000 (22:23 +0000)]
New method PhpError::asString() to get error message formatted as plain
string (rather than HTML.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2341
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 14 Sep 2002 20:12:33 +0000 (20:12 +0000)]
Change assert to trigger_error (so that it's not fatal)
And a bug fix
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2340
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 14 Sep 2002 18:46:25 +0000 (18:46 +0000)]
Updated to current CVS version of the php XMLRPC code.
Also added my patches to support the system.multicall method.
(For more on my patches, see:
http://sf.net/tracker/index.php?func=detail&aid=605246&group_id=34455&atid=411302
)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2339
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 14 Sep 2002 18:28:54 +0000 (18:28 +0000)]
A bug fix and code cleanup
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2338
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 12 Sep 2002 20:58:25 +0000 (20:58 +0000)]
aargh
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2337
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 12 Sep 2002 20:56:29 +0000 (20:56 +0000)]
oops. missed some fixes
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2336
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 12 Sep 2002 17:36:01 +0000 (17:36 +0000)]
fixed another DB_SESSION problem. Thanks to Martin Geisler
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2335
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 12 Sep 2002 17:05:27 +0000 (17:05 +0000)]
->_homepage error
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2334
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 12 Sep 2002 11:47:07 +0000 (11:47 +0000)]
new PEAR DB 1.3 backends plus the experimental PEAR DB_Pager
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2333
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 12 Sep 2002 11:45:33 +0000 (11:45 +0000)]
fixed DB_Session
new PEAR DB version 1.3
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2332
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 9 Sep 2002 15:41:29 +0000 (15:41 +0000)]
*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2331
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 9 Sep 2002 15:35:32 +0000 (15:35 +0000)]
fixed USE_DB_SESSION = false
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2330
96ab9672 -09ca-45d6-a79d-
3d69d39ca109