]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
SourceForge/phpwiki.git
20 years agoIncremented release version.
carstenklapp [Mon, 22 Dec 2003 04:58:11 +0000 (04:58 +0000)]
Incremented release version.

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

20 years agoMinor bugfix: Fixed broken debug argument.
carstenklapp [Sun, 21 Dec 2003 00:29:45 +0000 (00:29 +0000)]
Minor bugfix: Fixed broken debug argument.

Internal changes: Only create a DebugTimer when actually called for;
moved debug message out of page content and into deferred page error
notification via trigger_error. Memory management: Only include_once
lib/PageList when absolutely necessary (at this time, this will
probably only benefit the PluginManager as an incremental speedup &
slightly reduced memory).

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

20 years agoInternal change: Added rcs Log tag & emacs php mode tag (sorry, forgot
carstenklapp [Sat, 20 Dec 2003 23:59:19 +0000 (23:59 +0000)]
Internal change: Added rcs Log tag & emacs php mode tag (sorry, forgot
this in the last commit).

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

20 years agoMinor internal change: Reformatted DEBUGging output of templates.
carstenklapp [Sat, 20 Dec 2003 23:54:15 +0000 (23:54 +0000)]
Minor internal change: Reformatted DEBUGging output of templates.

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

20 years agoBugfix: Enclose FullTextSearch query with quotes when the [Wiki Word]
carstenklapp [Fri, 19 Dec 2003 06:57:49 +0000 (06:57 +0000)]
Bugfix: Enclose FullTextSearch query with quotes when the [Wiki Word]
contains spaces.

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

20 years agoInternal change: synced with recent modifications to head.tmpl
carstenklapp [Thu, 18 Dec 2003 20:52:32 +0000 (20:52 +0000)]
Internal change: synced with recent modifications to head.tmpl

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

20 years agoRebuilt po/mo files for new plugins to prepare for next PhpWiki release.
carstenklapp [Thu, 18 Dec 2003 03:54:39 +0000 (03:54 +0000)]
Rebuilt po/mo files for new plugins to prepare for next PhpWiki release.

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

20 years agoInternal change: Ran make dep to add new plugins for localization.
carstenklapp [Wed, 17 Dec 2003 20:28:10 +0000 (20:28 +0000)]
Internal change: Ran make dep to add new plugins for localization.

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

20 years agoInternal changes to prepare for an upcoming feature: Added some
carstenklapp [Sun, 14 Dec 2003 05:36:31 +0000 (05:36 +0000)]
Internal changes to prepare for an upcoming feature: Added some
conditions and alternate phrases (alternate wording of text srings
when referring to a non-existant page (i.e. WikiLink 'unknown')) when
calling the BackLinks plugin *within* a non-existant page, such as
from within an editpage or browse template while editing a new page.

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

20 years agoQuickFix for invalid Message-Id header format.
carstenklapp [Fri, 12 Dec 2003 01:08:30 +0000 (01:08 +0000)]
QuickFix for invalid Message-Id header format.

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

20 years agoNew feature: Plugin to download page dumps of individual pages. In the
carstenklapp [Fri, 12 Dec 2003 01:01:46 +0000 (01:01 +0000)]
New feature: Plugin to download page dumps of individual pages. In the
future this could be used as a rudimentary way to sync pages between
wikis.
Internal changes: enhanced and renamed from the experimental
_MailifyPage plugin.

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

20 years agoNew feature: Plugin to download page dumps of individual pages. In the
carstenklapp [Fri, 12 Dec 2003 00:52:55 +0000 (00:52 +0000)]
New feature: Plugin to download page dumps of individual pages. In the
future this could be used as a rudimentary way to sync pages between
wikis.
Internal changes: enhanced and renamed from the experimental
_MailifyPage plugin.

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

20 years agoFixed php syntax error. Text rewording. (Note that automatic homepage
carstenklapp [Thu, 11 Dec 2003 20:37:13 +0000 (20:37 +0000)]
Fixed php syntax error. Text rewording. (Note that automatic homepage
creation is not ready yet.)

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

20 years agoInternal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated
carstenklapp [Thu, 11 Dec 2003 19:38:29 +0000 (19:38 +0000)]
Internal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated

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

20 years agoInternal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated
carstenklapp [Thu, 11 Dec 2003 00:57:29 +0000 (00:57 +0000)]
Internal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated

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

20 years agoNew features: Also show plugin pages for localized variants.
carstenklapp [Wed, 10 Dec 2003 01:01:24 +0000 (01:01 +0000)]
New features: Also show plugin pages for localized variants.
Gracefully handle broken plugins in the plugins folder (such as other
lingering php files).

Bugfix: Cleaned up Php warnings related to oddities of UserPreference
plugin (whose default value contains an array).

Internal changes: Gave GoodVariableNames to the nightmarish
ones. Simplified some code with WikiLink 'if_known'.

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

20 years agoBugfix: The last BogoUserPrefs-bugfix prevented the admin from saving
carstenklapp [Tue, 9 Dec 2003 20:00:43 +0000 (20:00 +0000)]
Bugfix: The last BogoUserPrefs-bugfix prevented the admin from saving
prefs into his own homepage, fixed broken logic. Tightened up BogoUser
prefs saving ability by checking for true existance of homepage
(previously a page revision of 0 also counted as valid, again due to
somewhat flawed logic).

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

20 years agoCSS tweaks: Polish off diff appearance. Less obtrusive highlight
carstenklapp [Tue, 9 Dec 2003 06:04:42 +0000 (06:04 +0000)]
CSS tweaks: Polish off diff appearance. Less obtrusive highlight
for pagelist table hover.

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

20 years agoCode cleanup: fixed rcsid
carstenklapp [Mon, 8 Dec 2003 22:44:58 +0000 (22:44 +0000)]
Code cleanup: fixed rcsid

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

20 years agoNew experimental plugin to provide a different kind of
carstenklapp [Mon, 8 Dec 2003 22:43:30 +0000 (22:43 +0000)]
New experimental plugin to provide a different kind of
PageHistory. Functional as-is, but is in need of much cleanup and
refactoring. Probably very, very slow on wikis with many pages!

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

20 years agoBugfix: Concurrent updates broken since after 1.3.4 release: Fatal
carstenklapp [Sun, 7 Dec 2003 20:35:26 +0000 (20:35 +0000)]
Bugfix: Concurrent updates broken since after 1.3.4 release: Fatal
error: Call to undefined function: gettransformedcontent() in
/home/groups/p/ph/phpwiki/htdocs/phpwiki2/lib/editpage.php on line
205.

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

20 years agoCode Housecleaning: fixed syntax errors. (php -l *.php)
carstenklapp [Sun, 7 Dec 2003 19:29:48 +0000 (19:29 +0000)]
Code Housecleaning: fixed syntax errors. (php -l *.php)

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

20 years agoCode Housecleaning: adjust line-endings to unix style.
carstenklapp [Sun, 7 Dec 2003 19:23:48 +0000 (19:23 +0000)]
Code Housecleaning: adjust line-endings to unix style.

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

20 years agoFinished off logic for determining user class, including
carstenklapp [Sat, 6 Dec 2003 19:10:46 +0000 (19:10 +0000)]
Finished off logic for determining user class, including
PassUser. Removed ability of BogoUser to save prefs into a page.

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

20 years agoSecurity bugfix (minor): Prevent BogoUser~s from saving extraneous
carstenklapp [Sat, 6 Dec 2003 04:56:23 +0000 (04:56 +0000)]
Security bugfix (minor): Prevent BogoUser~s from saving extraneous
_pref object meta-data within locked pages.

Previously, BogoUser~s who signed in with a (valid) WikiWord such as
"HomePage" could actually save preferences into that page, even though
it was already locked by the administrator. Thus, any subsequent
WikiLink~s to that page would become prefixed with "that nice little"
UserIcon, as if that page represented a valid user.

Note that the admin can lock (even) non-existant pages as desired or
necessary (i.e. any DB page whose revision==0), to prevent the
arbitrary BogoUser from saving preference metadata into such a page;
for example, the silly WikiName "@qmgi`Vcft_x|" (that is the
\$examplechars presented in login.tmpl, in case it is not visible here
in the CVS comments).

http://phpwiki.sourceforge.net/phpwiki/
%C0%F1%ED%E7%E9%E0%D6%E3%E6%F4%DF%F8%FC?action=lock

To remove the prefs metadata from a page, the admin can use the
EditMetaData plugin, enter pref as the key, leave the value box empty
and then submit the change. For example:

http://phpwiki.sourceforge.net/phpwiki/
_EditMetaData?page=%C0%F1%ED%E7%E9%E0%D6%E3%E6%F4%DF%F8%FC

(It seems a rethinking of WikiUserNew.php with its WikiUser and
UserPreferences classes is in order. Ideally the WikiDB would
transparently handle such a situation, perhaps BogoUser~s should
simply be restricted to saving preferences into a cookie until his/her
e-mail address has been verified.)

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

20 years agoRemoved duplicate definition of _sql_match_clause and __fullsearch_sql_match_clause...
zorloc [Fri, 5 Dec 2003 23:52:17 +0000 (23:52 +0000)]
Removed duplicate definition of _sql_match_clause and __fullsearch_sql_match_clause -- jbw

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

20 years agoCSS tweaks: Removed the recently added border from definition lists
carstenklapp [Fri, 5 Dec 2003 20:54:14 +0000 (20:54 +0000)]
CSS tweaks: Removed the recently added border from definition lists
<dl>. It looks very bad with OldStyleMarkup, where dl~s were often
used to simply indent text.

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

20 years agoACK! gettext is not available at this point in index.php.
carstenklapp [Fri, 5 Dec 2003 16:00:42 +0000 (16:00 +0000)]
ACK! gettext is not available at this point in index.php.

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

20 years agoAdded note that use of the configurator is depreciated.
carstenklapp [Fri, 5 Dec 2003 15:51:37 +0000 (15:51 +0000)]
Added note that use of the configurator is depreciated.

Enable localization/gettextification of $KeywordLinkRegexp. (Also, now
users not familiar with regex can more easily just edit the $keywords
array).

Added four new constants to define author and copyright link rel~s
used in html head. This makes it easier to run multiple wikis off of
one set of code.

Eliminated RECENT_CHANGES constant for RSS auto discovery because it's
another step to watch out for when running a non-english wiki. Now
simply defined as _("RecentChanges") in head.tmpl itself. Non-standard
wikis where the RecentChanges page has been named to something else
will have to modify this in head.tmpl (along with all other places the
word RecentChanges appears in the code, something that already would
have had to be done on such a wiki anyway).

Added a little more info and instructions to flesh out:
DEBUG, WIKI_NAME, ADMIN_USER, $DisabledActions, $DBParams, CHARSET.

A few typos and spelling mistakes corrected, and some text rewrapped.

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

20 years agoImprovements: to make it easier to run multiple wikis off of one set
carstenklapp [Fri, 5 Dec 2003 15:36:39 +0000 (15:36 +0000)]
Improvements: to make it easier to run multiple wikis off of one set
of code, urls for link rel author and copyright now defined in
index.php.
Bugfix: updated language meta tag to use DEFAULT_LANGUAGE constant
instead of old LANG global.
Internal change: Eliminated RECENT_CHANGES constant from RSS link,
just use the easily localizable _("RecentChanges").
Typo fixed.

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

20 years agoWrong file committed :/ sorry.
carstenklapp [Fri, 5 Dec 2003 15:01:49 +0000 (15:01 +0000)]
Wrong file committed :/ sorry.

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

20 years agotypo fixed
carstenklapp [Fri, 5 Dec 2003 01:37:42 +0000 (01:37 +0000)]
typo fixed

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

20 years agoNew feature: Easier to run multiple wiks off of one set of code. Name
carstenklapp [Fri, 5 Dec 2003 01:32:28 +0000 (01:32 +0000)]
New feature: Easier to run multiple wiks off of one set of code. Name
your logo and signature image files "YourWikiNameLogo.png" and
"YourWikiNameSignature.png" and put them all into
themes/default/images. YourWikiName should match what is defined as
WIKI_NAME in index.php. In case the image is not found, the default
shipped with PhpWiki will be used.

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

20 years agoUpdated German LikePages page name to match new translation in
carstenklapp [Thu, 4 Dec 2003 22:45:58 +0000 (22:45 +0000)]
Updated German LikePages page name to match new translation in
de.po. Old page redirects to new.

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

20 years agoAdded missing markup2 flag
carstenklapp [Thu, 4 Dec 2003 21:36:58 +0000 (21:36 +0000)]
Added missing markup2 flag

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

20 years agoUse the API.
carstenklapp [Thu, 4 Dec 2003 20:27:00 +0000 (20:27 +0000)]
Use the API.

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

20 years agoBugfix: Under certain PhpWiki installations (such as the PhpWiki at
carstenklapp [Thu, 4 Dec 2003 19:33:30 +0000 (19:33 +0000)]
Bugfix: Under certain PhpWiki installations (such as the PhpWiki at
SF), the user was unable to select a theme other than the server's
default. (Use the more robust Theme::findFile instead of PHP's
file_exists function to detect installed themes).

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

20 years agoMore cleanup of UserPreferences.
carstenklapp [Thu, 4 Dec 2003 19:21:10 +0000 (19:21 +0000)]
More cleanup of UserPreferences.

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

20 years agoAdded admin user, password user, and preference classes. Added
carstenklapp [Wed, 3 Dec 2003 21:45:48 +0000 (21:45 +0000)]
Added admin user, password user, and preference classes. Added
password checking functions for users and the admin. (Now the easy
parts are nearly done).

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

20 years agoMinor new feature: Added 'PurgeHtmlCache' "convenience" button for the
carstenklapp [Wed, 3 Dec 2003 02:09:26 +0000 (02:09 +0000)]
Minor new feature: Added 'PurgeHtmlCache' "convenience" button for the
admin and for everyone when DEBUGging, to purge html cache for only
the current page. (Admin can still purge the html cache for all pages
in PhpWikiAdministration).

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

20 years agoMinor enhancement: Provide more meaningful filenames for WikiDB zip
carstenklapp [Tue, 2 Dec 2003 16:18:26 +0000 (16:18 +0000)]
Minor enhancement: Provide more meaningful filenames for WikiDB zip
dumps & snapshots.

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

20 years agoComplete rewrite of WikiUser.php.
carstenklapp [Tue, 2 Dec 2003 05:46:36 +0000 (05:46 +0000)]
Complete rewrite of WikiUser.php.

This should make it easier to hook in user permission groups etc. some
time in the future. Most importantly, to finally get UserPreferences
fully working properly for all classes of users: AnonUser, BogoUser,
AdminUser; whether they have a NamesakePage (PersonalHomePage) or not,
want a cookie or not, and to bring back optional AutoLogin with the
UserName stored in a cookie--something that was lost after PhpWiki had
dropped the default http auth login method.

Added WikiUser classes which will (almost) work together with existing
UserPreferences class. Other parts of PhpWiki need to be updated yet
before this code can be hooked up.

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

20 years agoBugfix: Ongoing work to untangle UserPreferences/WikiUser/request code
carstenklapp [Tue, 2 Dec 2003 00:10:00 +0000 (00:10 +0000)]
Bugfix: Ongoing work to untangle UserPreferences/WikiUser/request code
mess: UserPreferences should take effect immediately now upon signing
in.

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

20 years agoCleaned up php empty var warnings.
carstenklapp [Mon, 1 Dec 2003 22:54:56 +0000 (22:54 +0000)]
Cleaned up php empty var warnings.

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

20 years agoBugfix: UserPreferences are no longer clobbered when signing in after
carstenklapp [Mon, 1 Dec 2003 22:23:01 +0000 (22:23 +0000)]
Bugfix: UserPreferences are no longer clobbered when signing in after
the previous session has ended (i.e. user closed browser then signed
in again). This is still a bit of a mess, and the preferences do not
take effect until the next page browse/link has been clicked.

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

20 years agoFormatting: Updated css to hide new & renamed page elements for
carstenklapp [Mon, 1 Dec 2003 18:58:56 +0000 (18:58 +0000)]
Formatting: Updated css to hide new & renamed page elements for
printing, and a few other tweaks.

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

20 years agoCSS adjustments: added default print stylesheet for auto browser
carstenklapp [Mon, 1 Dec 2003 18:47:24 +0000 (18:47 +0000)]
CSS adjustments: added default print stylesheet for auto browser
selection when printing.

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

20 years agoCSS adjustments: Added Printer stylesheet back in as an alternate
carstenklapp [Mon, 1 Dec 2003 18:45:47 +0000 (18:45 +0000)]
CSS adjustments: Added Printer stylesheet back in as an alternate
screen-selectable CSS.

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

20 years agoNew alternate stylesheet with fixed toolbars (for Mozilla, Firebird,
carstenklapp [Mon, 1 Dec 2003 15:16:07 +0000 (15:16 +0000)]
New alternate stylesheet with fixed toolbars (for Mozilla, Firebird,
etc.). Removed modern stylesheet (really only for default theme).

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

20 years agoMinor code optimization: Only generate signout button when necessary.
carstenklapp [Sun, 30 Nov 2003 19:52:03 +0000 (19:52 +0000)]
Minor code optimization: Only generate signout button when necessary.

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

20 years agoVisual tweak: Ensure identical vertical alignment for adjacent form
carstenklapp [Sun, 30 Nov 2003 19:35:09 +0000 (19:35 +0000)]
Visual tweak: Ensure identical vertical alignment for adjacent form
buttons.

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

20 years agoVisual tweak: Try to improve/match vertical alignment of
carstenklapp [Sun, 30 Nov 2003 19:33:53 +0000 (19:33 +0000)]
Visual tweak: Try to improve/match vertical alignment of
signin/signout with rest of action buttons.

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

20 years agoFixed careless mistakes in my last optimization commit.
carstenklapp [Sun, 30 Nov 2003 18:43:18 +0000 (18:43 +0000)]
Fixed careless mistakes in my last optimization commit.

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

20 years agoCode housekeeping: PEAR coding standards reformatting only.
carstenklapp [Sun, 30 Nov 2003 18:23:48 +0000 (18:23 +0000)]
Code housekeeping: PEAR coding standards reformatting only.

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

20 years agoMinor code optimization: reduce invariant loops
carstenklapp [Sun, 30 Nov 2003 18:20:34 +0000 (18:20 +0000)]
Minor code optimization: reduce invariant loops

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

20 years agoMinor code optimization: use include_once instead of require_once
carstenklapp [Sun, 30 Nov 2003 18:18:13 +0000 (18:18 +0000)]
Minor code optimization: use include_once instead of require_once
inside functions that might not always called.

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

20 years agoInternal change: Refactored ByteFormatter code into a new function in
carstenklapp [Sat, 29 Nov 2003 20:13:38 +0000 (20:13 +0000)]
Internal change: Refactored ByteFormatter code into a new function in
stdlib (now used by PageList too).

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

20 years agoNew features: Added two new column types 'size' and 'content' (first 50
carstenklapp [Sat, 29 Nov 2003 20:06:43 +0000 (20:06 +0000)]
New features: Added two new column types 'size' and 'content' (first 50
bytes shown only). Added new "action" column 'remove' to help admin
remove multiple pages (at least a little bit) easier.

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

20 years agoNew function ByteFormatter.
carstenklapp [Sat, 29 Nov 2003 19:30:01 +0000 (19:30 +0000)]
New function ByteFormatter.

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

20 years agoNew small admin "Remove" button for PageList~s etc.
carstenklapp [Sat, 29 Nov 2003 03:16:44 +0000 (03:16 +0000)]
New small admin "Remove" button for PageList~s etc.

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

20 years agoEnhancement: Mozilla RecentChanges sidebar now defaults to 10 changes
carstenklapp [Fri, 28 Nov 2003 21:06:31 +0000 (21:06 +0000)]
Enhancement: Mozilla RecentChanges sidebar now defaults to 10 changes
instead of 1. Make diff buttons smaller with css. Added description
line back in at the top.

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

20 years agoUpdate: Omit page cache object ('_cached_html') from metadata display.
carstenklapp [Thu, 27 Nov 2003 17:05:41 +0000 (17:05 +0000)]
Update: Omit page cache object ('_cached_html') from metadata display.

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

20 years agoUpdate: Added tightenable styles from default css (long overdue).
carstenklapp [Thu, 27 Nov 2003 16:47:11 +0000 (16:47 +0000)]
Update: Added tightenable styles from default css (long overdue).
Formatting changes: Wrap text in RC lists past diff buttons.

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

20 years agoTheme & appearance tweaks: Converted Mozilla sidebar link into a Theme
carstenklapp [Thu, 27 Nov 2003 15:17:01 +0000 (15:17 +0000)]
Theme & appearance tweaks: Converted Mozilla sidebar link into a Theme
button, to allow an image button for it to be added to Themes. Output
RSS button in small text size when theme has no button image.

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

20 years agoRedo bugfix: My last refactoring broke merge-edit & overwrite
carstenklapp [Wed, 26 Nov 2003 20:47:47 +0000 (20:47 +0000)]
Redo bugfix: My last refactoring broke merge-edit & overwrite
functionality again, should be fixed now. Sorry.

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

20 years agoWrong file committed, sorry (stale browser cache).
carstenklapp [Wed, 26 Nov 2003 17:46:18 +0000 (17:46 +0000)]
Wrong file committed, sorry (stale browser cache).

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

20 years agoAdded table of contents with named anchors and reverse anchors. Text
carstenklapp [Wed, 26 Nov 2003 17:38:18 +0000 (17:38 +0000)]
Added table of contents with named anchors and reverse anchors. Text
reformatting.

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

20 years agoLocalization bugfix: For wikis where English is not the default system
carstenklapp [Tue, 25 Nov 2003 22:55:32 +0000 (22:55 +0000)]
Localization bugfix: For wikis where English is not the default system
language, make sure that the authority error message (i.e. "You must
sign in to edit pages in this wiki" etc.) is displayed in the wiki's
default language. Previously it would always display in English.
(Added call to update_locale() before displaying any messages prior to
the login prompt.)

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

20 years agoNew German localized plugin page for PageInfo.
carstenklapp [Tue, 25 Nov 2003 22:03:44 +0000 (22:03 +0000)]
New German localized plugin page for PageInfo.

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

20 years agoBugfix: reverting this file to CVS Revision 1.18, since the localized
carstenklapp [Tue, 25 Nov 2003 21:58:33 +0000 (21:58 +0000)]
Bugfix: reverting this file to CVS Revision 1.18, since the localized
ActionPages finder problem was with lib/main.php and not really in
here. (See main.php,v 1.101 2003/11/25 21:49:44).

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

20 years agoBugfix: For a non-english wiki or when the user's preference is not
carstenklapp [Tue, 25 Nov 2003 21:49:44 +0000 (21:49 +0000)]
Bugfix: For a non-english wiki or when the user's preference is not
english, the wiki would always use the english ActionPage first if it
was present rather than the appropriate localised variant. (PhpWikis
running only in english or Wikis running ONLY without any english
ActionPages would not notice this bug, only when both english and
localised ActionPages were in the DB.) Now we check for the localised
variant first.

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

20 years agoBugfix: DebugInfo button now no longer displays when DEBUG is defined
carstenklapp [Tue, 25 Nov 2003 21:14:12 +0000 (21:14 +0000)]
Bugfix: DebugInfo button now no longer displays when DEBUG is defined
as 0 in index.php (sync with earlier change to Portland/templates).

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

20 years agoFormatting changes: <br> past logo before displaying login
carstenklapp [Tue, 25 Nov 2003 16:36:53 +0000 (16:36 +0000)]
Formatting changes: <br> past logo before displaying login
instructions, in case logo is tall.

New feature: Added call to TransformText of BlockParser, to allow
WikiLinks within login instructions. (Localizations of login
instructions will have to be updated.)

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

20 years agoButton graphic improvements: added alpha channels.
carstenklapp [Tue, 25 Nov 2003 15:48:08 +0000 (15:48 +0000)]
Button graphic improvements: added alpha channels.

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

20 years agoNew German Cancel button.
carstenklapp [Sun, 23 Nov 2003 18:01:13 +0000 (18:01 +0000)]
New German Cancel button.

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

20 years agoNew plugin to list names of SubPages of the currrent
carstenklapp [Sun, 23 Nov 2003 16:33:02 +0000 (16:33 +0000)]
New plugin to list names of SubPages of the currrent
page. (Unfortunately this plugin reveals a bug in
stdlib/explodePageList(), the function doesn't seem to work as
expected when there are no subpages (see also UnfoldSubPages plugin).

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

20 years agoYellow highlight for mouseover in pagelist tables. Inspired by
carstenklapp [Sat, 22 Nov 2003 21:39:19 +0000 (21:39 +0000)]
Yellow highlight for mouseover in pagelist tables. Inspired by
javascript from www.dict.cc (css can do it in one line of code! heheh)

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

20 years agoRenamed SandBox (from Austrian dialect SandKiste to German dialect
carstenklapp [Sat, 22 Nov 2003 21:18:48 +0000 (21:18 +0000)]
Renamed SandBox (from Austrian dialect SandKiste to German dialect
SandKasten). Old page redirects to new.

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

20 years agoRebuild po files due to new strings.
carstenklapp [Sat, 22 Nov 2003 18:05:12 +0000 (18:05 +0000)]
Rebuild po files due to new strings.

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

20 years agoA few new strings after rebuilding po files.
carstenklapp [Sat, 22 Nov 2003 18:02:13 +0000 (18:02 +0000)]
A few new strings after rebuilding po files.

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

20 years agoMinor internal change: Removed redundant call to gettext within
carstenklapp [Sat, 22 Nov 2003 17:58:43 +0000 (17:58 +0000)]
Minor internal change: Removed redundant call to gettext within
fmt(). (locale make: head.tmpl:49: warning: keyword nested in keyword
arg)

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

20 years agoMinor internal change: Removed redundant call to gettext within
carstenklapp [Sat, 22 Nov 2003 17:54:50 +0000 (17:54 +0000)]
Minor internal change: Removed redundant call to gettext within
fmt(). (locale make: RedirectTo.php:81: warning: keyword nested in
keyword arg)

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

20 years agoMinor internal change: Removed redundant call to gettext within
carstenklapp [Sat, 22 Nov 2003 17:50:32 +0000 (17:50 +0000)]
Minor internal change: Removed redundant call to gettext within
fmt(). (locale make: RawHtml.php:65: warning: keyword nested in
keyword arg)

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

20 years agoMinor internal change: Removed redundant call to gettext within
carstenklapp [Sat, 22 Nov 2003 17:41:42 +0000 (17:41 +0000)]
Minor internal change: Removed redundant call to gettext within
fmt(). (locale make: EditMetaData.php:113: warning: keyword nested in
keyword arg)

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

20 years agoBugfix: Some <link rel=...> links in Mozilla/iCab were always linking
carstenklapp [Fri, 21 Nov 2003 23:06:12 +0000 (23:06 +0000)]
Bugfix: Some <link rel=...> links in Mozilla/iCab were always linking
to the english pages even when DEFAULT_LANGUAGE != 'en'. (Rewrapped
text for a more complete xgettext string extraction: 'cd
phpwiki/locale;make' to update po/mo files).

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

20 years agoBugfix: When DEFAULT_LANGUAGE was not 'en', a user's language prefs
carstenklapp [Fri, 21 Nov 2003 21:32:39 +0000 (21:32 +0000)]
Bugfix: When DEFAULT_LANGUAGE was not 'en', a user's language prefs
would revert to 'en' when the default <system language> was selected
in UserPreferences and the user saved his preferences. (Check for
empty or blank language pref in sanify function of class
_UserPreference_language and return DEFAULT_LANGUAGE if nothing or
default selected in UserPreferences.)

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

20 years agoAdded new english pages and synced with latest mods to German
carstenklapp [Fri, 21 Nov 2003 20:20:58 +0000 (20:20 +0000)]
Added new english pages and synced with latest mods to German
translations.

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

20 years agoBugfix: login.tmpl was always displayed in English despite
carstenklapp [Fri, 21 Nov 2003 16:54:58 +0000 (16:54 +0000)]
Bugfix: login.tmpl was always displayed in English despite
DEFAULT_LANGUAGE set in index.php. (Added call to
update_locale(DEFAULT_LANGUAGE) before printing login form).

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

20 years agoNew feature: h1 during merge-edit displays WikiLink to original page.
carstenklapp [Thu, 20 Nov 2003 22:18:54 +0000 (22:18 +0000)]
New feature: h1 during merge-edit displays WikiLink to original page.
Internal changes: Replaced some hackish url-generation code in
function SavePage (for pgsrc merge-edit) with appropriate Button()
calls.

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

20 years agoAdded css-formatting for definition lists (dl/dt/dd), also used by
carstenklapp [Thu, 20 Nov 2003 20:51:06 +0000 (20:51 +0000)]
Added css-formatting for definition lists (dl/dt/dd), also used by
FullTextSearch results list. Tested with Mozilla, IE5Mac, OmniWeb and
Safari (both use same engines as Konquorer so it should look the same
there). Not yet tested against Netscape 4.

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

20 years agoUndoing part of the last commit. WikiLinks in toolbar should remain
carstenklapp [Thu, 20 Nov 2003 20:05:53 +0000 (20:05 +0000)]
Undoing part of the last commit. WikiLinks in toolbar should remain
WikiLink()s and not Button()s, else they become ActionPages. (sorry)

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

20 years agoBugfix: DebugInfo button and debug stats now no longer display when
carstenklapp [Thu, 20 Nov 2003 19:52:36 +0000 (19:52 +0000)]
Bugfix: DebugInfo button and debug stats now no longer display when
using the Portland theme and DEBUG is defined as 0 in index.php.

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

20 years agoMoved Portland-specific debugging code from the "default theme"
carstenklapp [Thu, 20 Nov 2003 19:47:48 +0000 (19:47 +0000)]
Moved Portland-specific debugging code from the "default theme"
template into its own debug.tmpl in the Portland dir.

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

20 years agoMoved debugging for Portland theme into its own template.
carstenklapp [Thu, 20 Nov 2003 19:45:57 +0000 (19:45 +0000)]
Moved debugging for Portland theme into its own template.

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

20 years ago----------------------------------------------------------------------
carstenklapp [Thu, 20 Nov 2003 19:28:47 +0000 (19:28 +0000)]
----------------------------------------------------------------------
----------------------------------------------------------------------
Bugfix: Localized LikePages and BackLinks were using the english pages
instead of the localized variants. Other minor code refactoring
(WikiLink()--->Button()).

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

20 years agoNew feature: Clicking on the number of citations in the links column
carstenklapp [Wed, 19 Nov 2003 17:08:23 +0000 (17:08 +0000)]
New feature: Clicking on the number of citations in the links column
now does a FullTextSearch for the WantedPage link!

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

20 years agoInclude found locale-specific pages for the current (non-English)
carstenklapp [Wed, 19 Nov 2003 00:02:42 +0000 (00:02 +0000)]
Include found locale-specific pages for the current (non-English)
locale.

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

20 years agoNew theme buttons for admin page-load function.
carstenklapp [Tue, 18 Nov 2003 19:59:33 +0000 (19:59 +0000)]
New theme buttons for admin page-load function.

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

20 years agoFixed missing gettext _() for button name.
carstenklapp [Tue, 18 Nov 2003 19:48:01 +0000 (19:48 +0000)]
Fixed missing gettext _() for button name.

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

20 years agoRebuilt Makefile dep and all po files due to new files and strings.
carstenklapp [Tue, 18 Nov 2003 19:30:36 +0000 (19:30 +0000)]
Rebuilt Makefile dep and all po files due to new files and strings.

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