Hi,
I'm working on a tool that helps automating aspects of image license checking in Wikipedia (developing it for HuWiki).
The idea is to show an unchecked image page in a frame and a list of available actions in another frame.
However I realized that it's not straightforward to show a Wikipedia page in a frame at all, it automatically takes over the top frame after loading.
I've seen that http://de.wikipedia.org/wiki/Benutzer:Flacus/Wikipedia_Interwiki-Link-Checke... does some dark magic rewriting the page contents but do I have to do that too?
What's the reason for this behavior and what's the easiest way to get around it?
Thanks, nyenyec
Example:
<html> <frameset rows="50%,50%"> <frame src="about:blank" /> <frame src="http://en.wikipedia.org" /> </frameset> </html>
On 10/8/06, Nyenyec N nyenyec@gmail.com wrote:
What's the reason for this behavior...
http://bugzilla.wikimedia.org/show_bug.cgi?id=7431#c1
...and what's the easiest way to get around it?
Not sure. Open a new window or maybe even load the content with XMLHttpRequest?
Regards, - Dan Li
On 10/9/06, Dan Li dto@dev.java.net wrote:
On 10/8/06, Nyenyec N nyenyec@gmail.com wrote:
What's the reason for this behavior...
http://bugzilla.wikimedia.org/show_bug.cgi?id=7431#c1
...and what's the easiest way to get around it?
Not sure. Open a new window or maybe even load the content with XMLHttpRequest?
Try a URL like this: http://en.wikipedia.org/w/index.php?title=bat&action=render
Andrew Dunbar (hippietrail)
Regards,
- Dan Li
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Thanks, this would work, except that the whole point of my application is to show the users a full image with its corresponding meta information so that they can check the license info and act accordingly.
When I open an image page it doesn't display the image which defeats the whole point:
http://en.wikipedia.org/w/index.php?title=Image:PriscillaPresleybookcover.jp...
Interestingly I can link to the image and display it separately, which puts the "bandwidth theft" argument against frames into question...
http://upload.wikimedia.org/wikipedia/en/c/cc/PriscillaPresleybookcover.jpg
Oh, well, we'll just turn this off in HuWiki's JavaScript I guess.
-- nyenyec
On 10/9/06, Andrew Dunbar hippytrail@gmail.com wrote:
On 10/9/06, Dan Li dto@dev.java.net wrote:
On 10/8/06, Nyenyec N nyenyec@gmail.com wrote:
What's the reason for this behavior...
http://bugzilla.wikimedia.org/show_bug.cgi?id=7431#c1
...and what's the easiest way to get around it?
Not sure. Open a new window or maybe even load the content with XMLHttpRequest?
Try a URL like this: http://en.wikipedia.org/w/index.php?title=bat&action=render
Andrew Dunbar (hippietrail)
Regards,
- Dan Li
wikitech-l@lists.wikimedia.org