Reputation: 5166
I am working on MediaWiki which is in php . For some reason i have to open all this application in an iframe . Everything is working except the Edit link for pages. I am using this like .
In this snippet one link is working properly But link 2 is not working i mean it is blank page . Don't know where is problem . Any help will be appreciated
<iframe width="100%" src="https://en.wikipedia.org/wiki/manoj"></iframe>
<iframe width="100%" src="https://en.wikipedia.org/w/index.php?title=IFrame&action=edit&editintro=Template:Disambig_editintro"></iframe>
Upvotes: 0
Views: 70
Reputation: 5166
I have resolved the issue . Just need to set X-frame
in default setting in the include/defaultsetting.php
. set $wgEditPageFrameOptions = 'deny';
to $wgEditPageFrameOptions = false;
. and all is working fine now.
Upvotes: 2