Questions tagged [mediawiki]

Originally developed for Wikipedia, MediaWiki is a PHP-based wiki application that is now utilized by various projects under the Wikimedia Foundation as well as numerous other wikis.

Retrieve Wikipedia API JSON information using jQuery

$('#searchButton').click(function(){ var searchInput = ""; searchInput = document.getElementById('test'); if(searchInput.value !== ""){ $.getJSON('https://en.wikipedia.org/w/api.php?action=query&list=search&format ...

Python OSError: [Errno 9] Issue with file descriptor encountered upon attempting to open large JSON file

Recently, I attempted to process a large json file (the Wikipedia json dump) in Python by reading it line by line. However, I encountered the following Error: Traceback (most recent call last): File "C:/.../test_json_wiki_file.py", line 19, in ...

Dynamic MediaWiki Page Title Feature

Currently, I am in the process of creating a customized skin for MediaWiki (Version 1.15) and one of my main objectives is to incorporate the title of the page being accessed into the design of the skin. However, I am encountering difficulty in figuring ...

Fetching a Wikipedia page using AJAX or the fetch() method

I am currently attempting to dynamically retrieve a Wikipedia webpage within the browser in order to utilize XSLTProcessor for further processing of the XHTML content. Unfortunately, my efforts have been unsuccessful as Wikipedia is not sending the necess ...

What is it about PDF thumbnails that make a page appear unattractive?

While utilizing the CommentStreams extension in Mediawiki, I encountered an issue with the following code: == Guide == [[File:TerraformingMars.pdf|page=1|thumb|right|راهنمای فارسی - سایت: بازی نوین، مترجم: نیما مسقدی ...