Last modified: 2012-02-22 03:45:58 UTC
Dear Yaron, Thanks for the very useful drilldown extension for semantic mediawiki's. I have found a certain kind of behaviour that is in my opinion a bug. Description: I have a wiki installed behind the firewall of the university. It has an address like: http://local-ip/MyWiki. We use a reverse proxy to allow external users to access our wiki using an address like http://external-address/MyWiki. When I go to the http://external-address/MyWiki/Special:BrowseData/MyCategory1 the drilldown extension works perfectly. If I now choose MyCategory2 from the category browser, the page address changes to http://local-ip/MyWiki/Special:BrowseData/MyCategory2 instead of http://external-address/MyWiki/Special:BrowseData/MyCategory2. Since the external users cannot access the local-ip directly, they cannot open the wikipage. For all other linked pages in the wiki, the wiki opens the page using the external-address. Only the drilldown extension gives these problems. I hope this explanation is clear and I hope that a simple solution exists. Thanks for your time. Nicole
Hi Nicole, Sorry about the delay. I think I just fixed this problem in SVN - you can either get the code via SVN, or just make the fix directly in your code - it's a tiny fix. See here: r1=111307&r2=111722">http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php?r1=111307&r2=111722 Please let me know if that worked for you.
Well, it looks like that URL got messed up. Here's the change - in the file /specials/SD_BrowseData.php, change line 196 from: $url = $bd->getFullURL() . '/' . $category; to $url = $bd->getLocalURL() . '/' . $category;
I'm marking this as fixed - feel free to re-open if there's still a problem.