Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

8/14/2008 2:24:01 AM
Evgeny Nedelko-194.110.202.240
6/3/2008 11:26:19 PM
-202.167.15.161
1/24/2008 8:51:40 AM
FLWCOM-jwdavidson
10/4/2007 10:57:36 PM
-209.200.117.6
3/15/2006 3:18:04 PM
josh@coady.us-67.120.204.154
List all versions List all versions

RSS feed for the FlexWiki namespace

Wiki Talk Cant Do List
.
Summary
List of things that you might want to do with WikiTalk but that doesn't appear to be possible.
See_also
RelatedFeatureRequests

Things WikiTalk can't do

These are things that there appears to be no possible way to do in WikiTalk.

Fixed but not released:

Features released:

Validate, convert and fix dates

Examples and/or test cases:

Sort an array in descending order

You can sort an array but you can't sort it descending. For example, a set of topics have a property ReportDate which is in yyyy-mm-dd format. I want the most recent reports listed first.

Examples and/or test cases:

                [ExposedMethod(ExposedMethodFlags.CachePolicyNone, "Reverse the array")]
                public BELArray Reverse()
                {
                        ArrayList answer = new ArrayList(Array);
                        answer.Reverse();
                        return new BELArray(answer);
                }

Reuse variables

Variables are not supported in WikiTalk. This is key to performance. For example, a complex search across thousands of topics might result in 10 topics being found.

Examples and/or test cases:

Merge multiple topics' content into one page

There is no way to use WikiTalk to insert a topic's content into the another topic.

Examples and/or test cases:

Comment

Can't you do this using the _Body property? That is, something like this

        @@namespace.TopicsWith("TestPropertyForThisPage", "test").Collect{e|e.GetProperty("_Body")}@@
Summary
TestPropertyForThisPage

However, don't put that property on the same page as the WikiTalk code that queries for it, or you can create an infinite recursion situation!

-- JimmySieben [2005-09-08]

Comment
You can use WikiInclude for this purpose.

Put comments in code

Yes, you cannot comment your code. However, you can use this bogus method...

 AFunction:{
    "This is my comment".Substring(0, 0),
    ... code here ...
 }

...or use the slightly cleaner bogus hidden property method...

 :XX: My function summary here.
 AFunction:{
    ... code here ...
 }

...of course you can replace XX with any valid WikiPageProperty name.

Examples and/or test cases:

Handle errors

There is some ability to handle errors but it is complex and requires duplicating code or breaking the code into many functions.

Examples and/or test cases:

Things you can do with WikiTalk but are very difficult

Fixed but not released

Features released

Remove duplicate values from an array

Feature request 1104399 Implemented in 1642. See ChangeNoteForUniqueValuesInArrays.

Implemented through Unique method on arrays.

Examples and/or test cases:

I can think of two (for now) approaches to this that we could take:

  1. Provide a Unique method to the ArrayType that returns another Array containing just the unique entires.
  2. Implement a Hashtable-like type that can only hold unique values from the outset.

The Unique method approach would undoubtedly be quicker to implement, but I don't see either as being particularly arduous -- DerekLakin [18-Jan-2005]

Note that there is already a Set class inside FlexWiki that does exactly this. It could be exposed in WikiTalk. Of course, that starts to open the door to questions about a whole class hierarchy for collections (<picture of David running screaming away as fast as possible...>. Adding a single Unique method to Array is probably a nice start. -- DavidOrnstein [18-Jan-2005]

Add, subtract, multiply and divide integers

Feature request 1104401 implemented in version 1642. See ChangeNoteForIntegerArithmetic.

Examples and/or test cases:

Like most problems there are several possibilities for solving this too:

  1. Implement the required operators in WikiTalk so that '+', '-', '*' and '/' can be used in WikiTalk. This could be applied, where appropriate, for other types.
  2. Implement a Math class that provides Add, Subtract, Multiply and Divide methods. These methods could accept (and return) ObjectTypes allowing the operations on other types (where appropriate).
  3. Implement Add, Subtract, Multiply and Divide methods on the IntegerType.

Providing operator support in WikiTalk itself would be longer and more complicated (I suspect) than any other approach. Implementing a Math class would be a good way of centralising all the arithmetic functionality. Adding the relevant methods to the Integer class would be consistent with the approach taken in existing classes such as the DateTimeType.

That's not to say that the existing arithmetic methods in existing classes couldn't be moved out to a new Math class, but it would be a breaking change.

I'm happy to take either/both of these on once we've had a discussion and resolved upon which approach to take. -- DerekLakin [18-Jan-2005]

There has been discussion about the introduction of operators and it would be nice for them to come along at some point. There's a topic on it, but I can't find it right now. I think the way this was envisioned was that the actual infix notation with a binary operator (like 1+2) really translated into calls to the appropriate methods on the object on the left (in this case calling Plus() on Integer), passing in the second integer.

I think if you went ahead and added a few math functions to Integer, that might work nicely for now -- before we get the nicer syntax. And would blend well with the imagined implementation strategy for binary operators in the future. -- DavidOrnstein [18-Jan-2005]

Not logged in. Log in

Welcome to the home of FlexWiki, a collaboration tool, based on WikiWiki, implemented using Microsoft .NET technologies

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics