]>
CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
dairiki [Thu, 13 Dec 2001 05:10:04 +0000 (05:10 +0000)]
Refactor diff code:
o Code clean-up and refactor.
o Split the PhpWiki-independent part of the code into lib/difflib.php.
o New CSS-formatted unified diff output replaces old table-heavy format.
o Add character-level diffs.
Issues:
o New CSS-formatted diffs are very ugly in NS4 (and probably other
oldish browsers.)
o Character-level diffs may be overkill. Maybe back off to
word-level diffs?
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@759
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 13 Dec 2001 05:06:06 +0000 (05:06 +0000)]
Fix typo.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@758
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 12 Dec 2001 23:51:25 +0000 (23:51 +0000)]
Bug fix: empty square brackets lead to "Fatal Database Error" and
other problems.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@757
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 12 Dec 2001 23:38:53 +0000 (23:38 +0000)]
Fix "Lists nested too deep in SetHTMLOutputMode" bug (again).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@756
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 12 Dec 2001 16:58:57 +0000 (16:58 +0000)]
Add link to RecentChanges.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@755
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Wed, 12 Dec 2001 05:12:46 +0000 (05:12 +0000)]
sf #482938 Content-Disposition parameter
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@754
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 11 Dec 2001 22:45:39 +0000 (22:45 +0000)]
Set RSS channel title from new config var WIKI_NAME.
Added "RSS" icon (which links to RSSified RecentChanges)
to the HTML version of RecentChanges.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@753
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 11 Dec 2001 22:41:40 +0000 (22:41 +0000)]
Name the wiki (SF task #34142).
New config define: WIKI_NAME, which is used to generate a KEYWORDS
meta tag, and also for the channel title in RSS output.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@752
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 11 Dec 2001 18:42:12 +0000 (18:42 +0000)]
Fix MonsterCookie bug. (See http://phpwiki.sf.net/wiki/BadRequest.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@751
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 11 Dec 2001 18:41:03 +0000 (18:41 +0000)]
Delete debugging cruft.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@750
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 11 Dec 2001 18:21:38 +0000 (18:21 +0000)]
Delete ctime() and rfc1123date() from lib/ziplib.php in favor of
CTime() and Rfc2822DateTime() in lib/stdlib.php.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@749
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 11 Dec 2001 18:16:12 +0000 (18:16 +0000)]
Rename Rfc822DateTime() to Rfc2822DateTime(). (Also fix it.)
Add CTime().
Remove debugging cruft.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@748
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Tue, 11 Dec 2001 17:47:10 +0000 (17:47 +0000)]
Refactor external link icon code.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@747
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 11 Dec 2001 05:51:14 +0000 (05:51 +0000)]
Moved some diff colouring to css. Appearance looks identical to previous non-css method of colouring in: IE5, Mozilla (and presumably NS6), iCab, Opera, OmniWeb.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@745
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 10 Dec 2001 20:53:46 +0000 (20:53 +0000)]
Added table summary attribute for non-visual browsers.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@744
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 8 Dec 2001 16:30:44 +0000 (16:30 +0000)]
SF Bug #489544: Change strftime %P to %p. (%P is a GNU extension to
the POSIX strftime spec, and is not supported on all systems.)
'%p' expands to 'AM' or 'PM'
'%P', when supported, expands to 'am' or 'pm'
The lowercase version (%P) is much prettier to my eyes, but I guess,
in this case the cost of portability is ugliness. (Is it worth some
hackage to restore the lower case am/pm?)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@743
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 8 Dec 2001 16:02:35 +0000 (16:02 +0000)]
Significant bug fix: not all changes showing up in RecentChanges.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@742
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Fri, 7 Dec 2001 23:52:34 +0000 (23:52 +0000)]
Added php-function and php-lookup.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@741
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Dec 2001 22:28:21 +0000 (22:28 +0000)]
Change plugin arg syntax from 'rss=1' to 'format=rss'.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@740
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Dec 2001 22:15:43 +0000 (22:15 +0000)]
Add support for generation of RSSified RecentChanges.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@739
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Dec 2001 22:14:32 +0000 (22:14 +0000)]
TimezoneOffset, Iso8601DateTime, Rfc822DateTime: New functions
to support RSS generation.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@738
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Dec 2001 22:13:51 +0000 (22:13 +0000)]
Ensure the 'action' argument in $request is set.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@737
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Dec 2001 21:29:33 +0000 (21:29 +0000)]
Obsolete. This code is now in lib/Request.php.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@736
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 7 Dec 2001 17:39:45 +0000 (17:39 +0000)]
Fix for PHP warning: "lib/diff.php:197: Notice[8]: Undefined index: ..."
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@735
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Fri, 7 Dec 2001 06:57:08 +0000 (06:57 +0000)]
Note re: invisible ? in OmniWeb4 (MacOSX)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@734
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Fri, 7 Dec 2001 05:37:13 +0000 (05:37 +0000)]
InterWiki link-icon added.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@733
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Fri, 7 Dec 2001 05:27:20 +0000 (05:27 +0000)]
InterWiki link-icon added.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@732
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 6 Dec 2001 22:44:42 +0000 (22:44 +0000)]
Category:Category links to the CategoryCategory page, yet this page won't show up in the back-links listing of CategoryCategory.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@731
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 6 Dec 2001 22:11:23 +0000 (22:11 +0000)]
typo URL_LINK_ICONS
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@730
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 6 Dec 2001 21:53:41 +0000 (21:53 +0000)]
Additions from list at "http://usemod.com/intermap.txt" December 5, 2001.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@729
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 6 Dec 2001 21:13:30 +0000 (21:13 +0000)]
New icon for unknown link protocols, a hollow arrow (a question mark could be confused with unknown-WikiWords).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@728
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 6 Dec 2001 20:44:13 +0000 (20:44 +0000)]
Kludgy patch to close a potential security hole.
(I think a carefully constructed cookie could be used to
log in (as admin, even) without a password.)
I'll work on a longer term fix...
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@727
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 6 Dec 2001 19:15:05 +0000 (19:15 +0000)]
Cleaned up the external URL link icon code a bit.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@726
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 6 Dec 2001 18:41:21 +0000 (18:41 +0000)]
Add parentheses to the list of punctuation not allowed in un-bracketed
InterWiki links.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@725
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 6 Dec 2001 18:36:51 +0000 (18:36 +0000)]
Don't urlencode page name for use as link text.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@724
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 6 Dec 2001 18:29:15 +0000 (18:29 +0000)]
Fix broken switch statement (which cause my PHP to segfault ?!?)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@723
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 6 Dec 2001 18:26:50 +0000 (18:26 +0000)]
Detect and bail upon recursive inclusions.
Add rudimentary error reporting.
Gettextify.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@722
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 6 Dec 2001 18:25:41 +0000 (18:25 +0000)]
Added Joe Edelman's suggested styles for his IncludePage plugin.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@721
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 6 Dec 2001 17:31:22 +0000 (17:31 +0000)]
Renamed Mac OS X notes. (Filenames with spaces tend to give some unix
utilities gas...)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@720
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 6 Dec 2001 08:15:38 +0000 (08:15 +0000)]
Added unobtrusive hook for upcoming theme support.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@719
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 6 Dec 2001 06:24:44 +0000 (06:24 +0000)]
Cleaned up linkimage code.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@718
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 6 Dec 2001 01:26:31 +0000 (01:26 +0000)]
*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@717
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Thu, 6 Dec 2001 00:21:45 +0000 (00:21 +0000)]
text2png plug now really works! (accepts a text= argument, and does cache the image in /image/$lang/ instead of redrawing each time)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@716
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 4 Dec 2001 23:49:33 +0000 (23:49 +0000)]
Converted tabs to spaces, mysql doesn't like tabs :-(
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@715
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Tue, 4 Dec 2001 05:59:45 +0000 (05:59 +0000)]
*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@712
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 3 Dec 2001 23:37:25 +0000 (23:37 +0000)]
Linkimages now show for unbracketed urls. Optimized linkimage code.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@711
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 3 Dec 2001 23:12:04 +0000 (23:12 +0000)]
Linkimages now show for unbracketed urls. Optimized linkimage code.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@709
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 3 Dec 2001 09:18:57 +0000 (09:18 +0000)]
typos & minor adj.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@708
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 3 Dec 2001 08:58:03 +0000 (08:58 +0000)]
Added ProjectBuilder info, hint about libphp4.so and logging instructions.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@707
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Mon, 3 Dec 2001 04:10:38 +0000 (04:10 +0000)]
Updated the names of the sql files.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@705
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Mon, 3 Dec 2001 04:05:38 +0000 (04:05 +0000)]
Renamed these files with .sql extensions for two reasons: the naming was
redundant (schemas/schema.mysql) and the .sql extension will let text
editors with syntax highlighting and other goodies recognize the files
(like Emacs and vim).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@704
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
joe_edelman [Mon, 3 Dec 2001 03:18:34 +0000 (03:18 +0000)]
Fixed a typo in get_all_pages() that was preventing zip dumps from working.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@703
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 3 Dec 2001 03:07:26 +0000 (03:07 +0000)]
Added/changed info specific to wiki 1.3 branch pertinent to Mac OS X.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@702
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sun, 2 Dec 2001 07:53:59 +0000 (07:53 +0000)]
//define("autosplit_wikiwords", 1); option to automatically split WikiWords by inserting spaces for all WikiWords everywhere in a document.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@697
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sun, 2 Dec 2001 03:33:50 +0000 (03:33 +0000)]
//define("USE_LINK_ICONS", 1) this turns on url indicator icons, inserted before embedded links to indicate the type of link.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@695
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
joe_edelman [Sun, 2 Dec 2001 02:52:37 +0000 (02:52 +0000)]
Oops. This is undoing a previous & unnecessary patch I didn't mean to check
in.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@694
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
joe_edelman [Sun, 2 Dec 2001 02:34:48 +0000 (02:34 +0000)]
A patch necessary to support plugin/UserPage.php. The problem was that
WikiUser() was checking the http auth status and resetting the
session/cookie auth data on every single pageload, which made it impossible
for another auth solution to compete. With this patch they both work. Feel
free to refactor it.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@693
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
joe_edelman [Sun, 2 Dec 2001 02:31:17 +0000 (02:31 +0000)]
This is an alternative sign-in scheme that uses a Plugin page instead of
HTTP authentication. This is just a first draft, but it works. For now it
can exist side by side with the HTTP auth methods built into WikiUser. To
set it up on your system, do this:
1) Create a new page called "UserPage" which contains:
<?plugin UserPage?>
2) Modify your templates so that, if there is no one logged on, the various
edit buttons point to something like "${BROWSE}UserPage&edit=${PAGEURL}" (or
use a <?plugin-link UserPage?> tag) instead of "${ACTION}edit". You can
replace the "SignOn" link with a link to UserPage, too.
UserPage is a copy of the "clublet" wikis sign-on scheme. Check out
<http://why.clublet.com>.
Soon UserPage will also serve as a mechanism for setting hidden email
addresses and other UserPreferences.
KNOWN ISSUES
needs gettext()ification
UnknownWikiWord links still go directly to edit
COMING SOON
email address collection
distinction between new and returning users (based on Page metadata)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@692
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
joe_edelman [Sun, 2 Dec 2001 02:12:21 +0000 (02:12 +0000)]
My IncludePage plugin. Docs at phpwiki:IncludePage. A cheap substitute for
PageAlias, partial locks, and weblog summary pages.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@691
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
joe_edelman [Sun, 2 Dec 2001 01:59:23 +0000 (01:59 +0000)]
*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@690
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sat, 1 Dec 2001 22:01:48 +0000 (22:01 +0000)]
moved these from the root dir.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@689
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sat, 1 Dec 2001 22:00:49 +0000 (22:00 +0000)]
Moved these into doc/.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@688
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
wainstead [Sat, 1 Dec 2001 21:55:57 +0000 (21:55 +0000)]
Updated some of the info; pointed to the doc/ directory for other files.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@687
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 1 Dec 2001 14:53:41 +0000 (14:53 +0000)]
Added example of alternate text for inline image.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@686
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 1 Dec 2001 14:51:06 +0000 (14:51 +0000)]
minor changes to TextFormattingRules
\r additional German translations
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@685
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 1 Dec 2001 14:50:20 +0000 (14:50 +0000)]
minor changes to TextFormatting reference
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@684
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 1 Dec 2001 13:07:43 +0000 (13:07 +0000)]
Moved hyperlink in delete-page confirmation to clarify.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@683
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 1 Dec 2001 13:01:45 +0000 (13:01 +0000)]
minor rewording of TextFormatting reference
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@682
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Sat, 1 Dec 2001 10:01:42 +0000 (10:01 +0000)]
New text2png WikiPlugin. Doesn't accept any arguments yet, just dumps a png image file in the same dir as index.php. Requires PHP to be compiled with support for GD version 1.6 or later.
\r <?plugin text2png ?>
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@681
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 29 Nov 2001 18:03:59 +0000 (18:03 +0000)]
Fix bugs in access logging code.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@680
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 29 Nov 2001 03:09:29 +0000 (03:09 +0000)]
Re-make in locale (to update .po and .mo files).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@679
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 29 Nov 2001 03:08:48 +0000 (03:08 +0000)]
Obsolete. Use the Makefile instead.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@678
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 29 Nov 2001 03:04:36 +0000 (03:04 +0000)]
Fix so that xgettext scans templates, too, for strings to translate.
Also add -k_ flag to xgettext so that it recognizes _("") as an
alias for gettext("").
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@677
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 29 Nov 2001 03:01:44 +0000 (03:01 +0000)]
Extracted a few translated phrases from the (now obsolete)
translated templates. (All the .po files (& pgsrc) still need
a lot of work.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@676
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 29 Nov 2001 03:00:19 +0000 (03:00 +0000)]
Make _("string") an alias for gettext("string").
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@675
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Thu, 29 Nov 2001 02:59:21 +0000 (02:59 +0000)]
Language independent templates.
Support for get-textification of strings within templates.
$_("string")
[ -> htmlspecialchars(gettext("string")) ]
<tag attrib=_("string") [...]>
[ ->
<tag attrib="<?php echo htmlspecialchars(gettext("string")); ?>"
[...] >
]
<?plugin{-form,-link,} PluginName arg=_("string") [...]?>
[ ->
<?plugin PluginName arg="<?php echo gettext("string"); ?>"
[...] ?>
]
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@674
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Wed, 28 Nov 2001 22:16:53 +0000 (22:16 +0000)]
*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@673
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 28 Nov 2001 20:12:48 +0000 (20:12 +0000)]
Revert to working version until theme support becomes functional.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@672
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 26 Nov 2001 22:43:24 +0000 (22:43 +0000)]
Fix SF bug #484557: "Fatal error: Call to a member function on a
non-object in lib/main.php on line 205" when trying to set
user preferences.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@670
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 26 Nov 2001 22:37:29 +0000 (22:37 +0000)]
Fix typos in getPreferences.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@669
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Mon, 26 Nov 2001 22:00:26 +0000 (22:00 +0000)]
Fix my last fix: minor cleanup of file load diagnostics.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@668
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
riessen [Mon, 26 Nov 2001 09:25:36 +0000 (09:25 +0000)]
implemented the most_recent and most_popular functions, and minor
refactorings
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@667
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 26 Nov 2001 06:28:31 +0000 (06:28 +0000)]
server needs access to subdirectories of templates for theme files (css and images).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@665
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 26 Nov 2001 06:23:42 +0000 (06:23 +0000)]
CSS & images now stored in a folder within templates according to global $theme.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@664
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
carstenklapp [Mon, 26 Nov 2001 06:23:38 +0000 (06:23 +0000)]
Signature, logo & css settings moved to /templates/theme, to allow for themes and and a step towards simplifying various paths (VIRTUAL_PATH, DATA_PATH) & http server directives.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@663
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 20:01:52 +0000 (20:01 +0000)]
New class: WikiAnonymousCb
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@662
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 19:49:21 +0000 (19:49 +0000)]
Fix typo/bug in PearDB::text_search.
Change calling conventions for ErrorManager::pushErrorHandler() and
ErrorManager::setFatalHandler(). Now these take a WikiCallback
instead of the Pear style callback specification.
Change argument semantics for TextSearchQuery::makeSqlClause.
Now takes a WikiCallback.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@661
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 19:48:15 +0000 (19:48 +0000)]
Change argument semantics for TextSearchQuery::makeSqlClause.
Now takes a WikiCallback.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@660
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 19:46:50 +0000 (19:46 +0000)]
Change calling conventions for ErrorManager::pushErrorHandler() and
ErrorManager::setFatalHandler(). Now these take a WikiCallback
instead of the Pear style callback specification.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@659
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 19:44:34 +0000 (19:44 +0000)]
Classes for callbacks.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@658
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 21 Nov 2001 17:58:46 +0000 (17:58 +0000)]
Typo fix.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@657
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 17 Nov 2001 16:39:08 +0000 (16:39 +0000)]
Fix file upload bug.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@656
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Sat, 17 Nov 2001 00:49:29 +0000 (00:49 +0000)]
For maximum portability, use old fashioned comma join instead of
"INNER JOIN ... USING(...)" and "INNER JOIN ... ON ...".
Fix for older MySQL's which don't support the "CASE WHEN ... END"
syntax. The fix is complicated by the fact that Postgres doesn't
support MySQL's "IF(,,)" syntax.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@655
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 16 Nov 2001 22:59:02 +0000 (22:59 +0000)]
Hack/fix to get proper nesting of lists and
list items. (Lists are allowed to contain list items but not
other lists. List items are allowed to contain sub lists.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@654
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Fri, 16 Nov 2001 21:02:58 +0000 (21:02 +0000)]
Fix regexp so that punctuation does not get included in the rhs of
interwiki links (without the use of square brackets, that is.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@653
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 21:25:32 +0000 (21:25 +0000)]
Another XHTML fix.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@647
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 21:05:38 +0000 (21:05 +0000)]
XHTML fixes. At this point, PhpWiki's output is almost valid XHTML.
(Most of these changes are based on patches by Tara/Steph.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@646
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 18:50:54 +0000 (18:50 +0000)]
Add new entries collected by Adam Shand.
Add new entry: RFC
BUG note: The entry for Category will only work when USE_PATH_INFO
is set. When USE_PATH_INFO is false, the following entry will,
I think, work:
Category index.php?pagename=Category
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@645
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 18:48:47 +0000 (18:48 +0000)]
Add support for '%s' (which gets replaced by rhs of interwiki link)
in interwiki map URLs. (This is needed for the new RFC entry in
interwiki.map.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@644
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dairiki [Wed, 14 Nov 2001 17:54:45 +0000 (17:54 +0000)]
Change regexp for InterWiki links to accept non-WikiWord right hand
sides. (Suggested by Adam Shand.)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@643
96ab9672 -09ca-45d6-a79d-
3d69d39ca109