Все вопросы: [mediawiki]

91 вопросов

1
голосов
2ответов
300 просмотров

Wrap MediaWiki in another website

I want to wrap a mediawiki site inside another site - using the header.inc and footer.inc files that the rest of the website's html files use. I'm not familiar with php, is there a 'masterpage' file somewhere I can put them in?

2
голосов
2ответов
1016 просмотров

Advice for integrating a blog and wiki in a custom site

I've been tasked with building a site for a client. They want it to include a WordPress blog and a wiki with both integrated apps sharing the look and feel of the main site. Currently, they use MediaWiki and would like to stick with it, but they are flexible with respect to the software we choo...

2
голосов
2ответов
3832 просмотров

In MediaWiki, is there a way I can apply [[Image:<name>]] style resizing to external images?</name>

MediaWiki has a great built-in way for finessing the display of images, e.g. from http://www.mediawiki.org/wiki/Help:Images : [[File:MediaWiki:Image sample|thumb|50px]] [[File:MediaWiki:Image sample|border|50px]] However, unfortunately, the MediaWiki repository I have to work with has disabled...

10
голосов
2ответов
12580 просмотров

Using Redmine with an external Wiki?

We've got a company wiki running Mediawiki on our intranet that has been in use for a while. We just recently installed Redmine and are in the process of getting it configured just the way we like it. I was wondering if there's any way to use our already existing wiki instead of the built-in ...

25
голосов
5ответов
25678 просмотров

Is there any API in Java to access wikipedia data

I want to know: is there any API or a query interface through which I can access Wikipedia data?

0
голосов
4ответов
2601 просмотров

mod_rewrite redirect all urls except /wiki

I'm new to mod_rewrite and have just been going by trial and error so far, I'd like to redirect all URL requests to /drupal-6.13/ and hide the /drupal-6.13/, but if the URL is www.site.com/wiki not to rewrite anything. I'm also using the pathauto mod in drupal to create /content/title links for s...

0
голосов
2ответов
1364 просмотров

pywikipedia login.py socket.error: (10060, 'Operation timed out')

I'm totally new to python, so hopefully someone can help if I'm doing something obviously wrong. I'm trying to create and run a simple pywikipedia bot on vocabularies.referata.com, a semantic mediawiki site. I downloaded the pywikipedia distro and created a family file: import config, family, ur...

1
голосов
1ответов
3615 просмотров

Nginx clean urls rewrite for Mediawiki

I've done my best to research and try solutions I've found before posting this, hopefully it will help others also. I'm trying to write urls in Mediawiki to domain.com/PageTitle (I know this is bad practice). I've gotten it 99% working with this: http://snipt.org/msh (off a tutorial for drupal...

3
голосов
1ответов
2199 просмотров

How to make templates after installing MediaWiki?

I had just installed MediaWiki. What must I do to have wikipedia style templates like this: http://i.piccy.info/i4/4b/37/fe303fda0c813c0bda717d3a1e3b.png (example). I have already installed ParserFunctions Extension on my MediaWiki CMS. I have tried to look source &amp; copy it, but it didn't wo...

3
голосов
1ответов
1323 просмотров

Sharing WordPress session cookie with MediaWiki

This is very similar to a question posted last September, but I haven't come across any working solutions for it (and am not versed well-enough in session cookies to do it myself). If I'm having the user authenticate in WordPress, how do I read that session cookie with MediaWiki such that the use...

1
голосов
4ответов
2210 просмотров

LaTeX Failed to Parse(Unknown Error) on MediaWiki

On my wiki implemented by the MediaWiki interface, I am receiving a Failed to Parse (Unknown Error) for the LaTeX in the page. I checked the LocalSettings.php file, and I have set the proper variable($wgUseTeX) to true. If it helps, the error message before this was a Failed to Parse(Missing tex...

0
голосов
3ответов
557 просмотров

Regex help for MediaWiki template markup

My regex skills are pretty poor, and most of the time they make me feel stupid. Can anyone help? This question is more concerned with better mastery of regex than the job of extracting information from mud soup, so if my understanding of the mediawiki template system is flawed, I don't really mi...

1
голосов
1ответов
229 просмотров

Import SocialText wiki into MediaWiki

Does anyone have any experience converting a SocialText wiki into a MediaWiki? Is there any utility or script to perform the conversion?

3
голосов
3ответов
6161 просмотров

Using Wiki API by format JSON can't get the content

I use this code to gathering the information from Wiki: http://en.wikipedia.org/w/api.php?action=query&amp;rvprop=content&amp;prop=revisions&amp;format=json&amp;titles=apple And I can get a JSON String like this { "query": { "normalized": [{ "from": "apple", ...

6
голосов
2ответов
2501 просмотров

Get URL for mediawiki page given the Title - programmatically in PHP

how can I get URL for an Article in MediaWiki given the title? I want to create links to certain pages in the skin template programmatically using PHP right now I am doing this: &lt;a href="&lt;?php $wgScriptPath ?&gt;/index.php/Page_title"&gt;Page title&lt;/a&gt; Which is a bit too wordy, I'...

0
голосов
6ответов
156 просмотров

how to set a wiki like application only for known users or know IP?

Is there any way to set the access to a wiki like application only for some known users and known IP adress. my requirement is, I want to store/share some of the my project installation details and setting to my colleague. But don't want to show it to the public. what i need is mediaWiki like a...

7
голосов
2ответов
3004 просмотров

Can you easily configure MediaWiki to accept full HTML/CSS or even JS content?

I'd like to create a technical wiki site and it requires the full use of HTML/CSS and maybe Javascript when editing a page. Is this something I can easily configure in MediaWiki? If not, is there any other wiki software that you'd recommend? Thanks!

0
голосов
2ответов
1990 просмотров

Mediawiki / Excel: Hyperlink from Excel to a non-existant wiki page gives a 404 - how can I fix or work around this?

I suspect this could be something faulty with Excel (although I keep an open mind), but I wondered if anyone knew how I could get around this apparent bug: I wish to create Excel spreadsheets which link to pages in a local wiki (running MW 1.14.0, full details below) where those pages don't yet ...

5
голосов
5ответов
6807 просмотров

problem with mediawiki cookies

anytime a user logs into our Wiki they get the following error: "This Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again." Even though the error displays, the user is actually logged in and can make edits as normal. If the user doesn't look closely they...

0
голосов
2ответов
328 просмотров

MediaWiki: how to get the last N edited articles by a user?

Using PHP and MySQL, I am integrating a site with a wiki based on MediaWiki, so that profiles of users in the site have some stats about their contributions in the wiki. I want to show the last 3 edited articles of a user in a namespace (the main one, id 0), without repeating, and the links to t...

5
голосов
2ответов
1423 просмотров

MediaWiki API and encoding

I'm using the MediaWiki API to update some pages with an experimental robot. This robot uses the Java Apache HTTP-client library to update the pages. (...) PostMethod postMethod = new PostMethod("http://mymediawikiinstallation/w/api.php"); postMethod.addParameter("action","edit"); postMethod.add...

4
голосов
1ответов
1178 просмотров

mediawiki: getting the pages in a given category

using the mediawiki API, I can list the pages in a given category. For example: http://en.wikipedia.org/w/api.php?action=query&amp;list=categorymembers&amp;cmtitle=Category:Physics returns: &lt;?xml version="1.0"?&gt; &lt;api&gt; &lt;query&gt; &lt;categorymembers&gt; &lt;cm pageid...

0
голосов
1ответов
762 просмотров

Recursive transformations using xslt, xpath:document() and mediawiki

I want to use the Wikipedia API to find the French pages including the ''SQLTemplate:Infobox Scientifique'' missing in the English version. So, my idea was to process the following document with xproc: http://fr.wikipedia.org/w/api.php?action=query&amp;format=xml&amp;list=embeddedin&amp;eititle...

2
голосов
3ответов
2752 просмотров

Аутентификация MediaWiki из внешней формы

Я уже установил mediawiki, но хочу, чтобы пользователи проходили аутентификацию из внешней формы аутентификации. Когда они вводят правильное имя пользователя и пароль, они перенаправляются на страницу вики, и им не нужно повторно вводить данные для входа, и, следовательно, они могут редактироват...

1
голосов
2ответов
2616 просмотров

Добавление пользователей в настраиваемую группу в MediaWiki

$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = true; //$wgGroupPermissions['Human Resource'] = $wgGroupPermissions['user']; //$wgGroupPermissions['Human Resources']['edit'] = true; $wgGroupPermissions['Human Resource']['edit'] = true; //$wgGroupPermissions['Human...

9
голосов
6ответов
5405 просмотров

Вставка статей прямо в базу данных MediaWiki

Мне нужен способ вставлять новые статьи прямо в мою базу данных MediaWiki, не повреждая установку вики. Я предполагаю, что если бы я знал, какие таблицы / атрибуты вставляет MediaWiki при создании новой статьи, то я мог бы заполнить их сам. Кто-нибудь знает способ получше или есть предложе...

0
голосов
1ответов
1684 просмотров

Как получить токен редактирования для Mediawiki?

Я хочу получить токен редактирования с помощью команды HTTP POST. В документации API указано только Изменить токен. Вы можете получить один из них через prop = info Использование action = query &amp; prop = info &amp; title = Main Page &amp; intoken = edit не дает мне токена. Ка...

0
голосов
1ответов
96 просмотров

Загрузка разных Localsettings.php при входе в mediaWiki

Можно ли загружать разные LocalSettings.php в MediaWiki в зависимости от входа в систему.

1
голосов
3ответов
219 просмотров

Изменить пользовательскую таблицу MediaWiki

Как я могу изменить таблицу MySQL по умолчанию "user", которая используется для хранения всех членов?

0
голосов
1ответов
6015 просмотров

Как добавить группу пользователей для mediawiki?

Мне нужно добавить новую группу пользователей для mediawiki. У новой группы больше прав, чем у группы «Пользователь». Как мне его получить?