Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
See pages that link to and include this page.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.
I have wanted to do this for a long time too.
@Wikidot Team, as an idea, perhaps you could implement this with a client-based solution as opposed to creating more load on the server?
Here is a design which actually achieves this using JavaScript:
Wikidot Syntax
HTML Rendering
Javascript
@Wikidot Team, Feel free to use my code, if you choose to accept this wish :)
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
It's possible. The problem is finding a way to implement it in an intuitive way, that both makes sense and is powerful enough to do what we want it to do.
James' suggestion looks promising!
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
Thank you!
You see it in action here by typing in any simple math equation:
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
That's really good James.
Rob Elliott - Strathpeffer, Scotland - Wikidot first line support & community admin team.
It would be very useful. The only problem I can see is that it would be difficult to sanitise the formula. I don't see how the parser can differentiate:
from
without getting very complex and requiring constant maintenance.
Oh it's easy. You simply have a list of “allowed inputs”.
For example, in my JavaScript code above, I've allowed only numerical digits and some simple mathematical operators (add, subtract, multiply, divide and brackets). You can not generate sinister equations with my code above.
Feel free to test out my proposed syntax.
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
@ Richard, With the following code, you can now use the mathematical functions provided by the JavaScript Math Object. It is also boolean compatible. And like the code before, you can not generate sinister equations.
Javascript (Advanced Improvement)
Here are some syntax examples:
Please, try it out (copy and paste the examples).
Keep in mind, it IS case sensitive.
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
Jiminy, that is mighty impressive! I sure wish we could do this with Wikidot.
I think so far the only problem with that code is that I couldn't use decimals or any function with more than one argument.
Timothy Foster - @tfAuroratide
Auroratide.com - Go here if you're nerdy like me
Fortunately, that is easy to implement. Done :)
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
@ Wikidot, in case you decide to implement my solution…
Did some final touches to the JavaScript Math engine:
JavaScript Code
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
Ahem, developers…
I have done the hard work for you :)
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
BUMP!
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
So happy to see progress on this wish.
*Bump*
Any news on this? :)
I am not sure - but is it not easier ( and more secure) to use mathjax with the variables from the live template- "dataform fields"?
I need to test this ..
EDIT:. AUA! - Mathjax is not a calculator - only render beautiful LaTeX equations…
Sorry!
What a mistake….
Please - forget my post…
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?