Recent Forum Posts
From categories:
page 1123...next »

What if I want to the name of it to 'access file 5243578435-B' You get the idea, how would I change the name of it?

by agent costinagent costin, 06 Nov 2018 23:09

try it with a local moduile CSS - overwriting the style of the "element div.collapsible-.block-folded"
with style="font-weight: bold;" :

I have a test-page with this local module CSS ( found out the div.class "collapsible-block-folded" with firefox web-developer tool inspector ( menu) on my test wiki:
https://helmuti-pdorf.wikidot.com/collapsible-block-css


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 ?

Re: Bold text ? by Helmut_pdorfHelmut_pdorf, 23 Oct 2018 16:17

I'd like to put in bold the show / hide text, but can't find the correct synatx…

Bold text ? by nikdek69nikdek69, 23 Oct 2018 10:40
PressToDeletePressToDelete 01 Sep 2018 19:17
in discussion Hidden / Per page discussions » Html5player

Just found this and it's great! How simple yet perfect
And the autoplay feature is amazing

by PressToDeletePressToDelete, 01 Sep 2018 19:17

Why isn't there a nice red button that says "Open New Tab"?

Just a thought... by Flint LockeFlint Locke, 29 Jun 2018 03:39

Great!

I think it's still a Wikidot bug though; there's no good reason why % should be invalid in titles.

Hmm, not sure if it's something that Wikidot can do. The error is likely being thrown somewhere lower in the stack (i.e. not in Wikidot's codebase).

Most web servers will trip over trying to parse a URI with % but not followed by two hex characters. What happens when that occurs isn't defined. But when it happens after the hash, you're at the discretion of the browser's implementation.

See recommendations on w3.org:

Sequences which start with a percent sign but are not followed by two hexadecimal characters are reserved for future extension.

The ideal solution is for Wikidot to provide a way of variables with percent encoding — e.g. %%title|urlencode%%.


Kenneth Tsang (@jxeeno)

That's got it. Thanks.

I think it's still a Wikidot bug though; there's no good reason why % should be invalid in titles.

Ah, dang. Didn't test that.

I've just updated it to use escape(unescape()) — let me know if it's working better. Based on that link on feedback.wikidot.com, looks like it's working now.

escape(unescape()): the first unescape will ensure any encoded entities are correctly decoded first, and then encode all special characters except / unless it's after the /title/. I think this solves it.

There's still an edge case where the user might provide a page title with a substring that is in the URI encoding format. For example, if the title was to be: Problem with encoding %20. I don't think it's possible to fix that though.


Kenneth Tsang (@jxeeno)

Sorry, that's worse.

The problem is that there are already bona-fide % characters in the URL replacing space characters in the page title:

…/title/Re:%20Expect%20a%2015%%20performance%20loss%20coming%20soon

The fix to escape the % in "15%" also escapes all the others, with the result that the new page title has all the escapes in.

The only way I can think to fix this is to go back to the original and make a special case of a "%" that is not followed by a hexadecimal digit:

var urlfix=unescape(window.location.hash.substring(1));
urlfix = urlfix.replace(/%[^0-9A-Fa-f]/g, function myfunction(x) {return "%25"+x.slice(1);})

(Warning: I have made it a career ambition never to learn Javascript.)

That will lead to odd behaviour when the % is followed by a digit, but I can't see an obvious solution.

On reflection, I think this is a Wikidot problem. I've filed a bug report there: http://feedback.wikidot.com/bug:1152

Wow. That was some pretty terrible code 😂

Gone back and made some changes. The modified version shouldn't break any existing code (unless the use case is to generate broken URL encoding).

If anyone else is experiencing new problems as a result of this change, please reply below with an example :)


Kenneth Tsang (@jxeeno)

I have used this to create comment pages in a forum build:

[[span class="forum-button"]][[[http://snippets.wdfiles.com/local--code/code:url-title-with-slash-redirect/1#http://srhdev.wikidot.com/comment:new_comment/edit/true/parentPage/%%fullname%%/title/Re:%20%%title%% | Reply]]][[/span]]

It has worked fine for years, until someone just created a thread called "Expect a 15% performance loss coming soon". On that page, the button produces a 400 error. The URL it produces is:
http://snippets.wdfiles.com/local--code/code:url-title-with-slash-redirect/1#http://srhdev.wikidot.com/comment:new_comment/edit/true/parentPage/thread:834/title/Re:%20Expect%20a%2015%%20performance%20loss%20coming%20soon

The "%" not quoted, which it should be.
header header header
67 иван дф 78
cell-content cell-content cell-content
by Nasran TapetNasran Tapet, 20 Dec 2017 09:02

[[include :snippets:todo:_list]]

rrr by Nasran TapetNasran Tapet, 20 Dec 2017 08:58

I have only the special style settings on http://snippets.wikidot.com/code:collapsible-block-unleashed

The "collapsible" line itself I have seen somewhere, but I think this is not so easy to sovle
Perhaps the old guide from div style settings does help you?


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 ?

Re: Colors? by Helmut_pdorfHelmut_pdorf, 04 Sep 2017 15:19

Is there any way to change the color of the collapsible?

Colors? by JennkrystJennkryst, 04 Sep 2017 14:11

So I took a look at http://try.wikidot.com/color-tab-testing

Not blue, finally green! Except for this part. Why can't I change this, too?

use this code to change the field color:

.yui-navset .yui-content {
    background: #434b98;
}

#434b98 is dark blue. You can use this site to pick the color you want, it's simple to use.

Where can I change THIS text color?

 .yui-navset .yui-nav .selected a, .yui-navset .yui-nav .selected a:focus, .yui-navset .yui-nav .selected a:hover {
    color: #dd00ca;
}

#dd00ca is magenta. Replace it with the color you want to use.

I suggest you use the developer tools for this. Each browser (non-mobile) should have these, you can look at the styles with them and play around without actually messing up the design. I use a Chromium-based browser, and activate the developer tools through Ctrl+Shift+I, which opens a new window for me, with the page's html on the left side, and its css on the right side. Here's a screenshot.

Re: CSS in Custom Theme? by Mai SelphMai Selph, 03 Sep 2017 09:22

Nor can I link to the specific test page I've been using.

- the reason is the "newbee" factor for you! Your karma is low and you are new on Wikidot: the spam-filter is stopping you from posting a link at the beginning of your life here in the wikidot platform:
we have an unbelieveble wave of spammers on many wikis - for better search results (SEO-technic) , last year were >80.000 free wikis deleted because of spamming with external links to their business site ( and the owner too).

I am not sure how to change all of the fields in the tabs

I have copied your test page http://try.wikidot.com/color-tab-testing ( I can post with my karma here) to a new one http://try.wikidot.com/color-tab-testing-1 without the module CSS at the top - for playing around with the color-codes.

let us comment on these pages the colors..


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 ?

Re: CSS in Custom Theme? by Helmut_pdorfHelmut_pdorf, 03 Sep 2017 06:51

A somewhat new problem has arisen; I am not sure how to change all of the fields in the tabs. Nor can I link to the specific test page I've been using.

Re: CSS in Custom Theme? by JennkrystJennkryst, 03 Sep 2017 05:00

In trying to create an example to show you where I am having issues with the code, I discovered my problem: the color change code will not show up until you save it; I had been exclusively using 'preview' until now.

All is well (ish)

Re: CSS in Custom Theme? by JennkrystJennkryst, 03 Sep 2017 04:05

Which community do you mean?
http://community.wikidot.com/ is our community and on the forum you need not to be a member to post something…


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 ?

Re: CSS in Custom Theme? by Helmut_pdorfHelmut_pdorf, 02 Sep 2017 18:15
page 1123...next »
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License