Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.0

Bug #9152 Tiki Wikilink renderer error
Submitted: 2006-10-24 16:13 UTC
From: varga dot attila dot 75 at freemail dot hu Assigned: justinpatrin
Status: Closed Package: Text_Wiki_Tiki (version 0.0.1)
PHP Version: 5.1.6 OS: Windows
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 44 - 14 = ?

 
 [2006-10-24 16:13 UTC] varga dot attila dot 75 at freemail dot hu (Attila Varga)
Description: ------------ I tried to transform Mediawiki pages to TikiWiki. In the class Text_Wiki_Render_Tiki_Wikilink the token function starts like this: if ($options['type'] == 'start') { but the $options array has only the following keys: - 'page' - 'anchor' - 'text' So I got the next message: PHP Notice: Undefined index: type in c:\php\PEAR\Text\Wiki\Render\Tiki\Wikilink.php on line 20 and the wikilinks in the pages were missing. Test script: --------------- I solved the problem by changing the function to this: function token($options) { return '(('.$options['page']. (strlen($options['anchor']) ? '#'.$options['anchor'] : ''). (strlen($options['text']) && $options['page'] != $options['text'] ? '|'.$options['text'] : ''). '))'; } Some expert should solve the problem the right way, and create a new version.

Comments

 [2007-06-01 15:51 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2009-06-10 01:47 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2009-06-10 02:08 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2009-06-10 04:51 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2009-06-13 03:22 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2009-06-13 06:15 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!