mediawiki

How should I migrate a site from ZWiki to MediaWiki?

I have a fairly extensive wiki on ZWiki on Zope (in turn on Plone). Most pages are in reStructured text format, but there are several in straight HTML as well. What is the best approach to migrate those pages over to a MediaWiki wiki with pages converted to MediaWiki and HTML formats? Of course I'd like to automagically convert all l...

Extract paragraphs from Wikipedia API using PHP cURL

Here's what I'm trying to do using the Wikipedia (MediaWiki) API - http://en.wikipedia.org/w/api.php Do a GET on http://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=[keyword] to retrieve a list of suggested pages for the keyword Loop through each suggested page using a GET on http://en.wikipedia.org/w/api.php?...

How to write custom (odd) authentication plugins for Wordpress, Joomla and MediaWiki?

On our network (a group of related websites - not a LAN) we have a common authentication system which works like this: On a network site ("consumer") the user clicks on a login link This redirects the user to a login page on our auth system ("RAS"). Upon successful login the user is directed back to the consumer site. Extra data is pas...

Can I Move a MediaWiki site to a new virtual folder?

I had MediaWiki installed in as the default site on my server using IIS 6 and I created a virtual directory and pointed it to the Wiki folder. The page loads, but all the links are pointing to the original location that is no longer pointing to the Wiki Folder. Info Server Name: tech Path to Wiki: http://tech/wiki/ Example Links Wrong ...

TEXTAREAs scroll by themselves (on IE8) every time you type one character

IE8 has a known bug (per connect.microsoft.com) where typing or pasting text into a TEXTAREA element will cause the textarea to scroll by itself. This is hugely annoying and shows up in many community sites, including Wikipedia. The repro is this: open the HTML below with IE8 (or use any long page on wikipedia which will exhibit the s...

Getting on mediawiki spammers list?

Hi, I am setting up a test site which I WANT to get spammed by WIKI spammers, ie those spambots that run rampant on a wiki site filling it up with junk data... How do i get on one of those lists? ...

Make MediaWiki use accounts on my site?

I have a site in ASP.NET and i thought it would be cool if i can redirect users to wiki.mysite.com. Now i would like to know if i can easily make MediaWiki recognize users logged into my site. I dont want any anonymous posters. Is there a way to hook or have mediawiki use accounts/cookies from my site instead of using its own database/a...

Create a popup window in Mediawiki

I am customising the mediawiki for our internal portal. I need to open a popup window on clicking a link in the wikitext. This popup would take information from the mysql database and display a movie clip or a document or something. Anyone knows how this can be done? ...

CKeditor & MediaWiki 1.15 or 1.16 beta

Has any body successfully integrated ckeditor 3.x with mediawiki I have followed the instructions for fckeditor, thinking it may be the same for ckeditor too, but that doesn't helps. it either doesn't loads the wiki at all or doesn't loads the ckeditor. any thoughts / suggestions or a step by step to do this would be very helpful. Th...

What wiki tools exist to generate shippable user doc from a wiki?

I am looking into using a wiki (prefer mediawiki, but not a req.) as the repository for developer generated documentation (User Guides, Release Notes, Application Notes, Errata, etc.) from a collaborative/easy-to-update point of view a wiki seems like a good match, however since this documentation will ultimately ship to customers we wan...

Apache giving pages as downloads rather than displaying them

I just installed MediaWiki on a website and I am having some problems. Whenever I go to "www.something.com/wikidir" the server gives me the PHP index file as an unnamed download instead of displaying it. However, if I go to "www.something.com/wikidir/index.php" everything works as expected. I'm not familiar with Apache and was wonderi...

Parsing Wiki XML Dumps ver0.4 just got tough

Hello, I am trying to parse Wikipedia XML Dump using "Parse-MediaWikiDump-1.0.4" along with "Wikiprep.pl" script. I guess this script works fine with ver0.3 Wiki XML Dumps but not with the latest ver0.4 Dumps. I get the following error. Can't locate object method "page" via package "Parse::MediaWikiDump::Pages" at wikiprep.pl line 390. ...

mediawiki markup equivalent of WMD live-previewing editor? (not WYSIWYG)

Anyone have a recommendation for an editor like the WMD editor, but using MediaWiki markup instead of Markdown? Our site is already using MediaWiki markup but we want a slicker editor without changing markup completely. Requirements include: live preview of formatted text underneath the markup you're typing a toolbar for common forma...

MediaWiki: workaround for watchlist restricted to 7 days?

I'm running MediaWiki 1.13.2. When I go to my watchlist, I'm limited to only viewing the last 7 days (though MediaWiki should permit me to view the last 30 days). I've tried: Clicking the all button Changing the URL Changing the settings under MY PREFERENCES->WATCHLIST. When I save (e.g. 30 days) it resets back to 7 days! Googling fo...

Creating custom edit buttons for MediaWiki

Hi im trying to build a mediawiki extension which requires AJAX calls during editing a page. All I need is to add a new edit button on the edit page which displays a javascript popup editor which in turn makes the appropriate calls. I need to know if it is feasible in Mediawiki, to inject javascrpt code into edit buttons. Any kind of ...

Is it possible dynamically to create a MediaWiki list of pages based on template date?

We have a MediaWiki wiki in which we make extensive use of templates. These templates often include a future date. For example, when a page should be deleted, we use a deletion template with a date one week in the future. (This then produces a message on the page showing that the page will be subject to deletion at that date.) Is ther...

Is there a WYSIWYG editor for MediaWiki that lets me edit rows and columns for a table?

I'm developing a wiki (based off of MediaWiki and Semantic Mediawiki+), and I'm having some trouble with tables - after making one, I'd like to be able to add another column or row in a WYSIWYG editor, as not all of the users know MediaWiki markup. Currently, I can't change the # of rows/columns after creating a table through my WYSIWYG...

Is it possible to create a mediawiki table where the columns are filled in by multiple templates?

Wikimedia explains how you can create a table based on multiple templates, where each row is formed from a single template. Is there anyway to do the same for columns? It sounds easy but I could not get it to work. Instead my page displayed multiple tables instead of multiple columns. Here's some code: Row page {|class="wikitable sort...

How do you insert '<' sign in mediawiki?

How do you insert '<' sign in mediawiki? It's got to be simple, this is driving me nuts.... I've tried \l, it doesn't work ...

How to upload files to MediaWiki using Python?

I'm trying to upload an image (just a random picture for now) to my MediaWiki site, but I keep getting this error: "Unrecognized value for parameter 'action': upload" Here's what I did (site url and password changed): Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "cop...