* please fix command reference links on contextgarden
@ 2011-08-22 19:14 Philipp A.
2011-08-22 19:25 ` Mojca Miklavec
0 siblings, 1 reply; 5+ messages in thread
From: Philipp A. @ 2011-08-22 19:14 UTC (permalink / raw)
To: ConTeXt Mainling List
[-- Attachment #1.1: Type: text/plain, Size: 501 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 936 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: please fix command reference links on contextgarden
2011-08-22 19:14 please fix command reference links on contextgarden Philipp A.
@ 2011-08-22 19:25 ` Mojca Miklavec
2011-08-22 19:53 ` Philipp A.
0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2011-08-22 19:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: please fix command reference links on contextgarden
2011-08-22 19:25 ` Mojca Miklavec
@ 2011-08-22 19:53 ` Philipp A.
2011-08-22 20:49 ` Mojca Miklavec
0 siblings, 1 reply; 5+ messages in thread
From: Philipp A. @ 2011-08-22 19:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1111 bytes --]
> 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 ;)
[-- Attachment #1.2: Type: text/html, Size: 2451 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: please fix command reference links on contextgarden
2011-08-22 19:53 ` Philipp A.
@ 2011-08-22 20:49 ` Mojca Miklavec
2011-08-22 21:25 ` Philipp A.
0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2011-08-22 20:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: please fix command reference links on contextgarden
2011-08-22 20:49 ` Mojca Miklavec
@ 2011-08-22 21:25 ` Philipp A.
0 siblings, 0 replies; 5+ messages in thread
From: Philipp A. @ 2011-08-22 21:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 324 bytes --]
2011/8/22 Mojca Miklavec <mojca.miklavec.lists@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!
[-- Attachment #1.2: Type: text/html, Size: 716 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-08-22 21:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-22 19:14 please fix command reference links on contextgarden Philipp A.
2011-08-22 19:25 ` Mojca Miklavec
2011-08-22 19:53 ` Philipp A.
2011-08-22 20:49 ` Mojca Miklavec
2011-08-22 21:25 ` Philipp A.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).