Questions tagged [wikitext]

Wikitext is a document written in a wiki markup language, used on Mediawiki sites such as wikipedia.org.

From MediaWiki.org:

Wikitext is a document written in a wiki markup language, such as the current one explained in Help:Editing (see also Markup spec/DTD). It is a mixture of content, markup, and metadata. The current and old versions of all pages of a wiki are stored in the database in the text table, in the form of wikitext.

73 questions
0
votes
2 answers

Scrollable table in wikitext

In my company we use an internal wiki and I need to add a table but the table is very large, more than 100 columns, therefore when you want to see all the datas you can scroll horizontally but it is all the page that scrolls. Is there a way in…
Gatoyu
  • 642
  • 1
  • 6
  • 22
0
votes
2 answers

Notepad++. Need to add brackets before only first occurrence of characters in lines

Please see the Wikipedia article "List of countries by total health expenditure per capita". The countries listed in the long table should all be links. That means in the wikitext the country names need double brackets around them. For example;…
twirlyman
  • 3
  • 2
0
votes
1 answer

Parse elements and sub-elements from wikitext with Python 3

I'm trying to parse some wikitext. Here's an example of the text I need to parse: == title == === subtopic === *text_1 **text dependent on text_1 **text_2 dependent on text_1 *text_2 **text dependent on text_2 === other subtopic === *text_2 **text…
gglasses
  • 826
  • 11
  • 30
0
votes
1 answer

How Wikipedia render infobox

How Wikipedia convert wikitext of infobox to display on web page? For example, Barack Obama's wiki, when View source, we can see {{Infobox officeholder template, and below is snippet of this infobox |birth_name = Barack Hussein Obama II |birth_date…
icycandy
  • 1,193
  • 2
  • 12
  • 20
0
votes
1 answer

Wikipedia movie table to XML

How to convert a Wikipedia table to a XML file? I tried importing with Google Docs, but all formatting is lost completely and restoring it is a tedious work. https://en.wikipedia.org/wiki/List_of_Bollywood_films_of_2013
0
votes
1 answer

Python regex on wikitext template

I'm trying to remove line breaks with Python from wikitext templates of the form: {{cite web |title=Testing |url=Testing |editor=Testing }} The following should be obtained with re.sub: {{cite web|title=Testing|url=Testing|editor=Testing}} I've…
Arnaugir
  • 108
  • 1
  • 7
0
votes
1 answer

Java: Regex to delete parts of an XML file

I am reading a wikipedia XML file, in which i have to delete anything between curly braces. E.g. For the following string: String text = "{{Use dmy dates|date=November 2012}} {{Infobox musical artist |…
Angad
  • 27
  • 6
0
votes
1 answer

Template of image, one left; two right

I'm sorry for my terrible English, - I speak Dutch - but you'll probably understand me. I don't know if there exist templates in HTML, but I use Wikia, I have a Wiki by my own. I am not an expert in HTML, but I'm not a beginner. If you can put the…
0
votes
1 answer

How to show Wikipedia page with proper format in UIWebView

I use this link to get content of the page but it is not in proper format, like no table borders, some background color for text. https://en.wikipedia.org/w/index.php?action=render&title=Pakistan How can I show above URL with proper format in…
user777304
  • 455
  • 2
  • 9
  • 24
-1
votes
1 answer

Make an text follow mouse pointer when hovered over an image link

I want to make the text follow the mouse pointer when hovered over an image(Image link) in fandom. Like this .Source : Minecraft Wiki
-1
votes
1 answer

New line character used in Wikimedia

What is the newline character used in Wikimedia projects formatting? Because there is no undo, redo, or easy/fast save mechanism, I wrote a Wikimedia page in a normal text editor. Unfortunately, when I pasted it to my Wikimedia entry, all the new…
MirroredFate
  • 12,396
  • 14
  • 68
  • 100
-2
votes
1 answer

How to parse ordered list of wikitext to HTML using wiky.js?

I need to parse ordered list of wikitext to html using wiky.js. This javascript is mainly using regex to do that. E.g. # Item1 # Item2 # Item3 # Item4 ## Sub-item 1 ### Sub-sub-item is displayed as 1.Item1 2.Item2 3.Item3 4.Item4 1.Sub-item…
-3
votes
1 answer

What are three example of tables written using WikiText Mark-up Language without any Additional Documentation?

Suppose that we wanted to create a table on a website like Wikipedia What source code would produce a table such as the one shown…
Toothpick Anemone
  • 4,290
  • 2
  • 20
  • 42
1 2 3 4
5