Questions tagged [mediawiki]

MediaWiki is a free software wiki package written in PHP, originally for use on Wikipedia. It is now used by several other projects hosted by the non-profit Wikimedia Foundation and by many other wikis.

MediaWiki is a free software wiki package written in PHP, originally for use on Wikipedia. It is now used by several other Wikimedia projects and by many other wikis.

Related tags: , , , , , , , , , .

MediaWiki links:

3594 questions
92
votes
7 answers

Code block in numbered list (Wiki syntax)

In MediaWiki (wikipedia's) wiki syntax, is there a way to have a numbered list with a code block in the middle? For example: # Number 1 # Number 2 Indented section that will become a code block # Number 3 # Number 4 What happens in MediaWiki is…
inanutshellus
  • 9,683
  • 9
  • 53
  • 71
71
votes
9 answers

Get Text Content from mediawiki page via API

I'm quite new to MediaWiki, and now I have a bit of a problem. I have the title of some Wiki page, and I want to get just the text of a said page using api.php, but all that I have found in the API is a way to obtain the Wiki content of the page…
Le_Coeur
  • 1,521
  • 5
  • 28
  • 44
58
votes
1 answer

Are there any tools to convert markdown to Wiki text in other formats

The requirement is that I need to paste a long document in markdown format to a mediawiki site, which has no markdown extension installed. All I can find about markdown, tools or modules/libraries, are in charge of converting markdown to HTML. My…
jfding
  • 635
  • 1
  • 7
  • 8
47
votes
12 answers

InnoDB: Attempted to open a previously opened tablespace

I have been working on a problem for a few days now. Our local mediawiki page that sits on our box account, destroyed itself and we've been working to get it online. Using XAMPP Control Panel v3.2.1, the errors were numerous so we decided to update…
dedrumhead
  • 479
  • 1
  • 4
  • 3
46
votes
10 answers

JS: Failed to execute 'getComputedStyle' on 'Window': parameter is not of type 'Element'

In short: I am trying to understand the meaning of this TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' The error appears while lunching Mediawiki's VisualEditor, as can be seen…
45
votes
11 answers

Any better way to create MediaWiki numbered lists?

When using MediaWiki's markup language, the only thing that I hate is creating numbered lists. The only way I know to create a list is to do something like this: #Item1 #Item2 However, if I want to add spaces or some other text between those lines,…
Gil Milow
41
votes
5 answers

How do I create my own custom group in mediawiki?

I have been reading carefully through the MediaWiki documentation but I have not been able to find out how to create new groups. When I look at Special:Userrights, I see only 3 groups : Bots, Sysops, Bureaucrats I would like to create my own custom…
jeph perro
  • 6,242
  • 26
  • 90
  • 124
39
votes
12 answers

How to get plain text out of Wikipedia

I'd like to write a script that gets the Wikipedia description section only. That is, when I say /wiki bla bla bla it will go to the Wikipedia page for bla bla bla, get the following, and return it to the chatroom: "Bla Bla Bla" is the name of a…
Wifi
  • 391
  • 1
  • 3
  • 4
38
votes
4 answers

Searching Wikipedia using the API

I want to search Wikipedia using the query action. I am using this URL: http://en.wikipedia.org/w/api.php?action=query&format=json&list=search&srsearch=apple That works, but I want to get into the first result of the search. How can I do that? Note:…
Muhammad Ashraf
  • 1,252
  • 1
  • 14
  • 32
38
votes
3 answers

How to obtain a list of titles of all Wikipedia articles

I'd like to obtain a list of all the titles of all Wikipedia articles. I know there are two possible ways to get content from a Wikimedia powered wiki. One would be the API and the other one would be a database dump. I'd prefer not to download the…
Flavio
  • 1,507
  • 5
  • 17
  • 30
33
votes
7 answers

What's the easiest way to add a quote box to mediawiki?

I installed mediawiki on my server as my personal knowledge base. Sometimes I copy some stuff from Web and paste to my wiki - such as tips & tricks from somebody's blog. How do I make the copied content appear in a box with border? For example, the…
SamS
  • 1,561
  • 2
  • 15
  • 22
33
votes
2 answers

How do I set og:image so it takes image from page?

I am using mediawiki 1.19 and I've added facebook 'like'. When I click like the image posted is the site logo. How do I take the image from the page. I've run the site through http://developers.facebook.com/tools/debug and it seems og:image is set…
LTech
  • 1,677
  • 5
  • 29
  • 48
28
votes
5 answers

Is there any API in Java to access wikipedia data

I want to know: is there any API or a query interface through which I can access Wikipedia data?
neha
27
votes
4 answers

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…
Stefano Borini
  • 138,652
  • 96
  • 297
  • 431
25
votes
4 answers

Which text editor supports syntax highlighting for Wiki code?

Does any text editor (such as Notepad++) syntax highlight MediaWiki code? This might not be strictly programming related though the Wiki script is a language by itself.
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
1
2 3
99 100