On Mar 31, 2010, at 10:30 AM, Vincent Massol wrote:
> Hi,
>
> We need a consistent way to handle document references in UIs.
>
> For example, on the rename template, the title is "Renaming<string
serialization of a reference here>".
> Thus if the page is named "?." in the space "Main" for example we
get: "Renaming Main.?\."
> Same for the wysiwyg editor's insert link dialog box (under the title we have the
technical reference printed).
>
> Proposal
> =======
>
> Since references are technical I don't think we should print them in the UI.
>
> Instead we should print its constituents: wiki, space, page (or just space, page when
not in multiwiki or when handling a ref not from the current wiki).
>
> This is what Caty has done in the Search UI BTW. Thus I propose to reuse her idea and
print this:
>
> wiki>> space>> page
>
> where>> is the HTMLÅ symbol.
>
> You can check visually what I mean here:
>
http://playground.myxwiki.org/xwiki/bin/view/Main/WebSearch?text=test&x…
>
> Thus applying this to the example above, we would have:
>
> "Renaming Main>> ?."
>
> And thus this removes the technical aspects:
> * no ":" or "." to separate wiki and space
> *no character escaping
>
> WDYT? Any other idea to achieve the same result ?
+1.
Maybe / would be good as a separator. It's respecting the directory/file
separator, it's also used in the URLs. it's familiar.