]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
SourceForge/phpwiki.git
22 years agoAdded a CVS id tag.
wainstead [Tue, 18 Sep 2001 21:20:30 +0000 (21:20 +0000)]
Added a CVS id tag.

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

22 years agoJeff's hacks II, continued:
dairiki [Tue, 18 Sep 2001 19:19:05 +0000 (19:19 +0000)]
Jeff's hacks II, continued:

More new files which I neglected to add during the previous commit.

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

22 years agoJeff's hacks II.
dairiki [Tue, 18 Sep 2001 19:16:24 +0000 (19:16 +0000)]
Jeff's hacks II.

This is a major change, to say the least.  Some highlights:
  o Completely new database API.

    WARNING: all database schemas (currently MySQL, Postgres and DBA
    support is working) use completely revised schema, so you must
    start this new code with a new blank database...

  o WikiPlugins
  o New template engine.

In addition, some more incremental changes:
  o Cascading Style Sheets reworked.
  o Expanded syntax for text search: e.g. "wiki OR wacky AND NOT page".
  o PhpWiki should now work with register_globals off. (Security issue.)
  o Edit preview button.
  (and probably more, which I'm forgetting about now.)

Much of this code is still in a state of flux (particularly
the new template engine code, and to a lesser extent the API
for the plugins.)
Feel free to play and hack on this, just be warned that some of it may
still change quite a bit...

See pgsrc/ReleaseNotes for a few more notes.

And feel free to post questions or comments either publicly on
<phpwiki-talk@lists.sourceforge.net>, or privately, to
<dairiki@dairiki.org>.

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

22 years agoMerged back some stuff which inadvertently (I think) got tossed during pre_jeffs_hacks2
dairiki [Tue, 18 Sep 2001 18:20:59 +0000 (18:20 +0000)]
Merged back some stuff which inadvertently (I think) got tossed during
the last edit.

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

22 years agoMispelled Administer.
wainstead [Sun, 16 Sep 2001 21:31:19 +0000 (21:31 +0000)]
Mispelled Administer.

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

22 years agoAdded link to PhpWikiAdministration. This is really for the person who
wainstead [Sun, 16 Sep 2001 21:30:50 +0000 (21:30 +0000)]
Added link to PhpWikiAdministration. This is really for the person who
first installs PhpWiki, because we've gotten a lot of questions about
this. I would think most people will remove this link when they
personalize the HomePage, so putting it here should be fine.

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

22 years agoFixed some bugs in the page source in the "Emphasis" section.
wainstead [Sun, 26 Aug 2001 17:00:50 +0000 (17:00 +0000)]
Fixed some bugs in the page source in the "Emphasis" section.

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

22 years ago(WikiUser::getPreferences): More fixes to address PHP warnings.
dairiki [Tue, 14 Aug 2001 21:41:10 +0000 (21:41 +0000)]
(WikiUser::getPreferences): More fixes to address PHP warnings.

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

22 years agoUndefined links will now have a question mark at the start instead of
wainstead [Sun, 12 Aug 2001 23:57:37 +0000 (23:57 +0000)]
Undefined links will now have a question mark at the start instead of
at the end of the link; this idea comes from the book The Wiki Way and
it's supposed to be a bit clearer to the user.

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

22 years agoFix for PHP warning: "argument passed to unserialize() is not an string".
dairiki [Thu, 9 Aug 2001 16:21:44 +0000 (16:21 +0000)]
Fix for PHP warning: "argument passed to unserialize() is not an string".

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

22 years agoAdded support for bogo-logins.
dairiki [Fri, 20 Jul 2001 17:40:12 +0000 (17:40 +0000)]
Added support for bogo-logins.
One can now "login" using any WikiWord as a user ID.
(Unless logging in as the admin user, any password will work.)

Currently, the sole effect of logging in is that the
the logged-in user ID is recorded as the author of any
page edits.  Thus, "logging in" allows one to control
the author which appears in RecentChanges and the page
info display.

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

22 years agoInitial file for an abstract base class. For now I copy/pasted the
wainstead [Fri, 20 Jul 2001 17:29:43 +0000 (17:29 +0000)]
Initial file for an abstract base class. For now I copy/pasted the
methods suggested in WikiDatabase
(http://phpwiki.sourceforge.net/phpwiki/index.php) as a starting
point, though there were a few that were undecided and I left those
out.

At least for now the class can support retrievePage() and insertPage()
and a few other basic methods, so rudimentary work can start.

The flowerbox reads:

/*
 * Abstract base class for the database used by PhpWiki.
 * This should be extended by classes for DB/dbx, dba and
 * flat file.
 */

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

22 years agoChanged PostgreSQL db library and schema to work with versioning, maybe.
uckelman [Wed, 18 Jul 2001 04:59:47 +0000 (04:59 +0000)]
Changed PostgreSQL db library and schema to work with versioning, maybe.

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

22 years agoMore cosmetic changes... wow did I not follow formating conventions the
uckelman [Wed, 18 Jul 2001 04:56:14 +0000 (04:56 +0000)]
More cosmetic changes... wow did I not follow formating conventions the
first time around.

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

22 years agoMinor cosmetic changes (removed some hard tabs).
uckelman [Wed, 18 Jul 2001 01:06:29 +0000 (01:06 +0000)]
Minor cosmetic changes (removed some hard tabs).

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

22 years agoBug fix: ..._wikilinks => ..._links.
dairiki [Tue, 17 Jul 2001 15:58:28 +0000 (15:58 +0000)]
Bug fix: ..._wikilinks => ..._links.

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

22 years agoUpdated the table names.
wainstead [Sun, 15 Jul 2001 16:03:26 +0000 (16:03 +0000)]
Updated the table names.

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

22 years agoChanged one line: lib/config.php to index.php.
wainstead [Sun, 15 Jul 2001 15:49:44 +0000 (15:49 +0000)]
Changed one line: lib/config.php to index.php.

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

22 years agoFixed the table names. Here is an example of duplicate information,
wainstead [Sun, 15 Jul 2001 15:47:59 +0000 (15:47 +0000)]
Fixed the table names. Here is an example of duplicate information,
where the table names are stored both in schema.mysql and
mysql.php. Of course I failed to notice this and the nightly build was
broken. Task #34376.

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

22 years agoAdded a comment regarding the table name prefix as a precaution to
wainstead [Thu, 12 Jul 2001 03:49:05 +0000 (03:49 +0000)]
Added a comment regarding the table name prefix as a precaution to
admins who set up alpha versions of 1.3.

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

22 years agoOops: fixed a typo just now.
wainstead [Thu, 12 Jul 2001 03:25:11 +0000 (03:25 +0000)]
Oops: fixed a typo just now.

Updated table names so all are prefaced with 'phpwiki_'. This is not
tested with Postgresql yet though.

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

22 years agoUpdated table names so all are prefaced with 'phpwiki_'. This is not
wainstead [Thu, 12 Jul 2001 03:24:18 +0000 (03:24 +0000)]
Updated table names so all are prefaced with 'phpwiki_'. This is not
tested with Postgresql yet though.

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

22 years agoI changed the table names in the schema so all are prefaced with phpwiki_.
wainstead [Thu, 12 Jul 2001 03:21:35 +0000 (03:21 +0000)]
I changed the table names in the schema so all are prefaced with phpwiki_.
I updated index.php (where the config info is) as well; seems to test OK.

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

22 years agoGot fooled by an IF with no braces.
wainstead [Sat, 7 Jul 2001 17:44:25 +0000 (17:44 +0000)]
Got fooled by an IF with no braces.

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

22 years agoReformatted the code by hand to PEAR standards. Well, mostly by
wainstead [Sat, 7 Jul 2001 17:34:52 +0000 (17:34 +0000)]
Reformatted the code by hand to PEAR standards. Well, mostly by
hand. php-mode doesn't like variable assignments that span several
lines like:

     $html = "<P><B>"
           . sprintf(gettext ("Searching for \"%s\" ....."),
             htmlspecialchars($searchterm))
           . "</B></P>\n";

I have to indent this by hand.

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

22 years agoRemoved EditCopy link.
uckelman [Tue, 26 Jun 2001 18:14:41 +0000 (18:14 +0000)]
Removed EditCopy link.
Removed minor edit code, but I will be adding it back Real Soon(tm).
Added ###IF !CURRENT### block to notify user when editing an archived page.
Added ###CURRENT_VERSION### to handle concurrent edit checking.

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

22 years agoEdited footer links slightly to allow for page versioning.
uckelman [Tue, 26 Jun 2001 18:13:00 +0000 (18:13 +0000)]
Edited footer links slightly to allow for page versioning.

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

22 years agolib/editpage.php
uckelman [Tue, 26 Jun 2001 18:08:32 +0000 (18:08 +0000)]
lib/editpage.php
- Added $version to RetrievePage calls.
- Removed EditCopy, since it's no longer needed.

lib/loadsave.php
- Changed call to InsertPage to ReplaceCurrentPage.
- Changed call to SaveCopyToArchive to SavePageToArchive.
- Added $version to RetrievePage calls.

lib/savepage.php
- Changed call to InsertPage to ReplaceCurrentPage.
- Changed call to SaveCopyToArchive to SavePageToArchive.
- All old versions of pages are now saved to archive.
- Added $version to RetrievePage calls.

lib/stdlib.php
- Changed call to InsertPage to ReplaceCurrentPage.
- Added $version to RetrievePage call.
- Added $WikiPageStore as global in GeneratePage.
- Added CURRENT as _iftoken. This is needed so users can edit from archived pages, but still be prevented from completing their edit if the current page version changes while they are editing. VERSION doesn't work for this anymore, since the version being edited might not be CURRENT.

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

22 years agoAdded $version to RetrievePage call.
uckelman [Tue, 26 Jun 2001 18:04:54 +0000 (18:04 +0000)]
Added $version to RetrievePage call.
Added code to determine which pagestore to check when displaying pages, since user could be requesting something from the archive.

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

22 years agoAdded $version to RetrievePage calls.
uckelman [Tue, 26 Jun 2001 18:03:41 +0000 (18:03 +0000)]
Added $version to RetrievePage calls.
Changed to recognize $ver1 and $ver2 in URLs to allow diffs of aribtrary page versions.

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

22 years agoThis is a near total rewrite of this file. It is responsible for displaying all of...
uckelman [Tue, 26 Jun 2001 18:02:43 +0000 (18:02 +0000)]
This is a near total rewrite of this file. It is responsible for displaying all of the radio buttons and version listing now.

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

22 years agoLots of changes here:
uckelman [Tue, 26 Jun 2001 18:01:01 +0000 (18:01 +0000)]
Lots of changes here:
- Added $clobber as argument to InsertPage. If $clobber, then use 'replace '; otherwise use 'insert'i. Pages going into the current store should clobber, but pages going into the archive should not. (Assuming that an unlimited number of pages are kept. I still need to implement archive limiting...)
- Created function ReplaceCurrentPage.
- Moved link updating from InsertPage to ReplaceCurrentPage.
- Renamed SaveCopyToArchive to SavePageToArchive.
- Created function RetrievePageVersions. Returns an arary of page hashes that contains all versions of the specified page.
- Added $version as argument to RetrievePage. It needs to know which version to get. Version 0 (zero)is magic, and always refers to the current version.
- Created function GetMaxVersionNumber. This is used mostly to determine which version to get for the diffs against current pages.
- Created function IsVersionInWiki.
- Created function IsVersionInArchive.
- Created function SelectStore. Given a page name and a version, this function returns the store where that page resides.

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

22 years agoChanged primary key to (pagename, version) in table archive to allow muliple pages...
uckelman [Tue, 26 Jun 2001 17:51:30 +0000 (17:51 +0000)]
Changed primary key to (pagename, version) in table archive to allow muliple pages with the same name.

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

22 years agoAdded bit about following the PEAR coding standards; provided link;
wainstead [Tue, 26 Jun 2001 17:23:59 +0000 (17:23 +0000)]
Added bit about following the PEAR coding standards; provided link;
made sure the Wiki formatting was correct.

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

22 years agoCorrected the URL for php-mode. I use the one from ontosys.com, but
wainstead [Fri, 22 Jun 2001 21:52:06 +0000 (21:52 +0000)]
Corrected the URL for php-mode. I use the one from ontosys.com, but
there is another from sourceforge.

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

22 years agoAdded bit about Emacs mode, where to get it, how to add it to your
wainstead [Fri, 22 Jun 2001 21:35:44 +0000 (21:35 +0000)]
Added bit about Emacs mode, where to get it, how to add it to your
.emacs file, and a request for Vim info.

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

22 years agoSame as dbmlib.php: ran indent-region on whole buffer, corrected
wainstead [Fri, 22 Jun 2001 21:27:55 +0000 (21:27 +0000)]
Same as dbmlib.php: ran indent-region on whole buffer, corrected
missed spots, untabify.

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

22 years agoConverted white space only; I ran indent-region on the whole buffer in
wainstead [Fri, 22 Jun 2001 21:24:40 +0000 (21:24 +0000)]
Converted white space only; I ran indent-region on the whole buffer in
Emacs while in PHP mode; then I hunted through the file for any
inconsistencies (there were a couple), then ran untabify on the whole
buffer. This is largely what the code style should look like.

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

22 years agoRe-make *.{po,mo} files.
dairiki [Thu, 31 May 2001 17:48:05 +0000 (17:48 +0000)]
Re-make *.{po,mo} files.

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

22 years agoDutch translation updates by Jan Nieuwenhuizen <janneke@gnu.org>.
dairiki [Thu, 31 May 2001 17:46:58 +0000 (17:46 +0000)]
Dutch translation updates by Jan Nieuwenhuizen <janneke@gnu.org>.

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

22 years agoMissing periods added by Jan Nieuwenhuizen <janneke@gnu.org>.
dairiki [Thu, 31 May 2001 17:45:41 +0000 (17:45 +0000)]
Missing periods added by Jan Nieuwenhuizen <janneke@gnu.org>.

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

22 years agoDocumentation fix (phpwiki: URLs) (per request by Jan).
dairiki [Thu, 31 May 2001 17:45:24 +0000 (17:45 +0000)]
Documentation fix (phpwiki: URLs) (per request by Jan).

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

22 years agoGettext()ification of more strings, by Jan Nieuwenhuizen <janneke@gnu.org>
dairiki [Thu, 31 May 2001 17:43:05 +0000 (17:43 +0000)]
Gettext()ification of more strings, by Jan Nieuwenhuizen <janneke@gnu.org>
(with a few fixes by me.)

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

22 years agoMinor fix to cleanup "Undefined variable: time" notice.
dairiki [Thu, 31 May 2001 17:41:55 +0000 (17:41 +0000)]
Minor fix to cleanup "Undefined variable: time" notice.

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

22 years agoRevert $LANG back to being a global rather than an environment variable
dairiki [Thu, 31 May 2001 17:39:02 +0000 (17:39 +0000)]
Revert $LANG back to being a global rather than an environment variable
(as per patches from Jan Nieuwenhuizen <janneke@gnu.org>.)

Use constants LC_ALL (&c) rather than literal "LC_ALL" as first
argument to setlocale().

Define constants LC_ALL and LC_CTYPE if needed (for PHP < 4.0.5).

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

22 years agoNew file: beginnings of coding style notes.
dairiki [Thu, 31 May 2001 17:35:32 +0000 (17:35 +0000)]
New file: beginnings of coding style notes.

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

22 years agoAdd Italian translations by Marco Milanesi <kpanic@ada2.unipv.it>.
dairiki [Mon, 21 May 2001 17:28:44 +0000 (17:28 +0000)]
Add Italian translations by Marco Milanesi <kpanic@ada2.unipv.it>.

I (GTD) munged the template files so that they more-or-less work
with the current alpha code.

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

22 years agoRe-make in locale.
dairiki [Mon, 21 May 2001 17:26:11 +0000 (17:26 +0000)]
Re-make in locale.

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

23 years agoRestrict the conditions under which we try to load initial page
dairiki [Mon, 9 Apr 2001 19:31:49 +0000 (19:31 +0000)]
Restrict the conditions under which we try to load initial page
contents from pgsrc.

Now we only load pgsrc iff the user is attempt to browse the HomePage.

This allows some hope of fixing things if the configured pgsrc, e.g.
doesn't include a HomePage.  (Without this patch, one gets stuck in a
loop --- every attempt to do anything with the wiki results in a
load of pgsrc.)

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

23 years agoMake tables left aligned, rather than centered.
dairiki [Mon, 9 Apr 2001 19:28:52 +0000 (19:28 +0000)]
Make tables left aligned, rather than centered.

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

23 years agoRemoved extraneous parenthesis.
dairiki [Sat, 7 Apr 2001 17:17:11 +0000 (17:17 +0000)]
Removed extraneous parenthesis.

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

23 years agoMore munging of the translated pgsrc and templates.
dairiki [Sat, 7 Apr 2001 17:13:29 +0000 (17:13 +0000)]
More munging of the translated pgsrc and templates.

Changes include:

  Converting old markup (tab-delimited lists, triple-quote bold.)

  Fixing templates so that they work with the current code.

  Fixing/deleting/or munging (some of the) outdated or incorrect
  information contained in the page text.

  Removing the 'RecentChanges' pages.  (They are now completely
  autogenerated.)

The translations will need a good going over by someone who
speaks the languages at some point.

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

23 years agoNew file: locale/Makefile to replace locale/translate.sh
dairiki [Sat, 7 Apr 2001 17:07:17 +0000 (17:07 +0000)]
New file: locale/Makefile to replace locale/translate.sh

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

23 years agoUpdated the edit hints at the bottom of the page.
wainstead [Sat, 7 Apr 2001 15:00:55 +0000 (15:00 +0000)]
Updated the edit hints at the bottom of the page.

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

23 years agoMunged for German and Spanish templates and pgsrc so that they work
dairiki [Sat, 7 Apr 2001 00:38:41 +0000 (00:38 +0000)]
Munged for German and Spanish templates and pgsrc so that they work
with the current code.

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

23 years agoUse strftime() for dates/times instead of date().
dairiki [Sat, 7 Apr 2001 00:34:30 +0000 (00:34 +0000)]
Use strftime() for dates/times instead of date().
(Strftime() supports locales, date() does not.)

Also fixed a couple minor bugs having to do with the initial
creation of the RecentChanges page, and other miscellaneous
wiki setup.

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

23 years agoRe-ran locale/translate.sh script to rebuild .mo files.
dairiki [Fri, 6 Apr 2001 21:18:13 +0000 (21:18 +0000)]
Re-ran locale/translate.sh script to rebuild .mo files.
(Manual search/replace of FrontPage -> HomePage had munged the files.)

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

23 years agoUpdated translate.sh script to scan current source code for
dairiki [Fri, 6 Apr 2001 21:12:59 +0000 (21:12 +0000)]
Updated translate.sh script to scan current source code for
gettext strings to be translated.

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

23 years agoDid find-grep to replace all occurances of FrontPage to HomePage.
wainstead [Fri, 6 Apr 2001 18:21:37 +0000 (18:21 +0000)]
Did find-grep to replace all occurances of FrontPage to HomePage.

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

23 years agoMoved FrontPage to HomePage.
wainstead [Fri, 6 Apr 2001 18:08:04 +0000 (18:08 +0000)]
Moved FrontPage to HomePage.

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

23 years agoMoving FrontPage to HomePage.
wainstead [Fri, 6 Apr 2001 18:07:19 +0000 (18:07 +0000)]
Moving FrontPage to HomePage.

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

23 years agoAttempt to fix the recognition of international characters within
dairiki [Wed, 14 Mar 2001 19:48:29 +0000 (19:48 +0000)]
Attempt to fix the recognition of international characters within
WikiWords.

Older (pre 3.x) PCRE libraries, which are used by some PHPs do not
support POSIX named character classes (e.g. [:alnum:]).

I've added a new function, pcre_fix_posix_classes(), which
(only if necessary) will replace POSIX named classes in a regexp
with an enumerated equivalent.

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

23 years agoRemove extraneous <P> from HTML output.
dairiki [Wed, 14 Mar 2001 19:45:42 +0000 (19:45 +0000)]
Remove extraneous <P> from HTML output.

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

23 years agoMinor typo fix.
dairiki [Wed, 14 Mar 2001 19:45:12 +0000 (19:45 +0000)]
Minor typo fix.

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

23 years agoJust fixed a typo in a comment.
wainstead [Sun, 11 Mar 2001 17:56:36 +0000 (17:56 +0000)]
Just fixed a typo in a comment.

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

23 years agoAdded a flowerbox comment at the top of the file, explaining the whole
wainstead [Sun, 11 Mar 2001 17:51:54 +0000 (17:51 +0000)]
Added a flowerbox comment at the top of the file, explaining the whole
file in general.

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

23 years agoRecognize international characters in WikiWords.
dairiki [Wed, 7 Mar 2001 16:45:20 +0000 (16:45 +0000)]
Recognize international characters in WikiWords.

We do this by using POSIX character classes (like [[:upper:]]) in the
perl regexps.  Getting this to work involves calling setlocale().
(See comments in lib/config.php for more details.)

I suspect my current hacks will not work in all PHP environments.  I'd
appreciate success/failure reports.

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

23 years agoSplit BumpyWords in page titles.
dairiki [Mon, 5 Mar 2001 23:39:07 +0000 (23:39 +0000)]
Split BumpyWords in page titles.

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

23 years agoMinor code cleanup: don't htmlspecialchar page title, since GeneratePage()
dairiki [Mon, 5 Mar 2001 23:38:16 +0000 (23:38 +0000)]
Minor code cleanup: don't htmlspecialchar page title, since GeneratePage()
does this for us.

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

23 years agoSplit BumpyWords in page title.
dairiki [Mon, 5 Mar 2001 23:37:32 +0000 (23:37 +0000)]
Split BumpyWords in page title.

Also minor code cleanup: ###BROWSE_PAGE### and ###ACTION### make no sense
for the MESSAGE template.

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

23 years agoChanged my email address and the project homepage, where appropriate.
wainstead [Sat, 3 Mar 2001 19:43:14 +0000 (19:43 +0000)]
Changed my email address and the project homepage, where appropriate.

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

23 years agoAdded new intermap entries from http://usemod.com/intermap.txt.
dairiki [Sat, 3 Mar 2001 19:29:48 +0000 (19:29 +0000)]
Added new intermap entries from http://usemod.com/intermap.txt.

Also fixed bug: only urlencode "page" name when it's really a
query arg.  (If it's in PATH_INFO, it shouldn't be urlencoded.)

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

23 years agoFix for invalid HTML from doubly-indented list elements.
dairiki [Fri, 2 Mar 2001 21:16:05 +0000 (21:16 +0000)]
Fix for invalid HTML from doubly-indented list elements.

This:
** Item

used to generate "<ul><ul><li>Item</ul></ul>" which is invalid.
Now we generate "<dl><dd><ul><li>Item</ul></dl>" which is valid.

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

23 years agoStripped stuff about page references which are now obsolete.
wainstead [Fri, 2 Mar 2001 00:42:50 +0000 (00:42 +0000)]
Stripped stuff about page references which are now obsolete.

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

23 years agoAdded note that mSQL will not be supported in 1.3 unless someone else
wainstead [Fri, 2 Mar 2001 00:38:50 +0000 (00:38 +0000)]
Added note that mSQL will not be supported in 1.3 unless someone else
wants to keep it up to date.

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

23 years agoAttempts to clean up generated HTML.
dairiki [Fri, 2 Mar 2001 00:24:17 +0000 (00:24 +0000)]
Attempts to clean up generated HTML.

WikiTransform::SetHTMLMode():

  Eliminate the $tagtype argument, since somewhere along the line it
had lost all meaning.

  Check when pushing nested elements that the top-level element is of
a type which can contain other block-level elements. Elements of type
<p>, and <pre>, among others, are not allowed to contain other
block-level elements.

wtm_list_dl:
  Fix bug (which manifested itself only with non-empty <dt>s).

Some remaining problems which perhaps should be addressed:

Wtm_title_search, wtm_fulltext_search, wtm_mostpopular as well
as some of the the magic phpwiki: links (the ones which generate
forms) all generate some sort of block-level HTML element (either
<form>s or <dl>s.)  As noted above, these are not allowed within
<p> elements (and others).

Bold/italics:    __Bold ''BoldItalic__ Italic''
 ... it's contrived, but it will generate improperly nested HTML.

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

23 years agoStartTag(): minor beautification: get rid of extra spaces in start tags.
dairiki [Fri, 2 Mar 2001 00:16:53 +0000 (00:16 +0000)]
StartTag(): minor beautification: get rid of extra spaces in start tags.

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

23 years agoSF Patch #404963:
dairiki [Thu, 1 Mar 2001 01:59:00 +0000 (01:59 +0000)]
SF Patch #404963:
Updated German pgsrc by Jörg Rathlev <jrathlev@users.sourceforge.net>

I've done some work to complete the german translation
of the files in locale/de/pgsrc/. I've also slightly
modified some of the already translated german pages.

The only pages I've not (yet) translated are GuterStil
(english GoodStyle - hard to do since it's only a
quotation), PhpWikiAdministration and WabiSabi. All
other pages are included in the attached zip archive.

Joerg

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

23 years agoMinor type correction.
dairiki [Wed, 28 Feb 2001 20:54:18 +0000 (20:54 +0000)]
Minor type correction.

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

23 years agoFix SF bug #404646. Must quote htmlspecialchars in <textarea>.
dairiki [Tue, 27 Feb 2001 23:22:30 +0000 (23:22 +0000)]
Fix SF bug #404646.  Must quote htmlspecialchars in <textarea>.

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

23 years agoRecursive bug fix. (Ie. fix stupid bug introduced in the last bug fix.)
dairiki [Wed, 21 Feb 2001 17:16:44 +0000 (17:16 +0000)]
Recursive bug fix.  (Ie. fix stupid bug introduced in the last bug fix.)

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

23 years agoFix SF bug #132843 some more. Also add code to properly glean the
dairiki [Tue, 20 Feb 2001 13:44:03 +0000 (13:44 +0000)]
Fix SF bug #132843 some more.  Also add code to properly glean the
page name from obsolete 'index.php?PageName' style URLS.

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

23 years agoFix infinite redirect bug. (SF bug #132843.)
dairiki [Sat, 17 Feb 2001 21:52:08 +0000 (21:52 +0000)]
Fix infinite redirect bug. (SF bug #132843.)

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

23 years agoMissing semicolon on line 49, fixed.
wainstead [Sat, 17 Feb 2001 18:05:47 +0000 (18:05 +0000)]
Missing semicolon on line 49, fixed.

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

23 years agoFix typo.
dairiki [Sat, 17 Feb 2001 05:36:21 +0000 (05:36 +0000)]
Fix typo.

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

23 years agoRemove notes about $pagehash['refs'].
dairiki [Sat, 17 Feb 2001 05:35:56 +0000 (05:35 +0000)]
Remove notes about $pagehash['refs'].

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

23 years agoFixed my bug: date header in RecentChanges not updating correctly.
dairiki [Sat, 17 Feb 2001 00:47:08 +0000 (00:47 +0000)]
Fixed my bug: date header in RecentChanges not updating correctly.

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

23 years agoSmall bug fix
dairiki [Fri, 16 Feb 2001 05:10:54 +0000 (05:10 +0000)]
Small bug fix

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

23 years agoAdded support for creating our own NCSA style access_log's.
dairiki [Fri, 16 Feb 2001 04:43:08 +0000 (04:43 +0000)]
Added support for creating our own NCSA style access_log's.

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

23 years agowtm_table: Make LEFT, rather than CENTERED the default alignment
dairiki [Thu, 15 Feb 2001 21:37:08 +0000 (21:37 +0000)]
wtm_table: Make LEFT, rather than CENTERED the default alignment
for table cells.  I just went and edited some tables, and left
justification was what I wanted most often.  Also agrees with HTML.

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

23 years agoNew template token ###ROBOTS_META### to (attempt to) keep robots from
dairiki [Thu, 15 Feb 2001 21:35:03 +0000 (21:35 +0000)]
New template token ###ROBOTS_META### to (attempt to) keep robots from
indexing pages other than the 'action=browse' page.

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

23 years agoWhen creating default contents for non-existant pages, put [brackets]
dairiki [Thu, 15 Feb 2001 21:33:40 +0000 (21:33 +0000)]
When creating default contents for non-existant pages, put [brackets]
around page names which aren't BumpyWords.

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

23 years agoRemove alternate colors for links, per Steve's request.
dairiki [Thu, 15 Feb 2001 21:33:06 +0000 (21:33 +0000)]
Remove alternate colors for links, per Steve's request.

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

23 years agoMinor bug/warning fixes.
dairiki [Thu, 15 Feb 2001 19:32:55 +0000 (19:32 +0000)]
Minor bug/warning fixes.

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

23 years agoIf we're expecting PATH_INFO, and don't get it, redirect to REQUEST_URI
dairiki [Thu, 15 Feb 2001 19:32:34 +0000 (19:32 +0000)]
If we're expecting PATH_INFO, and don't get it, redirect to REQUEST_URI
with a trailing '/' added.   This is to make the index.php script look
more like a 'directory', for consistencies sake.

Also apparently $PATH_INFO gets magic-quoted, so un-magic that.

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

23 years agoFixed (I think) SF bug #132469. The problem was that the value
dairiki [Thu, 15 Feb 2001 05:57:18 +0000 (05:57 +0000)]
Fixed (I think) SF bug #132469.  The problem was that the value
for VIRTUAL_PATH being auto-deduced by lib/config.php was wrong.

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

23 years agoVarious minor bug fixes and cleanups.
dairiki [Wed, 14 Feb 2001 22:02:05 +0000 (22:02 +0000)]
Various minor bug fixes and cleanups.

Also added the following new minor featurelets:
  Comments in index.php indicating how to set the PHP include_path if
  necessary.

  New config variable $DisabledActions --- one can list actions (eg.
  dumpserial) which should not be allowed, even by the administrator.

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

23 years agolog
dairiki [Wed, 14 Feb 2001 05:22:49 +0000 (05:22 +0000)]
log

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

23 years agolog
dairiki [Tue, 13 Feb 2001 05:54:38 +0000 (05:54 +0000)]
log

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

23 years agolog
dairiki [Mon, 12 Feb 2001 01:43:10 +0000 (01:43 +0000)]
log

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