# \[SOLVED\] Integrate Mediawiki into NC using External sites app

**URL:** <https://help.nextcloud.com/t/solved-integrate-mediawiki-into-nc-using-external-sites-app/74644>\
**Category:** ℹ️ Support\
**Tags:** external-app\
**Created:** [March 21, 2020, 7:10am UTC](https://help.nextcloud.com/t/solved-integrate-mediawiki-into-nc-using-external-sites-app/74644 "2020-03-21T07:10:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marculix](https://help.nextcloud.com/user_avatar/help.nextcloud.com/marculix/32/22693_2.png) [@marculix](https://help.nextcloud.com/u/marculix)\
**Post date:** [March 21, 2020, 7:10am UTC](https://help.nextcloud.com/t/solved-integrate-mediawiki-into-nc-using-external-sites-app/74644/1 "2020-03-21T07:10:28Z")

</div>

Hi folks

Could anyone give me a hint howto integrate Mediawiki smoothly into a NC site?

I managed to integrate Mediawiki into NC using the _External sites_ app.

The Mediawiki main page is being loaded & displayed properly in NC but most of the actions within Mediawiki will not be rendered in the specific Nextcloud subframe (just returning a blank frame, no error in apache logs).

I assume this is due to a https or iframe issue.  
But is this a HTTPS server matter or a NC matter?

**My LAMP environment**  
NC 18.0.2 (stable branch)  
Mediawiki 1.34.0  
Debian GNU/Linux 10.3 (stable)  
Apache 2.4.38 / HTTPS  
MySQL 10.1.38  
PHP 7.3.14

Thanks  
Marc

---

<div class="post-metadata">

**Author:** ![marculix](https://help.nextcloud.com/user_avatar/help.nextcloud.com/marculix/32/22693_2.png) [@marculix](https://help.nextcloud.com/u/marculix)\
**Post date:** [March 21, 2020, 5:06pm UTC](https://help.nextcloud.com/t/solved-integrate-mediawiki-into-nc-using-external-sites-app/74644/2 "2020-03-21T17:06:52Z")

</div>

Hi folks

I found a [solution](https://www.mediawiki.org/wiki/Manual%3a%24wgEditPageFrameOptions) that enabled a flawless [Mediawiki](https://www.mediawiki.org) integration with Nextcloud.

Add the following entry to Mediawiki `LocalSettings.php` config file:  
`$wgEditPageFrameOptions = "SAMEORIGIN";`

…and restart your webserver.

Cheers  
Marc

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 9:14pm UTC](https://help.nextcloud.com/t/solved-integrate-mediawiki-into-nc-using-external-sites-app/74644/3 "2024-12-11T21:14:43Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 9:14pm UTC](https://help.nextcloud.com/t/solved-integrate-mediawiki-into-nc-using-external-sites-app/74644/4 "2024-12-11T21:14:44Z")

</div>


