|
Hi Eloy
The name of the wiki is: Wiki: Algoritmos Numéricos (referente a etapa II) When i point the mouse over the link at the status bar i see the following addres: When i click on the link it goes to : Only If logged in as admin or teacher this happens, if logged as a customized role the support it not happens. the wiki has no initial page the type is student and the ewikipageprinttiel set to yes. Lookinf for more steps and trying to reproduce. ciao Aha,
yes, definetively, it's the "interwiki feature" of ewiki (the wiki engine under Moodle 1.9.x) the responsible for this. So it gets any page beginning by "Wiki:" and any link to it is automatically transformed to its corresponding "interwiki" target. So "Wiki:" goes to "WardsWiki:" that goes to "http://www.c2.com/cgi/wiki?". Looking for info I found this: http://moodle.org/mod/forum/discuss.php?d=22849 "Wiki" => "WardsWiki", in mod/wiki/ewiki/ewiki.php. That way, pages beginning by "Wiki:" won't be transformed (interwiki-ed) any more. I'll try to find a proper solution for this (perhaps some config setting or so). I think best behaviour is:
That way interwiki will be disabled by default and... if somebody was using that undocumented feature can continue using it by setting the config option in config.php file. Sounds ok? Hi
The solution would be? At mod/wiki/ewiki/ewiki.php create this constant (eg. line 80)? At line 437:
Hi Angelo,
something like that but with $CFG->wiki_allow_interwiki variable for easier setting for users that could potentially be using it (I think nobody is... but who knows). Commit will land to CVS today, so this should be in next Wednesday's weekly build. Ciao Done.
Now wiki 1.x interwiki links are disabled by default and can be re-enabled if needed by adding: $CFG->wiki_allow_interwiki = true;
to config.php file Also, I've commented the change in:
Resolving as fixed, ciao Angelo, thanks for your report, and Eloy, thanks for fixing it, documenting it and posting about it
thank you all i am glad i can contribute back to the Moodle project.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
something seems to be missing in your steps:
1) Create one wiki. With any name?
2) Then the initial page edit is showed... what must I do there. Introduce anything? Click where?
The only reason to get links to that host... seems to be that you are using "interwiki" links with something like "WardsWiki" or so. Can you plz, confirm the exact data entered to reproduce the problem?
TIA and ciao