mediawiki

Distribute updatable Help Wiki

We are going to port our chm based help to a mediawiki implementation. As long as this is read only on our customer's site everything will be fine. But our customer wants to edit his own copy of our product's wiki. Clearly this presents us with a problem: How can we distribute and merge our own wiki changes to our customer's wikis? We ca...

How to add a user group for mediawiki ?

I need add a new user group for mediawiki. The new group has more permission than "User" group. How can i get it ? ...

MediaWiki users

How can I change the default MySQL table "user" , that's used to store new members? ...

How do I get an edit token for Mediawiki?

Hello, I want to get an edit token via a HTTP POST command. The API documentation says only Edit token. You can get one of these through prop=info Using action=query&prop=info&titles=Main Page&intoken=edit does not give me a token. How to get it? ...

Inserting articles straight into MediaWiki database

I need a way to insert new articles straight into my MediaWiki database without damaging the wiki installation. I'm guessing if I knew what tables/attributes MediaWiki inserts to when creating a new article then I could fill them in myself. Does anyone know a better way or have any suggestions? ...

Adding users to a custom group in 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 Resources']['protect'] = true; // 1.5.0 $w...

MediaWiki Authentication from external form

I have already installed mediawiki , but I want to make users authenticate from external authentication form.When they enter the right username and password , they are redirected to the wiki page and do not need to retype the Login data again , and hence they can go to edit the wiki the way they want.How can I achieve that? ...

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

I want to use the wikipedia API to find the French pages including the ''Template: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&format=xml&list=embeddedin&eititle=Template:Infobox%20Scientifique&eilimit=...

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: <?xml version="1.0"?> <api> <query> <categorymembers> <cm pageid="22939" ns="0" title="Physics" /> <cm pageid="24489" ns="0" ti...

mediawiki API & 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.addParameter("title",page.replace(' ', '_'));...

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 them. In order to do that, I do more or l...

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 can't tell they are logged in and it's ca...

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

Hello, 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 all exist. The idea is that over...

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! ...

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 application. but the login and access are ...

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

Hi, 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: <a href="<?php $wgScriptPath ?>/index.php/Page_title">Page title</a> Which is a bit too wordy, I'd like something <?php page_link_by_title("Page_title"...

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", "to": "Apple" }], "pa...

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? ...

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 mind that much. I'll spot it soon enough. I...

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 texvc executable), but I "fixed" it to the be...