Loading...
 
Skip to main content

Category: Wiki Plugin (extends basic syntax)

Wiki Plugin (extends basic syntax)
Show subcategories objects

Name Type
db error on activating TAG plugin
{syntax type="tiki" editor="plain"}
When activating the TAG plugin, the following error occurs when trying to open a page containing the plugin Tag code:
Context:
File tiki-index.php
Url tiki-index.php?page=Help_Syntax%20Tekst_2
Query:
INSERT INTO tiki_plugin_security (fingerprint, status, added_by, last_objectType, last_objectId) VALUES(?, ?, ?, ?, ?)
Values:
0 tag-1b3231655cebb7a1f783eddf27d254ca-d0fb7a014946e0f0c38342e8d958f992-500000-260000
1 pending
2 admin
3 wiki page
4 Help_Syntax Tekst_2
Message:

Built query was probably:
INSERT INTO tiki_plugin_security (fingerprint, status, added_by, last_objectType, last_objectId) VALUES('tag-1b3231655cebb7a1f783eddf27d254ca-d0fb7a014946e0f0c38342e8d958f992-500000-260000', 'pending', 'admin', 'wiki page', 'Help_Syntax Tekst_2')
tracker item
dev.t.o: plugin popup helper failed twice for pivottable
I attempted to use ((doc:PluginPivotTable)) in a new page in dev.t.o: ((Bug report evolution))

# I first wrote ~np~{pivottable}~/np~ in the wiki page and saved (to check whether there was going to be some helper to find the right compulsory params that where missing (tracker:5 assigned to some param name, which I didn't remember)
# then I edited again the wiki page, and clicked at the plugin toolbar icon to get the popup helper for pivottable.
** this requested me to indicate the first compusolry field, which offered to me to select some wiki page name, but not the right param content for the data source (tracker:n o activityStream). __First error/regression__ (it used to allow typing any text there, afair, but it currently deletes what the user types since it doesn't match any option from the list of wiki page names shown).
** I selected some page name, so that I could get the param name correctly written in plugin call in the textarea of the wiki page, to fix the value assigned to that param name manually, while also writing to text in the body of the plugin textarea while still in the popup helper. But when I attempted to accept to get the syntax inserted in the wiki page, I got this error message:

-+Plugin edit failed+-

Oups, bad user experience. Looks like as if it was some experimental feature, while it has been there for years across many versions.
tracker item
dev.tw.o: Sorting items from trackerlist plugin doesn't work for anons due to cache issue
dev.tw.o: Sorting items from trackerlist plugin doesn't work for anons due to some conflict with the wiki cache. Example:

http://dev.tikiwiki.org/tiki-index.php?page=Profile+Manager&tr_sort_mode1=created_asc

http://dev.tikiwiki.org/tiki-index.php?page=Profile+Manager&tr_sort_mode1=created_desc

both pages show the same sorting on date (for instance) if the user is not logged, but the sorting works if you are logged.
tracker item
Diagrams cannot be saved inline in wiki pages anymore
I was testing other things, and I realized that diagrams cannot be saved inline anymore.

Reproduced in a show2.t.o instance from another bug report (since setting up diagram generation requires some manual steps to get the composer package installed server side)
http://xavi-9794-6688.show2.tikiwiki.org/tiki-index.php?page=Tiki-Wiki-CMS-Groupware
u: admin
p: 12345

I selected to save each new diagram inside the wiki page (inline), but that choice was not respected and diagrams were saved in a file in the file gallery.

Current code used in the show instance:
SVN (24.0vcs): Tuesday August 3, 2021 17:34:21 CEST - REV 78798 (InnoDB)
---

Upgraded today (server side) to latest 24.x branch: r79594 (Last Changed Date: 2022-01-22 14:46:09 +0100 - Sat, 22 Jan 2022) . Issue solved.
tracker item
Diff: notification e-mail with HTML plugin in diff shows nothing
For example for [https://suite.tiki.org/tiki-pagehistory.php?page=Tiki%20Suite%20alternatives&compare=1&oldver=84&newver=85|this diff] change in the e-mail notification there is this empty HTML plugin shown instead of showing its content:

{CODE()}
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@@ -Lines: 143-146 changed to +Lines: 143-150 @@
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
!!!! Freedombone
{HTML()}{HTML}
+
+ !!!! Cloudron
+ {HTML()}{HTML}
+

!! Services
{CODE}
tracker item
Plugin parsing breaks when nested more than 7 times
When nested more times, it stops working and breaks the whole page parsing.
This works:
{CODE()}{DIV(class="level1")}
{DIV(class="level2")}
{DIV(class="level3")}
{DIV(class="level4")}
{DIV(class="level5")}
{DIV(class="level6")}
{DIV(class="level7")}
Foo Bar
{DIV}
{DIV}
{DIV}
{DIV}
{DIV}
{DIV}
{DIV}{CODE}

This breaks:
{CODE()}{DIV(class="level1")}
{DIV(class="level2")}
{DIV(class="level3")}
{DIV(class="level4")}
{DIV(class="level5")}
{DIV(class="level6")}
{DIV(class="level7")}
{DIV(class="level8")}
Foo Bar
{DIV}
{DIV}
{DIV}
{DIV}
{DIV}
{DIV}
{DIV}
{DIV}{CODE}

See the SHOW instance.

__Expected behaviour:__
Parsing nested plugins should work flawlessly no matter how many levels are nested or be limited to e.g. 20 levels (ideally should be configurable) but should not break up to that max level; only if above the limit, it could show the unparsed syntax instead of breaking whole content rendering.
tracker item
Doc, Plugins, Codemirror; The colors parameter displayed as example don't do anything (anymore) code mirror disabled ?
At https://doc.tiki.org/PluginCode the different samples with colors parameters are not doing anything.
tracker item
doc.tiki.org feature list (which is populated from trackers) is not appearing all the time
{syntax type="tiki" editor="plain"}
Background info:
http://tiki.org/tiki-view_forum_thread.php?comments_parentId=46281

So when you visit http://doc.tiki.org/Features, the actual list of features comes and goes.

You can see from the video below (I put a watch alert on that page) that it has been going on for months:
{flash type="url" movie="display251" width="1126" height="528"}
tracker item
Drop Down Spoilers
For 9.x and up.

Request ability to add to a wiki a spoiler.

Its very useful in a HowTo environment where the spoiler will hide code that needs to be copy/pasted so the presentation is neat.

Example:
When installing my widget, you might need to copy this code to your settings:

[spoiler]
BsetMultipleConfig
1001x1101
settings.ini
threebot4
0x32
0x64
[/spoiler]

The spoiler has a button allowing the user to click on the button so the user can copy/paste the code inside the spoiler. The user can also click on the spoiler for a second time to close it; allowing easy reading and hiding it when not needed.

tracker item
DSN/postgres in tikiwiki/mysql
tikiwiki installed with mysql.
Create DSN with 'pgsql://user:password@host:port/DB'.
In wiki, use plugin SQL or REQUEST/DATATABLE.
And a lot of errors in php, select statement, mysql syntax and postgres error!
Thanks
tracker item
Duplicated footnotes are not detected any more.
When the same footnote is reproduced, this was detected in Tiki12 and both had the same number and would link to the same item in footnotearea

Now, as can be seen in our explanation page: [https://doc.tiki.org/PluginFootnote] duplicated footnotes are shown twice (the 3 & 4 both show ''Ibid.'')

Using "sameas" option is not really a good solution because adding a footnote above other footnotes does not recalculate the sameas parameter even though the number of the previous footnote changed.

It seems the regression was introduced by: http://sourceforge.net/p/tikiwiki/code/53263 but a simple rollback would remove the "class" option.

I suggest recovering the duplicate detection and also adding two new optional options:
Id (alnum)
sameasId (alnum)

so we can express that a footnote is the same as another by Id. This way, adding new footnotes only changes the numbers (displayed), not the Ids (not displayed).
tracker item
Dynamic items list fields behave the same in pluginTrackerfilter as when editing
When a dynamic items list field and its "here" field are both used for pluginTracker, all entries in listFieldIdThere are shown regardless of what is selected for filterFieldIdHere in the plugin. I'd like the list to be filtered as it is when editing an item.

Of course I would only expect this to work when the dynamic list item and its filterFieldIdHere are both used in the plugin.
tracker item
Edit plugin helper icons stopped working on tiki.org
Tested in my Chrome browser all edit plugin helper icons do nothing currently on tiki.org
E.g. clicking the jigsaw puzzle icon on https://tiki.org/Roundtable+Meeting+2020+01 (with javascript:void() link) does nothing. Same on doc.tiki.org

No errors in Google chrome Console appearing.

Can anybody confirm/reproduce?

Google Chrome is up to date
Version 79.0.3945.130 (Official Build) (64-bit)
tracker item
edit wiki page with strasa.css shows popup boxes hidden below the text area
Using strasa.css in demo.t.o/11.x (reproduced else where also)

Log in as admin
Edit a wiki page,
click at a tool in the toolbar (help icon clicked in the screenshot below)
popup box is shown under the text area, no button are shown, most controls are hidden, etc.

See screenshot

{img fileId="288" thumb="y" rel="box[g]"}

tracker item
Editing a Plugin via plugin helper icon on a translated page looses the translation assigned!
When user have multilingual site enabled and edits a page e.g. in English called Foo and adds an image there using the IMG plugin syntax, then creates translation of the page in another page called Foo2 in the other language and then tries to edit one of the associated pages via the IMG plugin helper icon, it saves nicely but - the page looses the language assigned back to the "Unknown" and that breaks the translation association and it is not possible to set it back because it yells an error that that translation already exists or something like that...
tracker item
Editing Wiki Plugin removes language definition from Page, removes Page Description
{syntax type="tiki" editor="plain"}
After upgrade to 27.5 (I have not observer this in 27.2), edits made to Wiki Plugins on any given Wiki Page cause PHP errors related to missing language definition.
# Assigned language of the Wiki Page is removed (causing a PHP error, and "No language assigned" message)
# Page Description is removed
The above can be reverted using History, but it's practically impossible to edit Plugins without causing data loss (description).
User is forced to manually re-assign language (which fixes PHP errors), and insert new Page Description.
Tested on fresh install of 27.5

PHP errors shown on affected page are related to translated-lang.tpl (missing language)
^<?php echo $_smarty_tpl->getSmarty()->getModifierCallback('escape')($_smarty_tpl->getValue('trads')[0]['langName']);?>
(<?php echo $_smarty_tpl->getSmarty()->getModifierCallback('escape')($_smarty_tpl->getValue('trads')[0]['lang']);?>^
tracker item
Editor & localization Dashboard (help contributors with priorities)
Please see:
https://wiki.mozilla.org/Support/l10nPriorityPRD


This should be not just for localizers but editors in general.

[12:55] lphuberdeau: where can I see the l10n dashboard in action?
[12:55] djst: https://support.mozilla.com/sv-SE/kb/Localization+Dashboard?bl=n
[12:56] djst: lphuberdeau, this page explains the syntax for the plugin https://wiki.mozilla.org/Support/l10nPriorityPRD/Plugin_Usage
tracker item
embed image out of elFinder
If you write a wiki article for example and want to insert a image or picture you already uploaded you use the button for picture.
Then you select file galleries as the data source and want to select a file directly within the file gallery.
That's not the real problem. But as soon as you use elFinder for file gallery view you still can select a image but it will always insert a whole code tag within the "image id" field (eg. {img fileid="34" ...}) and not only the fileid itself.

The fix is really easy, you just need to edit the file [yourtikihome]/templates/tiki-list_file_gallery.tpl at line 294 and replace this line with the following:
{CODE(caption="templates/tiki-list_file_gallery.tpl")}window.opener.insertAt('{{$filegals_manager}}', data.fileId);{CODE}

Maybe you should fix this in a following version, as it's really annoying to fix the form every time.

-------

the patch doesn't seem to work. still having the issue of the full plugin code gets injected.

This is probably a Jonny bug now since it touches ElFinder
tracker item
External link don’t open in a new tab/window when in a template called by a trackerlist plugin
At : tiki-admin.php?page=textarea "Open external links in new window" is enable.

So all the following create a link that will open in a new-tab or new window;

{CODE()}[http://www.u2.com|U2]{CODE}
[http://www.u2.com|U2]

As well as:
{CODE()}[http://www.u2.com|u2|_blank]{CODE}
[http://www.u2.com|u2|_blank]

As well as:
{DIV(class="external_link")}[http://u2.com|{img type="src" src="https://dev.tiki.org/img/icons/large/mytiki.gif" height="32" width="32"}|_blank]{DIV}
{CODE()}{DIV(class="external_link")}[http://u2.com|{img type="src" src="https://dev.tiki.org/img/icons/large/mytiki.gif" height="32" width="32"}|_blank]{DIV}{CODE}

However if I use the last one in a template called by a trackerlist plugin, it is not working.
Trying to set the link within the img plugin doesn’t work neither.

Check instance.
tracker item
embedding video from vimeo.com fails , but not from other sites with no params in url, like blip.tv
Flash plugin doesn't work well embedding videos from vimeo.com
Example, the video from vimeo.com at:
http://tikiwiki.org/TikiFestMadrid_videos

However, from blip.tv (or youtube, etc.), videos are embedded fine
---
UPDATE: Probably more than outdated (see current improvements in VIMEO by jonnyb in 12.x. {sign user="xavi" datetime="2013-11-17T09:50:12+00:00"}
tracker item
Empty comments shouldn't be possible or they shouldn't be displayed in Since your last visit
There is an empty comment from Adrien at https://dev.tiki.org/tiki-view_tracker_item.php?itemId=7935&threadId=9839
It is displayed as "" in the plugin Since last visit...

{img fileId="1642" thumb="box"}
{img fileId="1643" thumb="box"}
tracker item
Enhancement request for PluginInclude: Option to define length of included text in lines or character (eg. php fuction: substr)
To ba able to preview (a list of) pages which may change (top pages) and not to have to add start and end tags to every single page.
tracker item
Equation not working in wiki pages
Hi,

I have upgraded to tiki 20.1 and cannot get the equation plugin to work. The file class.latexrender.php is missing from the directory lib/equation/.

Best regards,

Thomas Johansson
tracker item
Equivalent characters for page linking, backlinking, searching, etc (ex.: space, underscore, period)
This would permit cleaner URLs and easier searching.

__Where?__

Wiki page names
Usernames
tags?
etc.

__What?__
Spaces & underscore to be equivalents
a and A are equivalent. This makes perfect sense for page names, user names, etc Accented characters (äâ) should be as well

For wiki page names (see how Wikipedia does it) but it could be that ~np~((User_Profile)), ((User+Profile)) and ((User Profile))~/np~ are equivalent.


Should hyphen (-) be an equivalent character as well?

How about (,) and (.)

. doesn't play nice with rewrite rules




Moved discussion to: ((Character substitutions))
tracker item
error in db query with some param in trackerlist plugin (Tiki 3.3)
{syntax type="tiki" editor="plain"}
I've just created a new page on a tiki 3.3 site with this content:
{CODE(wrap=1)}
{TRACKERLIST(trackerId="3",fields="41:42",sort="y",popup="43",stickypopup="n",showtitle="n",showlinks="y",showdesc="n",shownbitems="n",showinitials="n",showstatus="n",showcreated="n",showlastmodif="n",showfieldname="n",status="op",sort_mode="asc",max="15",more="n",moreurl="n",view="user",compute="42/sum:43/avg")}{TRACKERLIST}
{CODE}

That tracker exists, as well as fieldId's 41, 42 and 43.
And it produced this error:

{CODE(wrap=1)}
An error occured in a database query!

Context:
File tiki-index.php
Url tiki-index.php?page=Gradebook
Query:
SELECT tti.*, ttif.`value`, ttf.`type`, tti.`asc` as `sortvalue` FROM ( `tiki_tracker_items` tti INNER JOIN `tiki_tracker_item_fields` ttif ON tti.`itemId` = ttif.`itemId` INNER JOIN `tiki_tracker_fields` ttf ON ttf.`fieldId` = ttif.`fieldId`) INNER JOIN `tiki_tracker_item_fields` ttif0 ON (ttif0.`itemId` = ttif.`itemId`) WHERE tti.`trackerId` = ? and (`status`=? or `status`=?) AND ttif0.`fieldId`=? AND ttif0.`value`=? GROUP BY tti.`itemId` ORDER BY `sortvalue` asc
Values:
0 3
1 o
2 p
3 41
4 Xavi
Message:
Built query was probably:
SELECT tti.*, ttif.`value`, ttf.`type`, tti.`asc` as `sortvalue` FROM ( `tiki_tracker_items` tti INNER JOIN `tiki_tracker_item_fields` ttif ON tti.`itemId` = ttif.`itemId` INNER JOIN `tiki_tracker_fields` ttf ON ttf.`fieldId` = ttif.`fieldId`) INNER JOIN `tiki_tracker_item_fields` ttif0 ON (ttif0.`itemId` = ttif.`itemId`) WHERE tti.`trackerId` = '3' and (`status`='o' or `status`='p') AND ttif0.`fieldId`='41' AND ttif0.`value`='Xavi' GROUP BY tti.`itemId` ORDER BY `sortvalue` asc
{CODE}

---


Sorry, just testing once more the issue related to normal users loosing the ability edit their own items
tracker item
Show PHP error messages