欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Extension:Widgets
来自开放百科 - 灰狐
(版本间的差异)
小 (→连接) |
|||
(未显示1个用户的5个中间版本) | |||
第1行: | 第1行: | ||
Widgets extension allows adding widgets to [[MediaWiki]] by just creating pages in Widget namespace. | Widgets extension allows adding widgets to [[MediaWiki]] by just creating pages in Widget namespace. | ||
− | + | cd extensions | |
+ | git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Widgets.git | ||
+ | cd Widgets | ||
+ | git submodule init | ||
+ | git submodule update | ||
+ | 没报任何错误,但不工作,难道只支持 Apache HTTP Server? | ||
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Widgets/ | http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Widgets/ | ||
− | == | + | |
+ | #Widgets | ||
+ | require_once("extensions/Widgets/Widgets.php"); | ||
+ | $wgGroupPermissions['sysop']['editwidgets'] = true; | ||
+ | |||
+ | 放在 require_once("includes/DefaultSettings.php");后,出现 | ||
+ | |||
+ | Warning: Smarty error: unable to read resource: "wiki:SlideShare" in www/data/wiki/extensions/Widgets/smarty/Smarty.class.php on line 1095 | ||
+ | |||
+ | 放在 require_once("includes/DefaultSettings.php");前,不解析 | ||
+ | |||
+ | {{#widget:SlideShare|doc=semantic-media-wiki-semantic-forms-1205504882436734-4|width=425|height=348}} | ||
+ | |||
+ | ==DISQUS== | ||
+ | 整合 [http://www.mediawikiwidgets.org/DISQUS DISQUS] | ||
+ | |||
+ | ==连接== | ||
*[http://www.mediawikiwidgets.org MediaWiki Widgets] | *[http://www.mediawikiwidgets.org MediaWiki Widgets] | ||
*http://www.mediawiki.org/wiki/Extension:Widgets | *http://www.mediawiki.org/wiki/Extension:Widgets | ||
*[http://www.ohloh.net/p/mediawiki-widgets Extension:Widgets在ohloh.net] | *[http://www.ohloh.net/p/mediawiki-widgets Extension:Widgets在ohloh.net] | ||
− | [[ | + | {{#widget:DISQUS |
+ | |id=huihoo | ||
+ | |uniqid={{PAGENAME}} | ||
+ | |url={{fullurl:{{PAGENAME}}}} | ||
+ | }} | ||
+ | |||
+ | [[category:MediaWiki]] |
2015年1月1日 (四) 02:45的最后版本
Widgets extension allows adding widgets to MediaWiki by just creating pages in Widget namespace.
cd extensions git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Widgets.git cd Widgets git submodule init git submodule update
没报任何错误,但不工作,难道只支持 Apache HTTP Server?
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Widgets/
#Widgets require_once("extensions/Widgets/Widgets.php"); $wgGroupPermissions['sysop']['editwidgets'] = true;
放在 require_once("includes/DefaultSettings.php");后,出现
Warning: Smarty error: unable to read resource: "wiki:SlideShare" in www/data/wiki/extensions/Widgets/smarty/Smarty.class.php on line 1095
放在 require_once("includes/DefaultSettings.php");前,不解析
{{#widget:SlideShare|doc=semantic-media-wiki-semantic-forms-1205504882436734-4|width=425|height=348}}
[编辑] DISQUS
整合 DISQUS
[编辑] 连接
{{#widget:DISQUS |id=huihoo |uniqid=Extension:Widgets |url=http://wiki.huihoo.com/wiki/Extension:Widgets }}
分享您的观点