mediawiki

克服“ X框架选项禁止的显示”

限于喜欢 提交于 2020-02-27 06:39:44
我正在写一个很小的网页,其目的是构架其他页面,只是将它们合并到一个浏览器窗口中,以便于查看。 我试图框住的页面中有几页被禁止装帧,并抛出“拒绝显示文档,因为X-Frame-Options禁止显示”。 Chrome中的错误。 我了解这是一个安全限制(有充分的理由),并且无权对其进行更改。 是否有其他替代的框架或非框架方法来显示单个窗口中不会被X-Frame-Options标头绊倒的页面? #1楼 当我尝试在iframe中嵌入moodle 2时遇到了相同的问题,解决方法是 Site administration ► Security ► HTTP security 并选中“ Allow frame embedding #2楼 添加一个 target='_top' 到我在facebook选项卡中的链接为我解决了这个问题... #3楼 这是解决方案的家伙! FB.Event.subscribe('edge.create', function(response) { window.top.location.href = 'url'; }); 唯一适用于Facebook应用程序的东西! #4楼 我在mediawiki上也遇到了同样的问题,这是因为出于安全原因服务器拒绝将页面嵌入到iframe中。 我写解决了 $wgEditPageFrameOptions = "SAMEORIGIN";

Media wiki 搭建

杀马特。学长 韩版系。学妹 提交于 2020-02-23 18:25:07
MediaWiki全球最著名的开源wiki程序,运行于PHP+MySQL环境。 MediaWiki从2002年2月25日被作为维基百科全书的系统软件,并有大量其他应用实例。MediaWiki的开发得到维基媒体基金会的支持。 MediaWiki是建立wiki网站的首选后台程序,国内的灰狐维客等站点都采用这套系统。 Media wiki 搭建 1.安装准备的软件及安装环境: 系统版本CentOS Linux release 7.5.1804 (Core) 2.软件版本: (1)httpd-2.4.6-80.el7.centos.1.x86_64 ; (2)Server version: 10.2.19-MariaDB MariaDB Server (3)PHP 7.1.23 (4)Windows-server-2008R2 AD域控制器 3.配置动态网卡 4.查看防火墙状态: 使用yum安装LAMP环境,关闭防火墙和selinux,便于顺利测试: systemctl status firewalld systemctl stop firewalld systemctl disable firewalld 关闭防火墙 5.配置MariaDB yum源安装Http和MariaDB vim /etc/yum.repos.d/Mariadb.repo(空文件里输入) 内容为: [mariadb

Storing images using node.js gives error

孤者浪人 提交于 2020-02-05 14:04:18
问题 I am trying to get an image from wikimedia and the link of the image is upload.wikimedia.org/wikipedia/commons/thumb/e/e3/AybükeArslan_(3).JPG/220px-AybükeArslan_(3).JPG But when i try to get the image using node.js the wikimedia server gives error statement as response. But on the browser the URL works perfectly and give the image as response. The is the error statement 400 Bad Request The server could not comply with the request since it is either malformed or otherwise incorrect. Failed to

Wiki开源软件 介绍

对着背影说爱祢 提交于 2020-01-29 10:59:00
Wiki 是一个协同著作平台或称开放编辑系统。所谓协同工作, 即它能够让浏览网页的人都能够去修订网页,其简介的 ... Wiki 是什么做到的. Wiki 使用 了简化的语法,替代复杂的HTML,加上WEB 界面的编辑工具,降低内容维护的门槛; ...... 相信很多的站长都需要WiKi,我们可以用Wiki来建设帮助系统,知识系统,松散的讨论平台,甚至收藏夹...... 在这里我推荐几款常用的WiKi程序。 一,ASP的WiKi程序。ASP的WiKi程序总体感觉比较弱,或许开放的WiKi更喜欢开放的linux系统吧 1,Operator Wiki 0.3 语言环境:ASP+ACCESS 官方主页:http://cosoft.org.cn/projects/operatorwiki/ 演示:http://my.yeew.net/maxzone/operatorwiki/wiki.asp 下载:http://down2.codepub.com/codepubcom/2006/4/8/operatorwik03.rar 介绍:免费开源的国产WIKI程序,ASP+JavaScript写的 Wiki 引擎,支持多语言、ACL,综合各种 WIKI 的功能。 Operator Wiki 升级日志0.3:. * 完整的用户权限 * 支持 ACL 进行权限控制 * 修正了一个标记冲突问题 *

File Upload Error in MediaWiki 1.22.3 - Could not create directory “mwstore://local-backend/local-public/7/70”

被刻印的时光 ゝ 提交于 2020-01-23 07:23:35
问题 We recently upgraded our MediaWiki installation to 1.22.3 running on Ubuntu 12.04.2 LTS. Now when we try to upload files, we get the following error: Could not create directory "mwstore://local-backend/local-public/7/70" 回答1: Finally found the solution in the MediaWiki documentation. The problem was the ownership of the images directory. Making the adjustments suggested in the documentation eliminated the problem. See the following for details: http://www.mediawiki.org/wiki/Manual:Configuring

File Upload Error in MediaWiki 1.22.3 - Could not create directory “mwstore://local-backend/local-public/7/70”

房东的猫 提交于 2020-01-23 07:22:47
问题 We recently upgraded our MediaWiki installation to 1.22.3 running on Ubuntu 12.04.2 LTS. Now when we try to upload files, we get the following error: Could not create directory "mwstore://local-backend/local-public/7/70" 回答1: Finally found the solution in the MediaWiki documentation. The problem was the ownership of the images directory. Making the adjustments suggested in the documentation eliminated the problem. See the following for details: http://www.mediawiki.org/wiki/Manual:Configuring

Prevent URL-encoding of characters in link in MediaWiki

假装没事ソ 提交于 2020-01-23 04:12:27
问题 I.e.: How to suppress substitution/replacement of characters with its html entities in a MediaWiki link? I need to insert a link looking like this, pipes ( | ) included, into a MediaWiki article: http://www.somesite.asdf/#|param1|param2|param3 The target site does not accept %7C or | as pipe-substitutes in its URL. Ergo, the following URLs are invalid: http://www.somesite.asdf/#%7Cparam1%7Cparam2%7Cparam3 http://www.somesite.asdf/#|param1|param2|param3 When I type the link into the MediaWiki

Prevent URL-encoding of characters in link in MediaWiki

这一生的挚爱 提交于 2020-01-23 04:12:24
问题 I.e.: How to suppress substitution/replacement of characters with its html entities in a MediaWiki link? I need to insert a link looking like this, pipes ( | ) included, into a MediaWiki article: http://www.somesite.asdf/#|param1|param2|param3 The target site does not accept %7C or | as pipe-substitutes in its URL. Ergo, the following URLs are invalid: http://www.somesite.asdf/#%7Cparam1%7Cparam2%7Cparam3 http://www.somesite.asdf/#|param1|param2|param3 When I type the link into the MediaWiki

How to enable Mathematica syntax highlighting for MediaWiki using extension “SyntaxHighlight GeSHi”?

江枫思渺然 提交于 2020-01-23 01:34:07
问题 I'd like to syntax highlight Mathematica code on a MediaWiki site. I've already installed the MediaWiki extension SyntaxHighlight GeSHi and verified that it works for other languages. I tried simply putting a Mathematica langauge data file mathematica.php into MediaWiki's extension path wiki/extensions/SyntaxHighlight_GeSHi/geshi , however it didn't correctly highlight a Mathematica code block such as: <syntaxhighlight lang="Mathematica"> (* this is a comment *) List[Sin[x], Cos[x], Tan[x]];

How do you grab an article including the links in a usable format?

ぃ、小莉子 提交于 2020-01-15 07:05:08
问题 I have an internal deployment of mediawiki. In some articles are external links. I have another page that makes API calls to the wiki to pull articles into another website. When I pull those articles in, links do not get pulled in properly. Here is an example. Wiki article: Use [http://example.com THIS LINK] to contact the vendor. API URL: https://mysite.com/mediawiki/api.php?action=query&format=json&prop=extracts&titles=Vendor API results: Use THIS LINK to contact the vendor. Notice the link