mediawiki

Open-source parser code for Mediawiki markup

I'm interested in selectively parsing Mediawiki XML markup to generate a customized HTML page that's some subset of the HTML produced by the actual PHP Mediawiki render engine. I want it for BzReader, an offline Mediawiki compressed dump reader written in C#. So a C# parser would be ideal, but any good code would help. Of course, if n...

How to encourage non-anonymous editing on MediaWiki?

Problem At work we have a department wiki (running Mediawiki). Unfortunately several persons edit without logging in, and that makes it very difficult to track down editors to ask questions about the content. There are two strategies to improve this encourage logged in editing discourage anonymous editing. Encouraging For this par...

Web pages to print media -- solutions?

I've been a big fan of MediaWiki and similar wiki-based text editors. I like the ability to quickly add text, collaborate, and share. However, there's always still the need for nicely formatted print output. Things like headers and footers (that say what I want them to say), page breaks, margins, etc. Most solutions I've seen involve so...

Is there an easy way to make a pleasing mediawiki table?

I use a MediaWiki instance on a thumb drive to keep track of a ton of stuff. In the past, I've been in a hurry so I haven't had the chance to look for a nice way to make tables, so this syntax has served my purposes well: {| border=1 ... |} Now I want something a little nicer; I'm used to using CSS to make nicer table borders, but I'...

Custom protcol in hyperlinks on mediawiki site

Hi, We have custom protocol on our network that opens up windows in our application. We would like to put links to this application in our Wiki however the only protocols mediawiki seems to recognise are http:// file:// ftp://. We have put a fudge in that passes a parameter to a html file and executes a link, however it would be great ...

Which Wiki Parser?

Does anyone know of a parser that can take Wiki formatted text as input and produce a tree of entities, in the same way that an XML parser produces an entity tree? To clarify, I'm looking for something that would take text like: -Intro- Textual stuff in ''italics'' --Subhead-- Yet more text and produce a tree rooted at Intro with ...

How many wiki instances to install?

I've been asked to install Mediawiki to house documentation for a company intranet. Furthermore, I've been asked to install several instances - one per contributing group: non-technical users get one, developers one, management one, etc. The idea is to provide separate web spaces for each group. Is there a way to achieve separation withi...

What software does Wikia use and can I have that for my own hosted Wiki?

I want my own hosted Wiki so its fully under my control, but would like something as advanced as Wikia rather than the plain, feature-lacking Wikipedia style MediaWiki. What software does Wikia use and can I have that for my own hosted Wiki? Is it just upgraded/added-on MediaWiki. ...

Limit category transclusion when using dynamically-generated categories in MediaWiki

At first I wasn't sure if a question on how to do something advanced in MediaWiki belonged here, but upon reading the faq and thinking about it, I decided that wiki markup is as much its own language as HTML and CSS, and if those questions are welcome here, then hopefully this is too! If I am wrong feel free to flag this question. Update...

MediaWiki Payment gateway

Hi, I would like to have a subscription sponsored wiki in mediawiki. I want the paid members to have access to certain part of the wiki. How do I achieve that? Is there a plugin/extension or needs a rewrite. In any case how do I implement the payment gateway if I was flagging the paid users in the DB? Any help will be appreciated. ...

Which URL rewriting scheme is preferable? Wiki/Blog style?

I'm writing some URL rewriting software, and I want to know which URL scheme is preferable from many points of view: Blog style: my-chemistry-answer -- Why? -- (not preferable, technical) Wiki style: My_Chemistry_Answer -- Why not? -- (preferable, formal) SEO: Some say Google only splits words delimited by dashes which is why blog po...

What's the best way to integrate Rails Restful Auth App Login into Wiki (MediaWiki?)

I have a ruby on rails app using restful authentication and I'm looking to add a Wiki to my site. MediaWiki looks like my best option since it's full featured and I can work with the LAMP stack. However, I'm not sold on MediaWiki if there's another (preferably open source) app that will integrate better. I would like to know if anyone...

change mediawiki namespaces?

Is there a way to reassign or change the core namespaces of mediawiki? For example, I'm having difficulty linking to a page I want to call "Template" because mediawiki has a namespace already for Template. I'd like to re-assign the mediawiki "template" namespace to something else. Any thoughts? ...

Where can I get templates for MediaWiki?

I have noticed that a lot of mediawiki-based websites use such templates as Robelbox, Ambox etc. Where can I get them and how should they be installed? ...

How do you stop the automatic line break after templates in mediawiki?

In mediawiki, whenever you embed a template into an article, it is always proceeded by a line break (as far as I know). Is there some way to prevent this so that I may place templates next to one another without the second one being on a new line? ...

Someway of removing internal links from Wikipedia XML files?

If I have downloaded Wikipedia XML dumps, is there any way of removing all of the internal links from within an XML file? Thanks ...

MediaWiki documentation with external user access control

We are using MediaWiki inhouse for our software and hardware documentation. It looks like granting / revoking "read access" to parts of the documentation for our external users - customers, project partners - is not easy to achieve. How could we control read access to some areas of the documentation based on user or role access rights? ...

Mediawiki-only allow certain number of page creations?

Hi, Is it possible & if so, how can I allow users to only create a certain number of pages. ie. When they sign up, only allow them to create one page? Does anyone know of any extensions that would allow that? Thank you for any help, much appreciated! ...

c# WebRequest to connect to wikipedia API

Hey, This may be a pathetically simple problem but I cannot seem to format the post webrequest/response to get data from the wikipedia api. I have posted my code below if anyone can help me see my problem. string pgTitle = txtPageTitle.Text; Uri address = new Uri("http://en.wikipedia.org/w/api.php"); HttpWebRequest request =...

Mediawiki + Lucene: How To Strip Markup?

Hi, I have the Lucene search extension (http://www.mediawiki.org/wiki/Extension_talk:Lucene-search) integrated with my mediawiki installation. Its all working really well, however- lucene seems to have indexed all the mediawiki /html markup as well and it is showing up in the results. i.e. searching for "green" will return results with...