mediawiki

Open-source parser code for Mediawiki markup [closed]

五迷三道 提交于 2019-11-29 10:47:41
I'm interested in selectively parsing Mediawiki XML markup to generate a customized HTML page that's some subset of the HTML produced by the actual PHP Mediawiki render engine. I want it for BzReader, an offline Mediawiki compressed dump reader written in C#. So a C# parser would be ideal, but any good code would help. Of course, if no one has done it before, I guess it's time to start a project maintaining a free and separate Mediawiki parser, based on Mediawiki's own parser, but less tightly integrated with Mediawiki itself. So, does anyone know of any base I could begin with, that would be

Embedding Recent Changes on Main Page on MediaWiki

流过昼夜 提交于 2019-11-29 10:06:00
I am a complete and total newbie with MediaWiki. I would like to find a way to include Recent Changes directly on the Main Page, without having to have the user navigate to the recent changes page. What are my options for this? Thanks! One way would be to put {{Special:RecentChanges}} in [[Main_Page]]. The News extension (available at http://www.mediawiki.org/wiki/Extension:News ) is a way to do this very simply, and can be customized so that the entire recent changes page is not displayed. Just install the extension and then adding the <news/> tag will include the 10 most recent changes.

How to add a link in MediaWiki VisualEditor Toolbar?

僤鯓⒐⒋嵵緔 提交于 2019-11-29 03:25:24
I`m trying to insert a custom link to a special page in VisualEditor toolbar. See the image below. See Image I googled a lot but without success. Someone please give a path... My answer is based on the following resources: MediaWiki core JS doc (ooui-js) VisualEditor JS doc (+ reading code of both repositories used for VE, mediawiki/extension/VisualEditor and VisualEditor ) Also, I'm pretty sure, that there is no documented way of adding a tool to the toolbar in VE, as far as I know. Although it's possible to add a tool to a group, which is already added, mostly used for the "Insert" tool

MediaWiki安装随记

◇◆丶佛笑我妖孽 提交于 2019-11-29 02:29:45
1.安装apache与php7。 注意:1.应该选择vc版本一直的apache与php7。php一般选择threadsafe版本 2.windows安装完成php7后,应该先stop再start不要直接restart,会导致环境变量无法刷新。 2.php7最低配置 开启扩展:fileinfo、mbstring、openssl、intl、(pdo_sqlite、sqlite3) 3.开启Zend opcache,极大提升运行速度。 参考:https://www.cnblogs.com/GaZeon/p/71 4.如有必要,可以开启memcache。 5.Mediawiki 在LocalSettings开启此项参数,可以打印异常的全部信息,有助于诊断异常问题。 $wgShowExceptionDetails=true; 来源: https://www.cnblogs.com/w1618/p/11440405.html

Getting developers to use a wiki [closed]

杀马特。学长 韩版系。学妹 提交于 2019-11-29 00:59:49
问题 I work on a complex application where different teams work on their own modules with a degree of overlap. A while back we got a Mediawiki instance set up, partly at my prompting. I have a hard job getting people to actually use it, let alone contribute. I can see a lot of benefit in sharing information. It may at least reduce the times we reinvent the wheel. The wiki is not very structured, but I'm not sure that is a problem as long as you can search for what you need. Any hints? 回答1: As I

How to make a MediaWiki site multilingual

时间秒杀一切 提交于 2019-11-28 21:38:32
I've installed a MediaWiki site. I think default MediaWiki supports only one language which is configured during installation. Is there a way in MediaWiki to support two or more languages like wikipedia.org? Available languages for a page should be listed on left side like Wikipedia, and when a user clicks a language, the version of the page in the selected language can be seen. What is the conventional way to support multilingualism? There are two different ways to make a multilingual wiki setup. You can have a family of wikis each of which supports a different language. This is how the

WordPress MediaWiki integration

£可爱£侵袭症+ 提交于 2019-11-28 18:02:43
On the other end of the spectrum, I would be happy if I could install a wiki and share the login credentials between WordPress and the wiki. I hacked MediaWiki a while ago to share logins with another site (in ASP Classic ) via session cookies, and it was a pain to do and even worse to maintain. Ideally, I would like to find a plug-in or someone who knows a more elegant solution. ceejayoz The tutorial WordPress, bbPress & MediaWiki should get you on the right track to integrating MediaWiki into your WordPress install. It's certainly going to be a lot easier than hacking WordPress to have wiki

How to get plain text out of wikipedia

て烟熏妆下的殇ゞ 提交于 2019-11-28 18:02:25
问题 I've been searching for about 2 months now to find a script that gets the Wikipedia description section only. (It's for a bot i'm building, not for IRC.) That is, when I say /wiki bla bla bla it will go to the Wikipedia page for bla bla bla, get the following, and return it to the chatroom: "Bla Bla Bla" is the name of a song made by Gigi D'Agostino. He described this song as "a piece I wrote thinking of all the people who talk and talk without saying anything". The prominent but nonsensical

InnoDB: Attempted to open a previously opened tablespace

依然范特西╮ 提交于 2019-11-28 15:07:46
问题 I have been working on a problem for a few days now. Our local mediawiki page that sits on our box account, destroyed itself and we've been working to get it online. Using XAMPP Control Panel v3.2.1, the errors were numerous so we decided to update XAMPP (v3.2.2) and move the 'htdocs' and 'mysql/data' files over to the new data base. First error: 9:50:21 AM [mysql] Attempting to start MySQL app... 9:50:22 AM [mysql] Status change detected: running 9:50:22 AM [mysql] Status change detected:

MediaWiki authentication with credentials of a Windows domain

自闭症网瘾萝莉.ら 提交于 2019-11-28 14:51:48
I wish to create a wiki page for internal use within my company. Ideally, I would like it to verify logins against our company windows domain, so that the user does not have to create a new account specifically for the wiki in order to to access it. So, users currently log into a domain when they log into their computer in work in the morning. I want to use these credentials in my webpage to verify that the user should be allowed to edit the page ? I want the users login to be maintained so that we can keep track of who makes the edits and when. Is it possible to do this ? What can I do to