Re: [NTG-context] please fix command reference links on contextgarden

2011-08-22 Thread Mojca Miklavec
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)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] please fix command reference links on contextgarden

2011-08-22 Thread Philipp A.
 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=rawsmaxage=0gen=jsuseskin=monobook270,
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 ;)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] please fix command reference links on contextgarden

2011-08-22 Thread Mojca Miklavec
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=rawsmaxage=0gen=jsuseskin=monobook270,
 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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] please fix command reference links on contextgarden

2011-08-22 Thread Philipp A.
2011/8/22 Mojca Miklavec mojca.miklavec.li...@gmail.com

 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!
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___