Links to documentation not converted until post edited

Notice: This thread is very old.
petr.pavel
Member | 535
+
0
-

When I post a link to [[ documentation | doc:something ]], it doesn't get converted to https://doc.nette.org/cs/something until I edit the post.

When I posted this https://forum.nette.org/…tte-database#… the link to database/selection documentation page
[[ filtrování | doc:selection#somehash ]]
changed to https://doc.nette.org/…ase/explorer only after I edited the post.

Also, the hash tag got lost during the process.

EDIT: Now that's funny. This post got the links converted immediately. Could Czech forum be different in this regard?

Last edited by petr.pavel (2014-10-10 11:47)

petr.pavel
Member | 535
+
0
-

This is a test

petr.pavel
Member | 535
+
0
-

Okay, the bug shows when I type [[is a test |doc:something]].
The resulting link will be (as in the post above) doc:cs:something instead of expected https://doc.nette.org/cs/something.

Then edit the post and add something in front of the link
this [[is a test |doc:something]]
Send it and you'll see that the link has changed to http://....

EDIT: This procedure works, I verified it.

Last edited by petr.pavel (2014-10-10 12:19)

David Grudl
Nette Core | 8111
+
0
-

To vypadá na chybu v PCRE na serveru, kde běží fórum.

Milo
Nette Core | 1283
+
0
-

@DavidGrudl Všechny Texy testy prochází (v2.6, v2.x, master). Nějaký hint, po čem se podívat?

David Grudl
Nette Core | 8111
+
0
-

Našel jsem rozdíl mezi parsováním UTF mezi svým počítačem a VPS, jen ještě nevím, který stroj to dělá správně :-) Každopádně tohle s tím souvislost nemá…

@petr.pavel použil jsi preview? Pokud to bylo tím, tak snad opraveno.

hrach
Member | 1834
+
+1
-

@DavidGrudl sorry, but it's quite impolite to write in czech in en forum.

David Grudl
Nette Core | 8111
+
0
-

@hrach spletl jsem se, se stane.

petr.pavel
Member | 535
+
0
-

@DavidGrudl: The procedure I described above doesn't mention a preview so I suppose I didn't use it.

I see that the procedure no longer works, the link in my previous post was converted immediately.
Does it mean that you fixed it, or that my procedure doesn't work 100% times?

David Grudl
Nette Core | 8111
+
0
-

I hope I fixed it. I.e. I found and fixed bug in preview routing.