mediawiki

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 user then has permission to edit the wiki? I'...

How to make templates after installing MediaWiki?

Hi. 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 & copy it, but it didn't work. Thanks. *sorry for my English (it isn...

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 so might be completely wrong for my purpo...

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

Hello, 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, urllib # REQUIRED class Fam...

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 story content. I think it's the last sectio...

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 one that comes with Redmine. We've got al...

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

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

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 choose. I've nailed down two fairly discrete ...

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

Mixing Python web platforms PHP, e.g. - Mediawiki, Wordpress, etc.

Is anyone developing application integrated with Mediawiki - using Django or other Python web development platforms using mod_wsgi? Would be very interested to find out what has been done in this direction and maybe there is some code available for re-use. (I've started creating wiki extensions working with MW database in python whose ...

Making Postgres accessible in Firefox by Psql

How can you make Postgres accessible in Firefox, in installing MediaWiki? I get the error "No database connection" because Firefox cannot have a database connection. I can have database connection in terminal by the user, masi. This suggests me that Firefox is not acting like a masi, so it cannot have the access. Error Warning: pg_ve...

Truncate mediawiki

Hi all, I'm working with the mediawiki API ( e.g. http://en.wikipedia.org/w/api.php) and I would like to be able to 'truncate' the mysql tables in order to reset the local installation while keeping some tables (users, ?...). What would be the SQL queries ? I would say: tuncate all the tables but ${PREFIX}_user and update ${PREFIX}_us...

LaTeX equations in Ubuntu's MediaWiki

My Texvc seems to works, since texvc /home/wiki/tmp /home/wiki/math "y=x+2" gives Cdaa63ef966cc412541190bc8794731de<i>y</i> = <i>x</i> + 2<mi>y</mi><mo>=</mo><mi>x</mi><mo>+</mo><mn>2</mn> My LocalSettings.php at /var/www/wiki (source) $IP = "81.111.1.1"; $wgMathPath = "{$wgUploadPath}/math"; $wgMathDirectory = "{$IP}/images/...

Get Text Content from mediawiki page via API

Hi people, i'm quite new to mediawiki, and now i have some problem I have the title of some wikipage, and i want to get just text of this page using api.php, but all that i have found in this api gets the wiki content of the page(with wiki syntax symbols, i have used this func /api.php?action=query&prop=revisions&rvlimit=1&rvprop=conte...

Has anyone successfully installed the Open Source version WikiHow without major bugs?

Hello, I am working on trying to install and customize the OSS version of WikiHow (built on Mediawiki.) I am having a devil of a time getting even the basic feature set to work. The code is available here.. http://www.wikihow.com/x/wikihow-source-code.tar.gz ...

Integrating Drupal + Moodle + MediaWiki with OpenID

I'd like to be able to use these "best of breed" opensource solutions, with the only requirement of some sort of single-sign-on between the different sites. I don't want my users having to log-in in 3 different places, so I though it could be possible with OpenId. Has anyone tried something similar? ...

Using semantic MediaWiki for tabular data

Am I completely off-track to think about using Semantic MediaWiki to store (and organise, report on, etc.) 'tabular' data such as financial transactions or weather readings that would usually live in a spreadsheet or database? It seems that one would need a separate, tiny, page for each tuple; but then, that's by design and perhaps it's...

Generating an article from an email in mediawiki

I would like to be send an email to an address that mediawiki can pick up and have mediawiki take it and generate a new page from it as a starting point. More complicated stuff like categories can come later. I have searched around on the web and not found anything obvious. I have not developed against mediawiki before but am an able ...

Render wikitext with Python

I need to render wikitext (pulled from the database of a mediawiki of it's relevant) and display in some other format (ultimately to be rendered as a PDF, but basically any other format will do). I can definately hack together something that does the job but ultimately I'll be writing it as I go along, and I can see that the overhead of...

How do I obtain the path to an image when writing a MediaWiki extension?

I'm trying to write a simple extension for MediaWiki but I can't anywhere find in simple terms, how to call functions within the application to give me the 'hashed' path to an uploaded file. I've tried the following function call which some searching indicated would return the path but it results in an undefined function error. //$inpu...