mediawiki

Best resource to learn mediawiki?

Could you recommend some easy-to-follow tutorials on mediawiki? Thanks. ...

MediaWiki api - get last changes

How can i get the list of all pages, that were changed since some date using mediawiki api? EDIT: I have already found this query:) F.e. for wikipedia http://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rclimit=500&rcnamespace=0 ...

using extended ascii characters for wikimedia api

I am writing a simple search algorithm for wikipedia. I am having trouble when I send a query with characters that have accents and other characters that are not seen in regular english. Queries that return in error are: http://en.wikipedia.org/w/api.php?action=query&titles=Albrecht%20Dürer&prop=links&pllimit=33&format=xm...

Where can I find a good mwclient introduction?

I'm just starting with mwclient. I'm going to create bots to query our MediaWiki database and make small revisions. But I cannot find anywhere a simple list of python commands like how to get ages of pages, contents of categories, contents of pages, etc. Does anyone know a good starters resource? ...

Probable DOM issue trying to hack a google books preview into MediaWiki

Firstly here is what I am trying to add to my mediawiki skin. http://www.urbanvintner.co.nz/books/ It's a quick and dirty hack of Simple Modal using Google's Book Preview and Dynamic Link APIs. Problem being I can't for the life of me figure out how to address the elements within the mediawiki installation. At least I'm assuming thats...

DPL DynamicPageList MediaWiki Errors - Showing HTML Instead of Links

Just did a fresh install of MediaWiki and DynamicPageList (DPL) but something is not quite configured right and I am having a hard time figuring out what is off exactly. Instead of showing links to the pages, it is showing some oddly formatted HTML code like this: <html><a href="/tjos/index.php/Bird_Dog_Daily_Checklist" title="Bird Dog...

Semantic Mediawiki: Using semantics in a different namespace?

I have one page (called PageA) created in the default Main namespace where I used {{#set:var=val}} syntax to set a property in the page. I'm able to see that property in the "browse properties" page. Now, I need to move this page to a different namespace called NewSpace:PageA. It seems like that semantic is now broken because I'm not ab...

How does MediaWiki redirect pages?

Current versions of MediaWiki have the front page accessible via http://www.example.com/wiki/index.php/Main_Page Instead of the older version of http://www.example.com/wiki/index.php?title=Main_Page That second URL is literally how the PHP script would be called in most casual web apps, but the above URL is cleaner and more desira...

How to make some text red in mediawiki?

Which tags or mediawiki markup symbols should I use to make some text of red or any other color? ...

wikia template style attribute

I have made some templates on wikia.com, which contain only CSS code (key:value;). My problem is having another template use these style templates in a style attribute tag. style="{{MyTemplateStyle}}" This code does not evaluate as expected. The CSS code is outputted before the element and the style attribute is not included inside th...

How does mediawiki upload files to server

Hi all, I just found out that mediawiki does not use move_uploaded_file. So how does mediawiki upload file to the database. I looked at the source code but could not understand much. Kind of urgent. Any Help is appreciated! ...

MediaWiki Extension question / suggestion

Complete beginner here. I want to create a new tab on each page that has a custom action. When clicked, it takes you to a new page which has custom HTML on it along with the text or the original article. So far I could create a new Tab and could give a custom action mycustomaction to it. I am pasting what I did so far here. Please let m...

Wikipedia (MediaWiki) URI encoding scheme

Folks, Anybody knows how Wikipedia or MediaWiki in general, encode the URI according to the title? It's not normal URI encoding, " "s are replaced with "_"s and single quotations are not encoded and things like that. Any reference on that? Cheers Parsa ...

Parser for wikipedia

Hi, I downloaded wikipedia dump and want to convert from wiki format to my object format. Is there a wiki parser available that converts the object into xml. Thank you ...

Implementing Add Media Wizard with MediaWiki 1.16.0

Hi there, I have MediaWiki 1.16.0 installed on a remote sever, with Apache+PHP 5.2.11 running. I have installed several extensions(namely: FCKEditor, Group access control) without a problem. However, I could not get Add Media Wizard and Upload Wizard to work correctly(Try them here). I have tried many things(with details below): I dow...

How can I print MediaWiki wiki pages with line numbers?

For reviewing, we'd like to be able to print a wiki page with line numbers. The ideal solution would be where we could create a template which adds line numbers (when printing - or possibly all the time) which we could then include on any page for reviewing. ...

Getting Mediawiki notifications

Some users would like to get notifications of changes to a relatively small mediawiki instance. RSS feeds are not ideal for a number of reasons. My ideal would be a daily (or configuble period) mail of all changes that have been made. Features I am looking for include batching of changes to a single page during the period (often a pa...

How can I manipulate just part of a Perl string?

I'm trying to write some Perl to convert some HTML-based text over to MediaWiki format and hit the following problem: I want to search and replace within a delimited subsection of some text and wondered if anyone knew of a neat way to do it. My input stream is something like: Please mail <a href="mailto:[email protected]&amp;Subject=Please ...

How to install a Google search box with suggest on MediaWiki?

I have found several extensions for MediaWiki which allow you put a Google search box for searching the web on your MediaWiki site. However, none of them seem to have an option to enable suggest, which populates a drop down menu of possible search terms based on what the user has typed in so far. How can I do this? I posted this to Stac...

Multi-sort Media Wiki Tables

Hello, I am trying to allow sorting a wiki table that use the "sortable" class by multiple columns. Eg: {| class="wikitable sortable" |- |Col 1 |Col 2 |Col 3 |- |3 |a |tee |- |2 |c |hot |- |5 |b |apple |} That will give you a basic sortable table on the wiki, but it won't let you sort by multiple co...