mediawiki

Delete (MediaWiki) Page with C# (HTTP POST)

Hello. I try to delete a page like this: WebClient wClient = new WebClient(); wClient.UploadStringCompleted += new UploadStringCompletedEventHandler(client_UploadStringCompleted); string str_post = "action=delete" + "&title=Vorlage:" + str_zuloeschendeVorlage + "&token=" + str_token + "%2B%5C"; wClient.UploadStringAsync(new Uri(@"http:...

Invoking the MediaWiki Page Parser to get HTML?

I'd like to get the HTML for a MediaWiki Page, that is I want to run the MediaWiki Markup through the parser. Now, I know I could just use some external Parser, but most of them do not support Transclusion and (naturally) Extensions, so my output will be different. As I have access to the MediaWiki installation, I wonder if I can just u...

Mediawiki + AJAX + IE = broken

Hi All, I have created an extension for mediawiki that works in all major browsers other than IE (any version it appears). The extension relies on mediawiki's ajax wrapper to send an xmlhttprequest with parameters that essentially build a database query to a php script. This script will run a query based on the parameters and then cre...

How to parse/extract data from a mediawiki marked-up article via python

Source Mediawiki markup Right now I'm using a variety of regexes to "parse" the data in the mediawiki mark-up into lists/dictionaries, so that elements within the article can be used. This is hardly the best method, as the number of cases that have to be made are large. How would one parse an article's mediawiki markup into a variety...

How to use pyparsing to parse and hash strings enclosed by special characters?

The majority of pyparsing examples that I have seen have dealt with linear expressions. a = 1 + 2 I'd like to parse mediawiki headlines, and hash them to their sections. e.g. Introduction goes here ==Hello== foo foo ===World=== bar bar Dict would look like: {'Introduction':'Whoot introduction goes here', 'Hello':"foo\nfoo", 'World...

Run mediawiki userOptions script without SSH

Hey, I'm trying to run the userOptions script for MediaWiki to add a new namespace to the default search namespaces for all existing users. Unfortunately, I don't have shell access to my hosting provider, and to be honest I'm really not at home with using cron jobs. What's the easiest way for me to run this script on my MediaWiki insta...

Citations for MediaWiki

What is the best way of citing an author on his article from a different website that I want to publish on my MediaWiki site? ...

Get count of missing links in MediaWiki?

How can I get the number of missing links that are in my Wiki? We have a lot of articles about all kinds of things that haven't been written or stubbed yet, but we want to provide a progress bar so the community can see how close we are to being more complete. You can see the wiki here: http://worldeditor.org If you have any tips relat...

How can a robots.txt ignore anything with action=history in it?

I have a MediaWiki, and I don't think I want Google indexing the history of any page. How can a robots.txt disallow URLs with action=history in the query string? ...

How can I include another article in MediaWiki?

I have an article already written about a subject, but I want to include a summary of it on another page with the "See also" link. So how do I include part of the other page? ...

MediaWiki styling for iPhone

When you visit en.wikipedia.org with an iPhone you are forwarded to en.m.wikipedia.org which is formatted beautifully for the device. I have MediaWiki on my own server and I'd love to have this formatting available when I visit my site with my iPhone. Is there an easy way to enable this? I've gotten as far as www.mediawiki.org/wiki/Manua...

Convert LaTeX to mediawiki syntax

I need to convert LaTeX into mediawiki syntax. The formulas should stay the same, but I need to transform, for example \chapter{something} into = something =. Although this can be obtained with a bit of sed, things get a little dirty with the itemize environment, so I was wondering if a better solution can be produced. Anything that ca...

MediaWiKi User Registration

I have a website developed in symfony (1.2.9). I want to add a wiki to the website, and have opted for mediawiki. I want to integrate mediawiki with my website in a way such that: media wiki does not create new users users logged into my website are automatically logged into mediawiki (and vice versa) ideally, I want to use the same l...

How can I get MediaWiki to ignore page views from a Google Search Appliance?

The page view counter on each MediaWiki page seems like a great way to identify popular pages which are worth putting more effort into keeping up-to-date and useful, but I've hit a problem. We use a Google Search Appliance to index our MediaWiki installation. The problem I have is that the GSA increments the page view counter each time ...

Anyone have experience using version control software to manage a MediaWiki-based wiki?

We use MediaWiki for user documentation. As the sole author, I can build and manage new versions of the wiki in order to support software version releases. I'm looking for recommendations on how to manage the switch to a new MW instance (to coordinate with new software release). This is how I do it now: MW instance at /wiki supports p...

Is there a hook that can be used to time the creation of a MediaWiki article?

I want to time how long it takes the server to build a MediaWiki article. That is, the start time will be as close as possible to the time the server receives the request (not the time the client issues request). The end time will be when the server sends the page (again, not when the client receives the page). Is there any Apache fun...

How to check if a user is logged on in mediawiki in a different app?

Here is the situation: I have a mediawiki installation, and a few additional server-side scripts that require more resources and were already written in a different language (python). The python code will be very loosely coupled with the mediawiki code (only called by clicking on a link here or there) What I would like is that when a G...

Alternative to mediawiki with hierarchy, access control, and better ease-of-use?

Does anyone know of a FOSS alternative to mediawiki? Specifically I'm looking for the in-built features of granular access control, a hierarchy of pages users can navigate, and more easy to use than mediawiki. ...

Why are search results in MediaWiki displaying without formatting?

Hi, I installed MediaWiki and I noticed that the search results are not being formatted, This means, if I have an article which contains the following text: '''This is a test''' This will show up in bold when you are viewing the actual article but when you search for example: test, the search results will be displayed without the for...

How can a personal-wiki be used for personal information management ?

I am considering using mediawiki for managing my personal information (code, and other "real life" data). And I would love any tips on how best to do so. Thanks! ...