please fix command reference links on contextgarden
![](https://secure.gravatar.com/avatar/da56018fec1036eb1e02305d09a0bce8.jpg?s=120&d=mm&r=g)
it does *still* not work. the fuction is defined as such: function show_command(URL) { open_window().location.href='http://texshow.contextgarden.net/cmd/' + URL; } and thus redirects to some url under http://texshow.contextgarden.net/. but no matter what that url is, the subdomain always redirects to the url http://wiki.contextgarden.net/Category:Reference/en (no, not http://wiki.contextgarden.net/Category:Reference/en/TheCommandName!) please fix it, whoeveer runs texshow.contextgarden.net
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Mon, Aug 22, 2011 at 21:14, Philipp A. wrote:
it does still not work.
the fuction is defined as such:
function show_command(URL) { open_window().location.href='http://texshow.contextgarden.net/cmd/' + URL; }
and thus redirects to some url under http://texshow.contextgarden.net/.
but no matter what that url is, the subdomain always redirects to the url http://wiki.contextgarden.net/Category:Reference/en (no, not http://wiki.contextgarden.net/Category:Reference/en/TheCommandName!)
please fix it, whoeveer runs texshow.contextgarden.net
Can you please provide more details - how can we reproduce the problem and where is that function? Thank you, Mojca (texshow used to be a separate application; it is now part of wiki)
![](https://secure.gravatar.com/avatar/da56018fec1036eb1e02305d09a0bce8.jpg?s=120&d=mm&r=g)
Can you please provide more details
of course how can we reproduce the problem
go to e.g. http://wiki.contextgarden.net/Quotes and click on a command link, e.g. *single quotes* \quote{some text} in the wiki, the fake link on \quote is a real one, calling javascript:show_command('quote') on click. and where is that function?
the function can be found in http://wiki.contextgarden.net/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=monobook&270, which is loaded in the head of each contextgarden wiki page. and as said, the problem is that - either the function should open the right url in the first place - or texshow should redirect properly @texshow: the resonse header contains the following lines: HTTP/1.1 302 Found Server: Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 PHP/5.2.6-2ubuntu4.6 with Suhosin-Patch Phusion_Passenger/2.2.4 Location: http://wiki.contextgarden.net/Category:Reference/en so the apache webapp is misconfigured. Thank you,
Mojca
thank you for listening :D (texshow used to be a separate application; it is now part of wiki)
i kinda figured that ;)
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Mon, Aug 22, 2011 at 21:53, Philipp A. wrote:
and where is that function?
the function can be found in http://wiki.contextgarden.net/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=monobook&270, which is loaded in the head of each contextgarden wiki page.
Thank you. It was a very nasty one to find, it is located here: http://wiki.contextgarden.net/MediaWiki:Monobook.js I fixed the link now, but we probably need to remove javascript alltogether and just create a normal link. Mojca
![](https://secure.gravatar.com/avatar/da56018fec1036eb1e02305d09a0bce8.jpg?s=120&d=mm&r=g)
2011/8/22 Mojca Miklavec
Thank you.
It was a very nasty one to find, it is located here: http://wiki.contextgarden.net/MediaWiki:Monobook.js
I fixed the link now, but we probably need to remove javascript alltogether and just create a normal link.
Mojca
thank you!
participants (2)
-
Mojca Miklavec
-
Philipp A.