]>
CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
dairiki [Thu, 27 Feb 2003 23:55:52 +0000 (23:55 +0000)]
Clean up <br clear="all" style="clear: both;" /> tags.
This rage was triggered by one in editpage.tmpl which used clear="both",
which is not valid HTML. Then I figured might as well use a class for them
and make them all consistent.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2683
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 23:23:38 +0000 (23:23 +0000)]
Fix my breakage of CSS and sidebar RecentChanges output.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2682
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 22:48:44 +0000 (22:48 +0000)]
Fixes invalid HTML generated by PageHistory plugin.
(<noscript> is block-level and not allowed within <p>.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2681
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 22:47:27 +0000 (22:47 +0000)]
New functions in HtmlElement:
JavaScript($js)
Helper for generating javascript.
IfJavaScript($if_content, $else_content)
Helper for generating
<script>document.write('...')</script><noscript>...</noscript>
constructs.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2680
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 21:15:14 +0000 (21:15 +0000)]
Javascript fix.
Fix so that you can never have more than two checkboxes checked. (If this
happens, all but the current checkbox are unchecked.)
It used to be that one could view a PageHistory, check two boxes to view
a diff, then hit the back button. (The originally checked two boxes are
still checked at this point.) Checking a third box resulted in viewing
a diff between a quasi-random pair of versions selected from the three
which were selected. Now clicking the third box results in the first
two being unchecked.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2679
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 20:10:31 +0000 (20:10 +0000)]
Disable profiling output when DEBUG is defined but false.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2678
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 27 Feb 2003 20:02:47 +0000 (20:02 +0000)]
Fix HTTP validator bug (Last-Modified times for pages with plugins
were wrong.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2677
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 23:59:48 +0000 (23:59 +0000)]
Fixes from Todd Mokros for linkUnknownWikiWord in MacOSX and Portland themes.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2676
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 22:32:06 +0000 (22:32 +0000)]
Wups. Delete disused cruft.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2675
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 22:27:22 +0000 (22:27 +0000)]
Fix and refactor FrameInclude plugin (more or less).
(This should now generate valid HTML. Woohoo!)
The output when using the Sidebar theme is ugly enough that it should
be considered broken. (But the Sidebar theme appears pretty broken in
general right now.)
(Personal comment (not to be taken personally): I must say that I
remain unconvinced of the usefulness of this plugin.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2674
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 17:17:52 +0000 (17:17 +0000)]
Patch from Todd Mokros:
This fixes "PHP Fatal error: Call to undefined function: gettag() in
lib/BlockParser.php", when including plugins in a list.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2673
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 03:40:22 +0000 (03:40 +0000)]
New action=create. Essentially the same as action=edit, except that if the
page already exists, it falls back to action=browse.
This is for use in the "question mark" links for unknown wiki words
to avoid problems and confusion when following links from stale pages.
(If the "unknown page" has been created in the interim, the user probably
wants to view the page before editing it.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2672
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 02:55:53 +0000 (02:55 +0000)]
New config settings in index.php to control cache control strictness.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2671
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 01:56:53 +0000 (01:56 +0000)]
Tuning/fixing of POST action URLs and hidden inputs.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2670
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 01:56:05 +0000 (01:56 +0000)]
Only zip pages with legal pagenames.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2669
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 00:39:30 +0000 (00:39 +0000)]
Bug fix: for magic PhpWiki URLs, "lock page to enable link" message was
being displayed at incorrect times.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2668
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 00:25:28 +0000 (00:25 +0000)]
Use new checking functionality of class WikiPageName to find
bad page names.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2667
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 26 Feb 2003 00:10:26 +0000 (00:10 +0000)]
More/better/different checks for bad page names.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2666
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 25 Feb 2003 22:19:46 +0000 (22:19 +0000)]
Add some sanity checking for pagenames.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2665
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 25 Feb 2003 20:13:57 +0000 (20:13 +0000)]
Fix so that SQL tables get unlocked upon SQL error.
This prevents hanging the whole web/sql server when using
persistent SQL connections.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2664
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 25 Feb 2003 05:45:34 +0000 (05:45 +0000)]
Added "See: " in front of url, so for browsers that do not support
<iframe> at least there is an indication to the user that this
plugin is actually doing something while at the same time without
being (subjectively) too disruptive to page content.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2663
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 24 Feb 2003 22:41:57 +0000 (22:41 +0000)]
Fix stupid typo.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2662
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 24 Feb 2003 22:06:18 +0000 (22:06 +0000)]
Attempts to fix auto-selection of printer CSS when printing.
See new comments lib/Theme.php for more details.
Also see SF patch #669563.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2661
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 24 Feb 2003 22:04:45 +0000 (22:04 +0000)]
Bug fix.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2660
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 24 Feb 2003 19:38:04 +0000 (19:38 +0000)]
Get rid of unused method Request::debugVars().
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2659
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 24 Feb 2003 14:34:44 +0000 (14:34 +0000)]
Added iframe title (bobby.org accessibility guidelines).
Simplified output for non-iframe and non-visual browsers (as suggested
by http://www.uwosh.edu/programs/accessibility/tutorial.html).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2658
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 24 Feb 2003 02:05:43 +0000 (02:05 +0000)]
Fix "n bytes written" message when dumping HTML.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2657
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 24 Feb 2003 01:53:28 +0000 (01:53 +0000)]
Bug fix. Don't need to urldecode pagenames in WikiDB_backend_file_iter.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2656
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 24 Feb 2003 01:36:27 +0000 (01:36 +0000)]
Don't use PHPWIKI_DIR unless it's defined.
(Also typo/bugfix in SystemInfo plugin.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2655
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 24 Feb 2003 01:18:19 +0000 (01:18 +0000)]
First argument of trigger_error must be a string (or stringable).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2654
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 24 Feb 2003 00:56:53 +0000 (00:56 +0000)]
Updated to work with recent changes to WikiLink function (fix "==Object(wikipagename)==" for unknown wiki links).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2653
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 24 Feb 2003 00:40:09 +0000 (00:40 +0000)]
PHP's closing tag \?\> within // cvs log comments caused the trailing comments to display as literal text on the PluginManager page.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2652
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 23 Feb 2003 22:43:35 +0000 (22:43 +0000)]
Fix to allow empty labels for anchors. E.g. #[|Anchor 1] which should
result in an invisible anchor.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2651
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 23 Feb 2003 20:10:48 +0000 (20:10 +0000)]
Disable currently broken plugin to prevent fatal PHP errors.
(Sorry.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2650
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 23 Feb 2003 20:06:58 +0000 (20:06 +0000)]
Fix for PHP warning.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2649
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 23 Feb 2003 19:55:21 +0000 (19:55 +0000)]
Fix for PHP warning.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2648
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 23 Feb 2003 18:58:42 +0000 (18:58 +0000)]
Fixes for SF bug #657661.
(Postgres' LIKE seems to always be case sensitive, but postgres has
the ILIKE operator for caseless matching.)
I suspect, but I'm not sure, that this might still be an issue
for the ADODB backend. If anyone can check that out, please do.
(I don't have access to a postgres database for testing at present.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2647
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sun, 23 Feb 2003 03:37:05 +0000 (03:37 +0000)]
Stupid typo/bug fix.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2646
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 21:39:05 +0000 (21:39 +0000)]
Hackish fix for SF bug #622784.
(The root of the problem is clearly a PHP bug.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2645
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 21:15:54 +0000 (21:15 +0000)]
Fix for SF bug #630700
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2644
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 21:06:10 +0000 (21:06 +0000)]
Fixed SF bug #630747.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2643
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 20:49:56 +0000 (20:49 +0000)]
Fixes for "Call-time pass by reference has been deprecated" errors.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2642
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 20:25:44 +0000 (20:25 +0000)]
Delete unused (and unnecessary) sanify_input cruft.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2641
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 19:43:50 +0000 (19:43 +0000)]
Fix comment regarding connecting to SQL server over a unix socket.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2640
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 19:21:47 +0000 (19:21 +0000)]
If DATA_PATH is not defined (by user in index.php), then use
relative URLs to data.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2639
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 18:53:40 +0000 (18:53 +0000)]
Renamed method Request::compress_output to Request::buffer_output.
Added config option to disable compression.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2638
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 00:28:34 +0000 (00:28 +0000)]
Bogus page names weren't being deleted by "Excorcise WikiDB" button.
(WikiAdminUtils)
Clarify docs date backend::delete_page is responsible for cleaning
out the link database, too. (dbaBase was not doing that.)
Minor buglet/typos fixed in PearDB.php and ADODB.php.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2637
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 22 Feb 2003 00:26:14 +0000 (00:26 +0000)]
Minor changes while figuring out why bogus pages weren't being deleted.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2636
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 23:33:29 +0000 (23:33 +0000)]
Set alt="" on the link icon image tags.
(See SF bug #675141.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2635
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 23:01:11 +0000 (23:01 +0000)]
Fixes to support new $basepage argument of WikiPlugin::run().
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2634
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 23:00:35 +0000 (23:00 +0000)]
Fix SF bug #676309.
Also fix new bugs introduced with cached markup changes.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2633
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 22:59:00 +0000 (22:59 +0000)]
Add new argument $basepage to WikiPlugin::run() and WikiPluginLoader::expandPI().
Plugins need to know what page they were invoked from so that they can handle
relative page links (like [/Subpage]) correctly. ($request->getArg('pagename')
is not always the right page to use --- think included pages...)
Many plugins don't need the $basepage, in which case, I think they can just ignore
the extra argument. (I don't think PHP will generate any warnings.)
Also: deleted <?plugin-head?> code. It's not needed any more, now that
we always cache output.
The FrameInclude plugin seems broken now, though I'm not convinced it's
my fault. If it is, sorry... (I'll try to look at it a bit more
within a few days, to see if I can figure out the problem.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2632
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 22:52:21 +0000 (22:52 +0000)]
Make sure to interpret relative links (like [/Subpage]) in summary
relative to correct basepage.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2631
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 22:50:51 +0000 (22:50 +0000)]
Ensure that language preference is a string.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2630
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 22:16:27 +0000 (22:16 +0000)]
Get rid of MakeWikiForm, and form-style MagicPhpWikiURLs.
These have been obsolete for quite awhile (I hope).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2629
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 22:04:43 +0000 (22:04 +0000)]
Clean up regexp for bracket-links.
(Empty bracket links not allowed.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2628
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Fri, 21 Feb 2003 20:56:12 +0000 (20:56 +0000)]
List the invalid pagenames which were deleted.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2627
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 19:44:54 +0000 (19:44 +0000)]
Fix DATA_PATH when PhpWiki installed in htdoc root.
(Reported by Jochen Kalmbach.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2626
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 19:29:30 +0000 (19:29 +0000)]
Update PHPWIKI_VERSION to 1.3.5pre.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2625
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 18:07:14 +0000 (18:07 +0000)]
Minor, nitpicky, currently inconsequential changes.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2624
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 05:09:24 +0000 (05:09 +0000)]
More attempts to fix problems having to do with ambiguities
between * for <li>s and * for <strong>.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2623
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:26:55 +0000 (04:26 +0000)]
Changes for chached markup.
New methods:
WikiDB_Page::save(): A higher-level interface to createRevision().
WikiDB_PageRevision::getTransformedContent(): A higher-level interface
to getPackedContent().
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2622
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:24:48 +0000 (04:24 +0000)]
Fix <td> </td> nesting. (Was generating invalid HTML.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2621
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:23:19 +0000 (04:23 +0000)]
Minor robustness tweaks. (No substantive changes.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2620
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:22:54 +0000 (04:22 +0000)]
Allow overriding of $user and $page.
Optimization: don't include WikiPlugin unless it's needed.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2619
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:22:28 +0000 (04:22 +0000)]
Make this work for array-valued data. Make display of cached markup
readable. Some code cleanups. (This still needs more work.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2618
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:21:46 +0000 (04:21 +0000)]
Adjust button appearance.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2617
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:21:31 +0000 (04:21 +0000)]
CSS for wikiblog, interwikimap.
Adjust button appearance.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2616
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:20:30 +0000 (04:20 +0000)]
Set pagetype to interwikimap
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2615
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:20:09 +0000 (04:20 +0000)]
Big refactor. Formatting now done by the stuff in PageType.php.
Split the template into two separate ones: one for the add comment form,
one for comment display.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2614
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:18:06 +0000 (04:18 +0000)]
Complete rewrite.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2613
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:17:46 +0000 (04:17 +0000)]
Extract pagetype from MIMEified page meta-data.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2612
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:17:13 +0000 (04:17 +0000)]
Delete now irrelevant comment.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2611
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:16:51 +0000 (04:16 +0000)]
Don't NORETURN from redirect.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2610
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:16:20 +0000 (04:16 +0000)]
Cleanup redirect code. Request::redirect() is now usually a NORETURN.
Though it has a new argument you can use to get the old behavior.
Now we (almost) always buffer the output (not just when compressing).
This allows plugins, etc.. to set headers redirect, etc.. with less
headache.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2609
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:15:30 +0000 (04:15 +0000)]
Removed file. This has been unused for awhile now.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2608
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:14:52 +0000 (04:14 +0000)]
New WikiLink type 'if_known'. This gives linkified name if page
exists, otherwise, just plain text.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2607
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:14:15 +0000 (04:14 +0000)]
New plugin to perform miscellaneous easy administrative tasks. (Right
now, it just performs some debugging tasks having to do with the
markup cache.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2606
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:13:18 +0000 (04:13 +0000)]
New file. Template for class Alert in stdlib.php.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2605
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:12:36 +0000 (04:12 +0000)]
WikiPageName: fixes for new cached links.
Alert: new class for displaying alerts.
ExtractWikiPageLinks and friends are now gone.
LinkBracketLink moved to InlineParser.php
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2604
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:12:06 +0000 (04:12 +0000)]
Minor fixes for new cached markup.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2603
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:10:58 +0000 (04:10 +0000)]
Fixes for new cached markup.
Some minor code cleanups.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2602
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:09:53 +0000 (04:09 +0000)]
Changes for cached markup.
Moved LinkBracketLink here from stdlib.php, since now this is only
place it should be used.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2601
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:09:11 +0000 (04:09 +0000)]
Changes for cached markup.
Tweaks of list tightness logic.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2600
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:08:26 +0000 (04:08 +0000)]
New class DebugTimer in prepend.php to help report timing.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2599
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:07:31 +0000 (04:07 +0000)]
Query-arg hook 'nocache' to disable markup cache.
Use 'nocache=1' to disable reading the cache, 'nocache=purge' to clear
the cache for the requested page.
Moved debug timing to prepend.php
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2598
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 21 Feb 2003 04:06:45 +0000 (04:06 +0000)]
Big changes to allow caching of marked up page text.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2597
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 20 Feb 2003 18:13:38 +0000 (18:13 +0000)]
Workaround for recent changes to WikiPlugin->getPlugin.
Made admin restriction for viewing this page optional.
Now defaults to any user may view this page (mainly for PhpWiki Demo site).
Minor code changes & reformatting.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2596
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 20 Feb 2003 18:03:04 +0000 (18:03 +0000)]
New experimental WikiPlugin for internal use only by PhpWiki developers.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2595
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Feb 2003 23:13:40 +0000 (23:13 +0000)]
Wups again. Typo fix.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2594
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Feb 2003 21:53:30 +0000 (21:53 +0000)]
Wups-- remove debuggin cruft.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2593
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Feb 2003 21:52:07 +0000 (21:52 +0000)]
Fix so that one can still link to wiki pages with # in their names.
(This was made difficult by the introduction of named tags, since
'[Page #1]' is now a link to anchor '1' in page 'Page'.
Now the ~ escape for page names should work: [Page ~#1].
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2592
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Feb 2003 20:24:13 +0000 (20:24 +0000)]
Some fixes for nested nestled markup.
The nestled markup starting delimiter can now be immediately
preceded by any of
- " ' / : ( { < _ = * (or white-space, of course)
If it is preceded by any of the balanced openers: ( { < _ = *,
the the starting delimiter can not be immediately followed
by the matching closer: ) } > _ = *.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2591
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Feb 2003 19:17:04 +0000 (19:17 +0000)]
split_pagename():
Bug fix. 'ThisIsABug' was being split to 'This IsA Bug'.
Cleanup up subpage splitting code.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2590
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Feb 2003 19:01:37 +0000 (19:01 +0000)]
Fixes/refactor of the tight/loose stuff.
This might work now.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2589
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Feb 2003 19:00:47 +0000 (19:00 +0000)]
New methods to help manipulate elements' CSS class membership.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2588
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Feb 2003 03:59:11 +0000 (03:59 +0000)]
Wups. Don't tighten headers and <hr>s.
(We could, and it would be kind of neat, but it would involve
writing a lot of CSS to get it to work out reasonably.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2587
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 18 Feb 2003 02:49:20 +0000 (02:49 +0000)]
Finish tight/loose list refactor.
If this works, you should notice (if you have a modern CSS aware
browser) that the vertical spacing in lists should look more or
less like what you put in. (E.g. If you put a blank line between two
list items, you'll get more space between them than if you don't.)
TO FIX: I've probably screwed up rendering in the older marginally
CSS-aware browsers, e.g. NS4. I don't have NS4 installed right now
to play with. I'll try to play around with that soon...
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2586
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 17 Feb 2003 23:50:12 +0000 (23:50 +0000)]
Refactoring BlockParser in an attempt to fix the tight vs loose list
problem.
This now, I think, more-or-less works (as long as you have a modern
browser with good CSS support.)
This is a safety checkin, as I'm about the delete the
'Tightenable' logic from lib/BlockParser.php
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2585
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 17 Feb 2003 20:32:36 +0000 (20:32 +0000)]
Fix bug. Couldn't unset attributes.
($e->setAttr('foo', false) should unset attribute 'foo'.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2584
96ab9672 -09ca-45d6-a79d-
3d69d39ca109