SourceForge logo
SourceForge logo
Menu

phpwiki-talk

You can subscribe to this list here.

2000 Jan
Feb
Mar
Apr
May
(1)
Jun
(103)
Jul
(105)
Aug
(16)
Sep
(16)
Oct
(78)
Nov
(36)
Dec
(58)
2001 Jan
(100)
Feb
(155)
Mar
(84)
Apr
(33)
May
(22)
Jun
(77)
Jul
(36)
Aug
(37)
Sep
(183)
Oct
(74)
Nov
(235)
Dec
(165)
2002 Jan
(187)
Feb
(183)
Mar
(52)
Apr
(10)
May
(15)
Jun
(19)
Jul
(43)
Aug
(90)
Sep
(144)
Oct
(144)
Nov
(171)
Dec
(78)
2003 Jan
(113)
Feb
(99)
Mar
(80)
Apr
(44)
May
(35)
Jun
(32)
Jul
(34)
Aug
(34)
Sep
(30)
Oct
(57)
Nov
(97)
Dec
(139)
2004 Jan
(132)
Feb
(223)
Mar
(300)
Apr
(221)
May
(171)
Jun
(286)
Jul
(188)
Aug
(107)
Sep
(97)
Oct
(106)
Nov
(139)
Dec
(125)
2005 Jan
(200)
Feb
(116)
Mar
(68)
Apr
(158)
May
(70)
Jun
(80)
Jul
(55)
Aug
(52)
Sep
(92)
Oct
(141)
Nov
(86)
Dec
(41)
2006 Jan
(35)
Feb
(62)
Mar
(59)
Apr
(52)
May
(51)
Jun
(61)
Jul
(30)
Aug
(36)
Sep
(12)
Oct
(4)
Nov
(22)
Dec
(34)
2007 Jan
(49)
Feb
(19)
Mar
(37)
Apr
(16)
May
(9)
Jun
(38)
Jul
(17)
Aug
(31)
Sep
(16)
Oct
(34)
Nov
(4)
Dec
(8)
2008 Jan
(8)
Feb
(16)
Mar
(14)
Apr
(6)
May
(4)
Jun
(5)
Jul
(9)
Aug
(36)
Sep
(6)
Oct
(3)
Nov
(3)
Dec
(3)
2009 Jan
(14)
Feb
(2)
Mar
(7)
Apr
(16)
May
(2)
Jun
(10)
Jul
(1)
Aug
(10)
Sep
(11)
Oct
(4)
Nov
(2)
Dec
2010 Jan
(1)
Feb
Mar
(13)
Apr
(11)
May
(18)
Jun
(44)
Jul
(7)
Aug
(2)
Sep
(14)
Oct
Nov
(6)
Dec
2011 Jan
(2)
Feb
(6)
Mar
(3)
Apr
(2)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2012 Jan
(11)
Feb
(3)
Mar
(11)
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(4)
Dec
2013 Jan
Feb
Mar
Apr
(3)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2014 Jan
Feb
Mar
Apr
May
(4)
Jun
Jul
Aug
Sep
Oct
Nov
(8)
Dec
(1)
2015 Jan
(3)
Feb
(2)
Mar
Apr
(3)
May
(1)
Jun
Jul
(1)
Aug
Sep
Oct
Nov
Dec
(2)
2016 Jan
Feb
(4)
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2017 Jan
Feb
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
(3)
Jun
(1)
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
(5)
Aug
Sep
Oct
Nov
Dec
2021 Jan
Feb
(4)
Mar
Apr
May
Jun
Jul
(1)
Aug
(6)
Sep
(3)
Oct
Nov
Dec
2022 Jan
(11)
Feb
(2)
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2023 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(3)
Dec
(3)
2024 Jan
(7)
Feb
(2)
Mar
(1)
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
Feb
Mar
Apr
(1)
May
(1)
Jun
Jul
(3)
Aug
Sep
(5)
Oct
Nov
Dec

Showing results of 7779

<< < 1 .. 18 19 20 21 22 .. 312 > >> (Page 20 of 312)
From: Lothar, G. <Lot...@ED...> - 2007年10月09日 18:43:50
No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.5/1058 - Release Date: 08.10.2007 =
16:54
From: Morgan A. <mak...@ma...> - 2007年10月09日 16:54:25
On Oct 9, 2007, at 10:30 AM, Reini Urban wrote:
> Try to add the missing tables manually from schemas/mysql- 
> initialize.sql and
> continue then with ?action=upgrade.
>
> CREATE TABLE session (
> 	sess_id 	CHAR(32) NOT NULL DEFAULT '',
> 	sess_data 	BLOB NOT NULL,
> 	sess_date 	INT UNSIGNED NOT NULL,
> 	sess_ip 	CHAR(40) NOT NULL,
> 	PRIMARY KEY (sess_id),
> 	INDEX (sess_date)
> );
> and so on.
>
> The error you get is a php problem, $session_tbl is empty and should
> be "session".
Interestingly enough, I actually already have a table named 
'wwn_session' which MySQL's 'DESCRIBE TABLE' shows matches the format 
of the above 'CREATE TABLE' command. Looking at the config/config.ini 
file it appears the I do have 'DATABASE_PREFIX = wwn_' set.
I checked config/config-dist.ini and the comments seem to imply that 
DATABASE_PREFIX is still the correct setting to modify. Is there an 
issue with the database prefix not being correctly applied in 1.3.14?
Morgan Aldridge
--
mo...@ma...
http://www.makkintosshu.com/
From: Reini U. <ru...@x-...> - 2007年10月09日 14:30:32
Try to add the missing tables manually from schemas/mysql-initialize.sql and
continue then with ?action=upgrade.
CREATE TABLE session (
 	sess_id 	CHAR(32) NOT NULL DEFAULT '',
 	sess_data 	BLOB NOT NULL,
 	sess_date 	INT UNSIGNED NOT NULL,
 	sess_ip 	CHAR(40) NOT NULL,
 	PRIMARY KEY (sess_id),
	INDEX (sess_date)
);
and so on.
The error you get is a php problem, $session_tbl is empty and should
be "session".
2007年10月9日, Morgan Aldridge <mak...@ma...>:
> I've inherited a PhpWiki installation running on Mac OS X 10.4.10
> (Tiger) Server with its default installation of PHP 4.4.7 & MySQL
> 4.1.22.
>
> Unfortunately, the previous owner either checked it from a version
> control repository or stripped out all documentation regarding the
> version number, so I don't know exactly which version it's running.
> Judging by features and dates I'm guessing it's definitely a 1.3.x
> release, probably 1.3.9 or later.
no, it is more likely 1.3.7 or earlier.
> However, I dropped the config file & pages directory into 1.3.14 and
> I get the following error when trying to run ?action=upgrade:
>
> ---
>
> check for necessary database updates - SQL
> db version: we want 1030.14
> db version: we have 0
> Backend type: mysql
>
> check for table session ...MISSING ...
> Fatal Error:
> lib/WikiDB/backend/PearDB.php:1059 Error:
> wikidb_backend_peardb_mysql: fatal database error
>
> DB Error: syntax error
> (
> CREATE TABLE (
> sess_id CHAR(32) NOT NULL DEFAULT '',
> sess_data BLOB NOT NULL,
> sess_date INT UNSIGNED NOT NULL,
> sess_ip CHAR(15) NOT NULL,
> PRIMARY KEY (sess_id),
> INDEX (sess_date)
> ) [nativecode=1064 ** You have an error in your SQL syntax; check the
> manual that corresponds to your MySQL server version for the right
> syntax to use near '(
> sess_id CHAR(32) NOT NULL DEFAULT '',
> sess_data BLOB NOT NULL,
> ' at line 1])
> Notice: "Undefined variable: session_tbl"
>
> Notice: "Undefined variable: session_tbl"
>
> ---
>
> Is this likely a 1.3.9 or 1.3.7 installation and I need to redo the
> config.ini and manually modify the MySQL database?
>
> Any suggestions as to how to get this upgraded to 1.3.14 would be
> greatly appreciated.
>
> Sincerely,
>
> Morgan Aldridge
> --
> mo...@ma...
> http://www.makkintosshu.com/
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://spacemovie.mur.at/ http://helsinki.at/
From: Morgan A. <mak...@ma...> - 2007年10月09日 14:19:49
I've inherited a PhpWiki installation running on Mac OS X 10.4.10 
(Tiger) Server with its default installation of PHP 4.4.7 & MySQL 
4.1.22.
Unfortunately, the previous owner either checked it from a version 
control repository or stripped out all documentation regarding the 
version number, so I don't know exactly which version it's running. 
Judging by features and dates I'm guessing it's definitely a 1.3.x 
release, probably 1.3.9 or later.
However, I dropped the config file & pages directory into 1.3.14 and 
I get the following error when trying to run ?action=upgrade:
---
check for necessary database updates - SQL
db version: we want 1030.14
db version: we have 0
Backend type: mysql
check for table session ...MISSING ...
Fatal Error:
lib/WikiDB/backend/PearDB.php:1059 Error: 
wikidb_backend_peardb_mysql: fatal database error
DB Error: syntax error
(
CREATE TABLE (
sess_id CHAR(32) NOT NULL DEFAULT '',
sess_data BLOB NOT NULL,
sess_date INT UNSIGNED NOT NULL,
sess_ip CHAR(15) NOT NULL,
PRIMARY KEY (sess_id),
INDEX (sess_date)
) [nativecode=1064 ** You have an error in your SQL syntax; check the 
manual that corresponds to your MySQL server version for the right 
syntax to use near '(
sess_id CHAR(32) NOT NULL DEFAULT '',
sess_data BLOB NOT NULL,
' at line 1])
Notice: "Undefined variable: session_tbl"
Notice: "Undefined variable: session_tbl"
---
Is this likely a 1.3.9 or 1.3.7 installation and I need to redo the 
config.ini and manually modify the MySQL database?
Any suggestions as to how to get this upgraded to 1.3.14 would be 
greatly appreciated.
Sincerely,
Morgan Aldridge
--
mo...@ma...
http://www.makkintosshu.com/
From: Sabri L. <sab...@st...> - 2007年10月06日 12:35:06
Sabri LABBENE wrote:
>Hi all,
>I need to make strings I escape with '~' character to be 
>displayed with a specific css class.
>I'm searching for the piece of code that decides whether to 
>link or not (escaped strings). Can't find out from where it is done !
>Can any body point me on something ?
>
>This needed in wysiwyg edition mode to know if some words were 
>escaped in order to prefix them with Phpwiki escape char when 
>converting back to wikitext syntax (performing a preview or 
>save action).
>
Any hints ?
Thanks,
-- Sabri.
From: Reini U. <ru...@x-...> - 2007年10月06日 10:41:01
Walter Rafelsberger schrieb:
> WikiSym 2007 International Symposium on Wikis
> http://www.wikisym.org/ws2007/index.html
PhpWiki will be there also:
Tuesday, October 23rd - Collaborative Technologies (10:30 - 12:00)
D. Frankowski et al. Recommenders Everywhere: The WikiLens 
Community-Maintained.
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://helsinki.at/ http://spacemovie.mur.at/
From: Walter R. <wa...@ra...> - 2007年10月05日 09:25:56
WikiSym 2007 International Symposium on Wikis
http://www.wikisym.org/ws2007/index.html
lgw
-- 
Researcher
---------------------------------------------------
MODUL University Vienna
Department of New Media Technology
Am Kahlenberg 1
1190 Vienna, Austria
(p) +43 1 320555 520
(f) +43 1 320555 903
(e) wal...@mo...
From: Reini U. <ru...@x-...> - 2007年10月01日 16:25:32
I also have a new plugin with action page which regenerates the markup cache:
page:_Retransform
<? plugin _Retransform ?>
call it like MyPage?action=_Retransform
change config.ini
MyPage?action=_Retransform
2007年10月1日, Sabri LABBENE <sab...@gm...>:
> On 10/1/07, Campo Weijerman <rf...@nl...> wrote:
> > On Mon, Oct 01, 2007 at 03:05:41PM +0200, Sabri LABBENE wrote:
> > > OK, I see.
> > > BTW, did you faced some slowness in document rendering, or any other
> side
> > > effects after changing the regexp aside from having to escape other
> words?
> >
> > I didn't notice anything like that. Just change it and see what
> > happens--if you don't like it, change it again, or change it back.
>
>
> At the moment, every thing is ok in my wiki. I just wanted to know more
> about your case and if have you have noticed something particular after
> changin the wiki regexp.
>
> > There is one gotcha: when playing with it, I used to open any page in
> > edit mode, then hit Preview to see which words would be rendered as
> > WikiWords. With 1.3.14 and the MonoBook theme, this now seems to be
> > delayed until the page is finally saved. Similarly, the effect of
> changing the the regexp will not become obvious immediately. There may be
> an admin option somewhere that lets you re-generate all pages, I think it's
> called the markup cache.
>
>
> Right. Purging the cached html versions of the pages from admin section will
> regenerate every page from its markup.
>
> Thanks for sharing you experiments.
>
> BR
> -- Sabri.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>
>
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://spacemovie.mur.at/ http://helsinki.at/
From: Sabri L. <sab...@gm...> - 2007年10月01日 15:59:49
On 10/1/07, Campo Weijerman <rf...@nl...> wrote:
>
> On Mon, Oct 01, 2007 at 03:05:41PM +0200, Sabri LABBENE wrote:
> > OK, I see.
> > BTW, did you faced some slowness in document rendering, or any other
> side
> > effects after changing the regexp aside from having to escape other
> words?
>
> I didn't notice anything like that. Just change it and see what
> happens--if you don't like it, change it again, or change it back.
At the moment, every thing is ok in my wiki. I just wanted to know more
about your case and if have you have noticed something particular after
changin the wiki regexp.
There is one gotcha: when playing with it, I used to open any page in
> edit mode, then hit Preview to see which words would be rendered as
> WikiWords. With 1.3.14 and the MonoBook theme, this now seems to be
> delayed until the page is finally saved. Similarly, the effect of
> changing the the regexp will not become obvious immediately. There may be
> an admin option somewhere that lets you re-generate all pages, I think it's
> called the markup cache.
Right. Purging the cached html versions of the pages from admin section will
regenerate every page from its markup.
Thanks for sharing you experiments.
BR
-- Sabri.
From: Campo W. <rf...@nl...> - 2007年10月01日 14:34:41
On Mon, Oct 01, 2007 at 03:05:41PM +0200, Sabri LABBENE wrote:
> OK, I see.
> BTW, did you faced some slowness in document rendering, or any other side
> effects after changing the regexp aside from having to escape other words?
I didn't notice anything like that. Just change it and see what
happens--if you don't like it, change it again, or change it back.
There is one gotcha: when playing with it, I used to open any page in
edit mode, then hit Preview to see which words would be rendered as
WikiWords. With 1.3.14 and the MonoBook theme, this now seems to be
delayed until the page is finally saved. Similarly, the effect of
changing the the regexp will not become obvious immediately. There
may be an admin option somewhere that lets you re-generate all pages,
I think it's called the markup cache.
Hth,
-- 
$_ = "Campo Weijerman [rfc822://nl.ibm.com/]" and tr-[:]/-<@>-d and print;
From: Sabri L. <sab...@gm...> - 2007年10月01日 13:05:40
On 10/1/07, Campo Weijerman <rf...@nl...> wrote:
>
> On Mon, Oct 01, 2007 at 01:35:02PM +0200, Sabri LABBENE wrote:
> > Reini Urban wrote:
> > >Campo Weijerman schrieb:
> > >> On Fri, Sep 28, 2007 at 10:57:24AM +0200, Sabri LABBENE wrote:
> > >>> Hi all,
> > >>> I'm using phpwiki-1.3.12 and I'm trying to make it
> > >recognize CamelCase words with numbers inside as wikiwords, fo example:
> > >>> - CamelCase2 -> is a wikiword
> > >>> - Camel2Case -> is also a wiki word
> > >>> - 2CamelCase -> is also a wiki word
> > >>>
> > >>> I think there should be a regular expression somewhere in
> > >the code that decides if a word is a wikiword. Can someone
> > >teel where to find it ? If there will some side effects
> > >whenever numbers are considered into wikiwords ?
> > >>
> > >> Hi,
> > >>
> > >> We had a similar requirement and solved it back with phpwiki 1.3.3 by
> > >> changing the definition of $WikiNameRegexp in index.php
> > >>
> > >> With more recent releases there is WIKI_NAME_REGEXP in
> > >> config/config.ini
> > >>
> > >> It takes some tweaking to arrive at the right compromise between the
> > >> regex being too wide or too narrow. I think too wide is worse than
> > >> too narrow: you can always force linking to a page by putting the
> name
> > >> in [brackets], which is less painful than having to escape every
> other
> > >> word on a page...
> >
> > I tried the regexp and it keeps catching CamelCase words without digits
> > inside. I don't understand why you need to escape some other words in
> your
> > page. May be you have as requirement to only link pagenames that
> contains
> > digits.
>
> Sure. The problem is, if you start tweaking the regexp it is easy to
> come up with something that considers too many words a WikiWord, and
> you'll end up having to escape lots of words.
>
> > >> We have been using this for years now:
> > >>
> > >> WIKI_NAME_REGEXP =
> > >>
> > >"(?<![[:alnum:]])[[:upper:]][[:alnum:]]*?[[:lower:]][[:alnum:]]*?[[:up
> > >> per:]][[:alnum:]]*(?![[:alnum:]])";
> > >>
> > >> Btw, the default is
> > >>
> > >> WIKI_NAME_REGEXP =
> > >"(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
> > >
> > >config-dist.ini in CVS has these options:
> > >http://phpwiki.cvs.sourceforge.net/phpwiki/phpwiki/config/confi
> > >g-dist.ini?revision=1.83&view=markup
> > >
> > >; Perl regexp for WikiNames ("bumpy words"):
> > >; (?<!..) & (?!...) used instead of '\b' because \b matches
> > >'_' as well
> > >; Allow digits: BumpyVersion132
> > >; WIKI_NAME_REGEXP =
> > >"(?<![[:alnum:]])(?:[[:upper:]][[:lower:][:digit:]]+){2,}(?![[:
> > >alnum:]])"
> > >; Allow lower+digits+dots: BumpyVersion1.3.2
> > >; WIKI_NAME_REGEXP =
> > >"(?<![[:alnum:]])(?:[[:upper:]][[:lower:][:digit:]\.]+){2,}(?![
> > >[:alnum:]])"
> > >; Default old behaviour, no digits as lowerchars.
> > >;WIKI_NAME_REGEXP =
> > >"(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
> >
> > Great, it works !
> > Thanks Reini and Campo.
>
> Actually, the suggestions offered by Reini better match what you asked
> for. I use phpwiki mostly for documenting IT-related stuff, and as we
> all know there are many acronyms used. The traditional definition of
> WikiWord will include anything containing an embedded acronym, like
> for example DocBookXML2LaTeX (at least, I don't think it does). The
> alternative regexp I am now using will match any sequence of non-blank
> non-punctuation that starts with a Capital letter and alternates
> sufficiently between lower and uppercase. This works pretty well.
OK, I see.
BTW, did you faced some slowness in document rendering, or any other side
effects after changing the regexp aside from having to escape other words?
BR
-- Sabri.
From: Campo W. <rf...@nl...> - 2007年10月01日 12:52:04
On Mon, Oct 01, 2007 at 01:35:02PM +0200, Sabri LABBENE wrote:
> Reini Urban wrote:
> >Campo Weijerman schrieb:
> >> On Fri, Sep 28, 2007 at 10:57:24AM +0200, Sabri LABBENE wrote:
> >>> Hi all,
> >>> I'm using phpwiki-1.3.12 and I'm trying to make it 
> >recognize CamelCase words with numbers inside as wikiwords, fo example:
> >>> - CamelCase2 -> is a wikiword
> >>> - Camel2Case -> is also a wiki word
> >>> - 2CamelCase -> is also a wiki word
> >>>
> >>> I think there should be a regular expression somewhere in 
> >the code that decides if a word is a wikiword. Can someone 
> >teel where to find it ? If there will some side effects 
> >whenever numbers are considered into wikiwords ?
> >> 
> >> Hi,
> >> 
> >> We had a similar requirement and solved it back with phpwiki 1.3.3 by 
> >> changing the definition of $WikiNameRegexp in index.php
> >> 
> >> With more recent releases there is WIKI_NAME_REGEXP in 
> >> config/config.ini
> >> 
> >> It takes some tweaking to arrive at the right compromise between the 
> >> regex being too wide or too narrow. I think too wide is worse than 
> >> too narrow: you can always force linking to a page by putting the name 
> >> in [brackets], which is less painful than having to escape every other 
> >> word on a page...
> 
> I tried the regexp and it keeps catching CamelCase words without digits
> inside. I don't understand why you need to escape some other words in your
> page. May be you have as requirement to only link pagenames that contains
> digits.
Sure. The problem is, if you start tweaking the regexp it is easy to
come up with something that considers too many words a WikiWord, and
you'll end up having to escape lots of words.
> >> We have been using this for years now:
> >> 
> >> WIKI_NAME_REGEXP = 
> >> 
> >"(?<![[:alnum:]])[[:upper:]][[:alnum:]]*?[[:lower:]][[:alnum:]]*?[[:up
> >> per:]][[:alnum:]]*(?![[:alnum:]])";
> >> 
> >> Btw, the default is
> >> 
> >> WIKI_NAME_REGEXP = 
> >"(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
> >
> >config-dist.ini in CVS has these options:
> >http://phpwiki.cvs.sourceforge.net/phpwiki/phpwiki/config/confi
> >g-dist.ini?revision=1.83&view=markup
> >
> >; Perl regexp for WikiNames ("bumpy words"):
> >; (?<!..) & (?!...) used instead of '\b' because \b matches 
> >'_' as well
> >; Allow digits: BumpyVersion132
> >; WIKI_NAME_REGEXP = 
> >"(?<![[:alnum:]])(?:[[:upper:]][[:lower:][:digit:]]+){2,}(?![[:
> >alnum:]])"
> >; Allow lower+digits+dots: BumpyVersion1.3.2
> >; WIKI_NAME_REGEXP = 
> >"(?<![[:alnum:]])(?:[[:upper:]][[:lower:][:digit:]\.]+){2,}(?![
> >[:alnum:]])"
> >; Default old behaviour, no digits as lowerchars.
> >;WIKI_NAME_REGEXP =
> >"(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
> 
> Great, it works !
> Thanks Reini and Campo.
Actually, the suggestions offered by Reini better match what you asked
for. I use phpwiki mostly for documenting IT-related stuff, and as we
all know there are many acronyms used. The traditional definition of
WikiWord will include anything containing an embedded acronym, like
for example DocBookXML2LaTeX (at least, I don't think it does). The
alternative regexp I am now using will match any sequence of non-blank
non-punctuation that starts with a Capital letter and alternates
sufficiently between lower and uppercase. This works pretty well.
Regards,
-- 
$_ = "Campo Weijerman [rfc822://nl.ibm.com/]" and tr-[:]/-<@>-d and print;
From: Sabri L. <sab...@st...> - 2007年10月01日 11:41:55
Hi all,
I need to make strings I escape with '~' character to be displayed with =
a specific css class.
I'm searching for the piece of code that decides whether to link or not =
(escaped strings). Can't find out from where it is done !
Can any body point me on something ?
This needed in wysiwyg edition mode to know if some words were escaped =
in order to prefix them with Phpwiki escape char when converting back to =
wikitext syntax (performing a preview or save action).
Thanks,
-- Sabri.
From: Sabri L. <sab...@st...> - 2007年10月01日 11:35:12
Reini Urban wrote:
>Campo Weijerman schrieb:
>> On Fri, Sep 28, 2007 at 10:57:24AM +0200, Sabri LABBENE wrote:
>>> Hi all,
>>> I'm using phpwiki-1.3.12 and I'm trying to make it 
>recognize CamelCase words with numbers inside as wikiwords, fo example:
>>> - CamelCase2 -> is a wikiword
>>> - Camel2Case -> is also a wiki word
>>> - 2CamelCase -> is also a wiki word
>>>
>>> I think there should be a regular expression somewhere in 
>the code that decides if a word is a wikiword. Can someone 
>teel where to find it ? If there will some side effects 
>whenever numbers are considered into wikiwords ?
>> 
>> Hi,
>> 
>> We had a similar requirement and solved it back with phpwiki 1.3.3 by 
>> changing the definition of $WikiNameRegexp in index.php
>> 
>> With more recent releases there is WIKI_NAME_REGEXP in 
>> config/config.ini
>> 
>> It takes some tweaking to arrive at the right compromise between the 
>> regex being too wide or too narrow. I think too wide is worse than 
>> too narrow: you can always force linking to a page by putting the name 
>> in [brackets], which is less painful than having to escape every other 
>> word on a page...
I tried the regexp and it keeps catching CamelCase words without digits
inside. I don't understand why you need to escape some other words in your
page. May be you have as requirement to only link pagenames that contains
digits.
>> We have been using this for years now:
>> 
>> WIKI_NAME_REGEXP = 
>> 
>"(?<![[:alnum:]])[[:upper:]][[:alnum:]]*?[[:lower:]][[:alnum:]]*?[[:up
>> per:]][[:alnum:]]*(?![[:alnum:]])";
>> 
>> Btw, the default is
>> 
>> WIKI_NAME_REGEXP = 
>"(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
>
>config-dist.ini in CVS has these options:
>http://phpwiki.cvs.sourceforge.net/phpwiki/phpwiki/config/confi
>g-dist.ini?revision=1.83&view=markup
>
>; Perl regexp for WikiNames ("bumpy words"):
>; (?<!..) & (?!...) used instead of '\b' because \b matches 
>'_' as well
>; Allow digits: BumpyVersion132
>; WIKI_NAME_REGEXP = 
>"(?<![[:alnum:]])(?:[[:upper:]][[:lower:][:digit:]]+){2,}(?![[:
>alnum:]])"
>; Allow lower+digits+dots: BumpyVersion1.3.2
>; WIKI_NAME_REGEXP = 
>"(?<![[:alnum:]])(?:[[:upper:]][[:lower:][:digit:]\.]+){2,}(?![
>[:alnum:]])"
>; Default old behaviour, no digits as lowerchars.
>;WIKI_NAME_REGEXP =
>"(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
Great, it works !
Thanks Reini and Campo.
Best Regards,
-- Sabri.
From: Reini U. <ru...@x-...> - 2007年09月29日 09:06:20
Campo Weijerman schrieb:
> On Fri, Sep 28, 2007 at 10:57:24AM +0200, Sabri LABBENE wrote:
>> Hi all,
>> I'm using phpwiki-1.3.12 and I'm trying to make it recognize CamelCase words with numbers inside as wikiwords, fo example:
>> - CamelCase2 -> is a wikiword
>> - Camel2Case -> is also a wiki word
>> - 2CamelCase -> is also a wiki word
>>
>> I think there should be a regular expression somewhere in the code that decides if a word is a wikiword. Can someone teel where to find it ? If there will some side effects whenever numbers are considered into wikiwords ?
> 
> Hi,
> 
> We had a similar requirement and solved it back with phpwiki 1.3.3 by
> changing the definition of $WikiNameRegexp in index.php
> 
> With more recent releases there is WIKI_NAME_REGEXP in config/config.ini
> 
> It takes some tweaking to arrive at the right compromise between the
> regex being too wide or too narrow. I think too wide is worse than
> too narrow: you can always force linking to a page by putting the name
> in [brackets], which is less painful than having to escape every other
> word on a page...
> 
> We have been using this for years now:
> 
> WIKI_NAME_REGEXP = "(?<![[:alnum:]])[[:upper:]][[:alnum:]]*?[[:lower:]][[:alnum:]]*?[[:upper:]][[:alnum:]]*(?![[:alnum:]])";
> 
> Btw, the default is 
> 
> WIKI_NAME_REGEXP = "(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
config-dist.ini in CVS has these options:
http://phpwiki.cvs.sourceforge.net/phpwiki/phpwiki/config/config-dist.ini?revision=1.83&view=markup
; Perl regexp for WikiNames ("bumpy words"):
; (?<!..) & (?!...) used instead of '\b' because \b matches '_' as well
; Allow digits: BumpyVersion132
; WIKI_NAME_REGEXP = 
"(?<![[:alnum:]])(?:[[:upper:]][[:lower:][:digit:]]+){2,}(?![[:alnum:]])"
; Allow lower+digits+dots: BumpyVersion1.3.2
; WIKI_NAME_REGEXP = 
"(?<![[:alnum:]])(?:[[:upper:]][[:lower:][:digit:]\.]+){2,}(?![[:alnum:]])"
; Default old behaviour, no digits as lowerchars.
;WIKI_NAME_REGEXP = 
"(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://helsinki.at/ http://spacemovie.mur.at/
From: Campo W. <rf...@nl...> - 2007年09月28日 16:39:02
On Fri, Sep 28, 2007 at 10:57:24AM +0200, Sabri LABBENE wrote:
> Hi all,
> I'm using phpwiki-1.3.12 and I'm trying to make it recognize CamelCase words with numbers inside as wikiwords, fo example:
> - CamelCase2 -> is a wikiword
> - Camel2Case -> is also a wiki word
> - 2CamelCase -> is also a wiki word
> 
> I think there should be a regular expression somewhere in the code that decides if a word is a wikiword. Can someone teel where to find it ? If there will some side effects whenever numbers are considered into wikiwords ?
Hi,
We had a similar requirement and solved it back with phpwiki 1.3.3 by
changing the definition of $WikiNameRegexp in index.php
With more recent releases there is WIKI_NAME_REGEXP in config/config.ini
It takes some tweaking to arrive at the right compromise between the
regex being too wide or too narrow. I think too wide is worse than
too narrow: you can always force linking to a page by putting the name
in [brackets], which is less painful than having to escape every other
word on a page...
We have been using this for years now:
WIKI_NAME_REGEXP = "(?<![[:alnum:]])[[:upper:]][[:alnum:]]*?[[:lower:]][[:alnum:]]*?[[:upper:]][[:alnum:]]*(?![[:alnum:]])";
Btw, the default is 
WIKI_NAME_REGEXP = "(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
 
Hth,
-- 
$_ = "Campo Weijerman [rfc822://nl.ibm.com/]" and tr-[:]/-<@>-d and print;
From: Sabri L. <sab...@st...> - 2007年09月28日 08:57:50
Hi all,
I'm using phpwiki-1.3.12 and I'm trying to make it recognize CamelCase =
words with numbers inside as wikiwords, fo example:
- CamelCase2 -> is a wikiword
- Camel2Case -> is also a wiki word
- 2CamelCase -> is also a wiki word
I think there should be a regular expression somewhere in the code that =
decides if a word is a wikiword. Can someone teel where to find it ? If =
there will some side effects whenever numbers are considered into =
wikiwords ?
Thanks,
-- Sabri.
From: Reini U. <ru...@x-...> - 2007年09月28日 06:33:48
2007年9月27日, AlJeux <al...@fr...>:
> Article: Export Writer documents into any wiki
> See: http://www.linux.com/feature/119363
>
> Having this kind of feature for phpwiki would be a very nice add-on.
>
> Do you think it's possible ?
Surew, very easy to do.
But someone has to do it.
We even don't need any plugin for it, just an external xslt filter
and a page describing it.
And hoefully somewhen the WikiCreole parser. Then we don't need to
adapt the syntax rules all the time.
PS: For Mediawiki and others there's the perl module
HTML::WikiConverter to import mediawiki html into phpwiki syntax.
This could be easily adapted to convert OpenOffice documents directly
to any Wiki.
OpenOffice just uses gzip compressed xml as fileformat, very similar to HTML.
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://spacemovie.mur.at/ http://helsinki.at/
From: AlJeux <al...@fr...> - 2007年09月27日 18:20:35
Article: Export Writer documents into any wiki
See: http://www.linux.com/feature/119363
Having this kind of feature for phpwiki would be a very nice add-on.
Do you think it's possible ?
Regards,
Alain.
From: Sabri L. <sab...@st...> - 2007年09月26日 08:28:22
Stefan wrote:
>as the messages told you the var $page is not defined.
I thought that may be $page is needed and this could have an impact on the
plugin.
>look at IncludePage.php at line 62 and 64
>
>replace
> if ($page) {
>with
> if (isset($page) && $page) {
>
>replace
> if (!$page or !$page->name)
>with
> if (!isset($page) or !$page or !$page->name)
>
>maybe not the best fix but it should work...
Thank you. It works.
Best Regards,
-- Sabri LABBENE.
>Sabri LABBENE schrieb:
>> Hi all,
>>
>> I'm trying to get my unfoldSubpages plugin working in my 
>phpwiki-1.3.12. I upgraded these files to the latest cvs version.
>>
>> - lib/plugin/UnfoldSubpages.php
>> - lib/plugin/IncludePage.php
>> - lib/WikiPlugin.php
>>
>> The plugin worked but it still show a notice after saving the page:
>>
>> lib/plugin/IncludePage.php:62: Notice: Undefined variable 'page'.
>> lib/plugin/IncludePage.php:64: Notice: Undefined variable 'page'.
>>
>> Not sure this var was created by previous extract() (line 60).
>>
>> Does any body know how to remove this notice ?
>>
>>
>> Thanks,
>> --Sabri.
>>
>>
>> 
>----------------------------------------------------------------------
>> --- This SF.net email is sponsored by: Microsoft Defy all 
>challenges. 
>> Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Phpwiki-talk mailing list
>> Php...@li...
>> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>>
>>
>> 
>
>
>---------------------------------------------------------------
>----------
>This SF.net email is sponsored by: Microsoft Defy all 
>challenges. Microsoft(R) Visual Studio 2005.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>_______________________________________________
>Phpwiki-talk mailing list
>Php...@li...
>https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>
From: Stefan <son...@ba...> - 2007年09月25日 14:35:47
as the messages told you the var $page is not defined.
look at IncludePage.php at line 62 and 64
replace
 if ($page) {
with
 if (isset($page) && $page) {
replace
 if (!$page or !$page->name)
with
 if (!isset($page) or !$page or !$page->name)
maybe not the best fix but it should work...
Regards Stefan
Sabri LABBENE schrieb:
> Hi all,
>
> I'm trying to get my unfoldSubpages plugin working in my phpwiki-1.3.12. I upgraded these files to the latest cvs version.
>
> - lib/plugin/UnfoldSubpages.php
> - lib/plugin/IncludePage.php
> - lib/WikiPlugin.php
>
> The plugin worked but it still show a notice after saving the page:
>
> lib/plugin/IncludePage.php:62: Notice: Undefined variable 'page'.
> lib/plugin/IncludePage.php:64: Notice: Undefined variable 'page'.
>
> Not sure this var was created by previous extract() (line 60).
>
> Does any body know how to remove this notice ?
>
>
> Thanks,
> --Sabri.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>
>
> 
From: Sabri L. <sab...@st...> - 2007年09月25日 13:04:03
Hi all,
I'm trying to get my unfoldSubpages plugin working in my phpwiki-1.3.12. =
I upgraded these files to the latest cvs version.
- lib/plugin/UnfoldSubpages.php
- lib/plugin/IncludePage.php
- lib/WikiPlugin.php
The plugin worked but it still show a notice after saving the page:
lib/plugin/IncludePage.php:62: Notice: Undefined variable 'page'.
lib/plugin/IncludePage.php:64: Notice: Undefined variable 'page'.
Not sure this var was created by previous extract() (line 60).
Does any body know how to remove this notice ?
Thanks,
--Sabri.
From: Reini U. <ru...@x-...> - 2007年09月25日 05:19:18
Harold Hallikainen schrieb:
> I have a user that would like to upload all the files in a particular
> directory. Is there any way to do this other than one by one?
No multi-file upload not yet done. If anyone wants to write that, a lot 
of users complain about that missing feature.
But users also complain about missing image editing (crop, resize) of 
uploaded pictures. You cannot have everything.
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://helsinki.at/ http://spacemovie.mur.at/
From: Harold H. <ha...@ha...> - 2007年09月24日 19:31:55
I have a user that would like to upload all the files in a particular
directory. Is there any way to do this other than one by one?
THANKS!
Harold
-- 
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!
From: Reini U. <ru...@x-...> - 2007年09月24日 05:33:08
Marek Lukasik schrieb:
> I would like to use the buttons "Email Verification" and "Access 
> Restrictions" in the WIKI. I get to a next screen when I press "Email 
> Verification" but the list op pages for which I can change the 
> verification status is empty and following messages are visible:
> 
> lib/DbSession/SQL.php:97: Notice: Only variables should be assigned by 
> reference
> lib/CachedMarkup.php (In template 'browse' < 'body' < 'html'):491: 
> Notice: Only variables should be assigned by reference
> 
> lib/CachedMarkup.php (In template 'body' < 'html'):491: Notice: Only 
> variables should be assigned by reference
> 
> When I hit "Access Restrictions" the WikiAdminUtils says: Sorry. Access 
> Restrictions not yet implemented
> With following messages:
> 
> lib/DbSession/SQL.php:97: Notice: Only variables should be assigned by 
> reference
> lib/CachedMarkup.php (In template 'browse' < 'body' < 'html'):491: 
> Notice: Only variables should be assigned by reference
> 
> lib/CachedMarkup.php (In template 'body' < 'html'):491: Notice: Only 
> variables should be assigned by reference
> 
> I also noticed a few messages displayed in the bottom of my WIKI 
> administration screen:
> lib/DbSession/SQL.php:97: Notice: Only variables should be assigned by 
> reference
> lib/CachedMarkup.php (In template 'browse' < 'body' < 'html'):491: 
> Notice: Only variables should be assigned by reference
> 
> lib/CachedMarkup.php (In template 'body' < 'html'):491: Notice: Only 
> variables should be assigned by reference
> lib/CachedMarkup.php (In template 'html'):491: Notice: Only variables 
> should be assigned by reference
> lib/CachedMarkup.php:491: Notice: Only variables should be assigned by 
> reference
> lib/CachedMarkup.php:491: Notice: Only variables should be assigned by 
> reference
> 
> Could anybody please help with this issue? Could this be caused by the 
> activated PHP safe mode in our domain setup?
All these are fixed with the current release 1.13.14
"Access Restrictions" is still not implemented though.
For "Email Verification" I fixed some bugs recently. These PageList 
fixes should also be in 1.13.14.
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://helsinki.at/ http://spacemovie.mur.at/
207 messages has been excluded from this view by a project administrator.

Showing results of 7779

<< < 1 .. 18 19 20 21 22 .. 312 > >> (Page 20 of 312)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /