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.
If we had a %%created_by_unix%%, yes. But we don't ;-(
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
So is this a bug, a wish, or both? Does it matter?
I think it's a wish, but you're right - it really doesn't matter. I'd lke to see this addressed. One of the early places it reared its head was in the Hammer Navigator that Pieter designed. Because my user name has a space, I'm probably more sensitive to it than others. I've had a recent discussion with leiger at his new Shane's text Editor site. He's designed a great looking forum structure, but this wish/bug is annoying me for selfish reasons.
It seems to me it shouldn't be too hard to add a %%created_by_unix%% variable to list pages and other modules.
[edit: ListUsers supports %%name%% now, which returns the unix name, not the "nick name" of the user. In hindsight, that's not a great variable name since it would conflict with %%name%% (page name) in ListPages.]
-Ed
Community Admin
In a similar case, I've solved for users-with-spaces via a simple regex, substituting a hyphen for every instance of a space. In the context of my form-fed listpage, I suppose I could wend %%created_by%% through a similar pipe.
Is that all %%created_by_unix%% would do — replace spaces with hyphens?
That, and force everything to lower case. I suspect some other "special characters", if even allowed in user names, may also get converted to hypens (but I can't think of one user name I've seen that has anything other than alpha/numeric characters plus spaces).
Community Admin
A regex via Pipes can do all that. But this would now send %%created_by%% through a feed module in a _template's %%content{n}%%, then through a series of includes, into a listpages.
Seems excessive, and probably not possible.
edit — But to send the username to Pipes, I have to do it via URL… which lands me back in the same problem. Is there any way to perform simple regexes within the context of the wiki?
I think the problem is an external URL can't contain space in Wikidot syntax. If we could use URLs in the [[[this | syntax]]] for links, this would work perfectly, as only the "|" (or "]]]") signals the end of URL, not a space.
Piotr Gabryjeluk
visit my blog
Gabrys, would this be a solution?
%%created_by_unix%%
%%updated_by_unix%%
%%commented_by_unix%%
it's the same as the normal variables, but replaces each space with a hyphen and makes names lowercase.
I think I made a wish for this but am limited at the moment and won't be able to find it until I get to a computer.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Precisely, Piotr. I'm thinking it's more appropriate to convert these names to a useable unix format, rather than reworking Wikidot's syntax to accommodate this use case.
Piotr closed this ticket (prematurely?), but it seems to be the same issue.
The solution for this will be (once worked on):
%%created_by_unix%%
%%updated_by_unix%%
%%commented_by_unix%%
Piotr Gabryjeluk
visit my blog
Thanks! Looking forward to the implementation of this!
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Done as explained above. Documentation updated at:
http://www.wikidot.com/doc:templates
http://www.wikidot.com/doc:listpages-module
Piotr Gabryjeluk
visit my blog
This works great! Thanks from a user with a space in his user name. :)
Community Admin
THANKS!!! ;-)
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)