Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
40 views

We're implementing a LinkedIn login for our non-profit platform built with MediaWiki. We're using OpenID Connect and following the official Microsoft documentation step-by-step. However, we encounter ...
Gianni Frisardi's user avatar
3 votes
1 answer
98 views

I've successfully managed to extract a page using ?action=parse, but the resulting page is quite ugly and lacks the necessary CSS styling to make it look good. I've been googling for a while, trying ...
Maria's user avatar
  • 87
-1 votes
1 answer
98 views

currently i am able to upload the images to test.commons.wikipedia using the code taken from the original mediaWiki but the images are being uploaded to https://upload.wikimedia.org/wikipedia/test i ...
Daksh Rawal's user avatar
-2 votes
1 answer
87 views

I want to upload many files, doing it with HTML UI will require a lot of repetitive actions. How to authorize and upload files programmatically?
Podbrushkin's user avatar
1 vote
1 answer
96 views

With the MediaWiki API we can query the Wikipedia API. One of the fields is titles where one or more titles can be queried at the same time. Batching them together is recommended in high load ...
Bram Vanroy's user avatar
  • 28.8k
1 vote
1 answer
88 views

I want to return the title, first five sentences and the main image from a random wikipedia article. Is it possible to do this in a single call? I'm using PHP. First call works fine and gets the title ...
user1106252's user avatar
1 vote
1 answer
138 views

My question as I understand it: When using Downloads package functionality in Julia, how can I be sure I am correctly passing the header ("User-Agent" or "Api-User-Agent" = my ...
Justworks's user avatar
0 votes
0 answers
35 views

Description: I am trying to use the MediaWiki API to change a user's password with the changeauthenticationdata module. However, every time I make the request, the API returns an error with code ...
wahyu nanda's user avatar
1 vote
1 answer
567 views

I'm attempting to complete an app that I need to download images from Wikimedia Commons using their API, in a similar way to using their online search at https://commons.wikimedia.org/. Using their ...
briano's user avatar
  • 67
0 votes
1 answer
185 views

I want to delete Multiple users from the Mediawiki, Who has never contributed to a page. Do we have any extensions for that or do we have to use SQL query and delete them from DB? I have tried ...
VN20's user avatar
  • 9
0 votes
1 answer
134 views

I am working on a module that converts the value of a specific value into a new value when mutliplying it by a certain percentage. EX 100 * 1.3754 = 137.54. When I use the module, it spits out my ...
John's user avatar
  • 33
0 votes
0 answers
62 views

I'm making a request to the MediaWiki API to get information about a specific page, but I'm having trouble parsing the content of the revisions. Here's an example request I'm using: http://yugioh....
RatlingRat's user avatar
2 votes
0 answers
53 views

Here is my Scala code: def login(botUN: String, botPW: String): Option[String] = { try { val s = requests.Session(verifySslCerts = false) val params0 = Map("...
austbestos's user avatar
1 vote
1 answer
1k views

I want to find a way to get the contents of a Wikipedia article on a specific date. For example, I'd like to see an article in the version it was on January 1 2022. To do this manually or with ...
DeanAttali's user avatar
  • 26.5k
1 vote
1 answer
58 views

I am trying to search for pages that contain specific title and Coord template. However, I am getting strange behavior. For example, searching for Taj Mahal, the following query returns decent result. ...
Moon's user avatar
  • 35.6k
2 votes
1 answer
150 views

I'm trying to put together a list of all articles under the Portal:Water (e.g. json "url": "https://en.wikipedia.org/wiki/Heavy_water", "title": "Heavy water" )...
Marrluxia's user avatar
0 votes
0 answers
41 views

I've noticed a concerning behavior in my MediaWiki installation's API endpoint (api.php) where it seems to be executing JavaScript code passed as URL parameters directly. For instance, when I make a ...
Arpine Harutyunyan's user avatar
0 votes
1 answer
147 views

A decade or more ago I used to do quite a bit of hacking on Wiktionary and MediaWiki. I seem to remember that I used to use some method to get the HTML of a page without most of the interface like ...
hippietrail's user avatar
  • 17.3k
0 votes
0 answers
148 views

I try logging in with .php script into my local MediaWiki page. I am using a bot account credentials. But I am getting this error Login failed: Unable to continue login. Your session most likely timed ...
Artem Movchan's user avatar
0 votes
0 answers
69 views

I am having such a hard time with the wikipedia API. I am trying to continue to the next batch of links using the continue url. here is my code. The problem is that the wikipedia API returns the exact ...
Paul Tennant's user avatar
-1 votes
1 answer
198 views

This seems way to basic but there just aren't examples available and the documentation is bad in a very typical way. They don't say how to import the library. I'm trying to use the MediaWiki ...
mmachenry's user avatar
  • 1,992
0 votes
1 answer
69 views

I have been using the Mediawiki API for our bot, it returns the response in JSON format. The actual content of user query is the value of the "Snippet" (Snippet is the Key). The problem ...
Saikrish_1408's user avatar
0 votes
1 answer
156 views

I have installed a wikimedia instance on a cloud server. I think the 'Family' is properly set up because I can, as an example, retrieve the content from the main page as: # Set up the site site = ...
user3556757's user avatar
  • 3,619
3 votes
1 answer
782 views

NOTE: The bug in the API has now been fixed, and this issue no longer arises. I'm building a simple tool for myself that will display the difference between revisions on Wikipedia using (by sending a ...
postylem's user avatar
  • 1,121
0 votes
1 answer
98 views

As the title says, I cannot see the edits made via the API with Pywikibot in Recent Changes, even with all filters removed. I can see the list of edits when I go to the User Contributions page of the ...
PearHead's user avatar
1 vote
1 answer
598 views

I would like create new user accounts in my local MediaWiki using the MediaWiki API using a simply Python script. Based on the documentation, it is my understanding that I must first login as an ...
doberkofler's user avatar
  • 10.5k
0 votes
1 answer
51 views

I am trying to use the pymediawiki Python library to extract data from the MediaWiki API. What I want to do is get the top 10 hits for a particular search term and then get the relevant page for each ...
Minura Punchihewa's user avatar
0 votes
1 answer
174 views

I am trying to create a script to login to a private Wiki so that I can make changes. This is the code I created to do this. When I send this login token request I successfully get a login token. ...
Skie's user avatar
  • 21
0 votes
1 answer
164 views

PS - Scroll down to the bold italic thing for my question; everything else is context The program is pretty simple (which makes how long I've struggled with every aspect of it even more embarrassing) ;...
Yazad Pardiwala's user avatar
3 votes
0 answers
170 views

I'm trying to get the actual HTML of about 600-700 pages hosted on a Media Wiki. I have thought of/tried the following: Option 1 Action API with action=parse: works well, takes about 0.75 seconds per ...
Ash's user avatar
  • 144
1 vote
1 answer
397 views

so I explain my problem. I have a MediaWiki instance in version 1.38 that works perfectly locally. This instance is running with docker-compose. Here is my YAML file: version: '3.7' services: ...
Dyn amo's user avatar
  • 135
0 votes
0 answers
45 views

I have captured an example JSON call that mobile Wikipedia app is calling. I don't know what the marked fish-like symbol is: I thought that I can simply omit it: https://en.wikipedia.org/w/api.php?...
trejder's user avatar
  • 17.6k
0 votes
0 answers
330 views

I'm preparing a powershell script to bulk edit mediawiki pages but I have some problem with the csrf-token, the only value that is returned is "+\", what I'm missing ? Code written so far: ...
Danfossi's user avatar
  • 179
1 vote
1 answer
248 views

How do I modify the example at https://commons.wikimedia.org/wiki/Commons:API/MediaWiki#Get_files_uploaded_by_a_particular_user to also list the categories each page is in, the wikitext of the page, ...
Dan Jacobson's user avatar
1 vote
0 answers
90 views

I would like to create a general discussion page for my small wiki (Mediawiki Version 1.39.1). It would be best if every user is notified if something is written on the page. For this I have installed ...
Jim Ye's user avatar
  • 11
1 vote
1 answer
480 views

The MediaWiki API can be used to fetch Wikipedia pages. In the docs, they only show how to fetch the latest version of a page. However, I know that Wikipedia stores every version of every page. Is ...
tlietz's user avatar
  • 144
1 vote
1 answer
570 views

I'm setting up a MediaWiki page. I go to Preferences after I have logged in with my admin account. I try to send a confirmation email at my email address. I don't receive anything. I'm the owner of ...
Aris's user avatar
  • 15
0 votes
0 answers
42 views

I am trying to run a SPARQL query. As soon as I try to query schema:about for a query , the query starts timing out. I am trying to write a query to get all cities with population greater than X. Am ...
Ankit Agarwal's user avatar
0 votes
3 answers
2k views

I am using MediaWiki as my backend and I have it running on 'localhost/name'. My login.js file: import React, {useState} from 'react'; import axios from 'axios'; function Login() { const [...
pipocaDourada's user avatar
0 votes
0 answers
95 views

I want to get all the links on the Wikipedia page Charles Maurice de Talleyrand-Périgord, but without all the links within the navboxes at the bottom of the page. I've been using the links prop (e.g. ...
crazyforMcCafe's user avatar
1 vote
1 answer
150 views

I have a list of verified Twitter User-IDs. data['screen_name'] = [MOFAJapan_en, serenawilliams, JeffBezos ....] data['twitter_ids'] = [303735625, 26589987, 15506669 ....] and I want to get their ...
Yash's user avatar
  • 81
0 votes
2 answers
147 views

Currently, we have about 100 pages under a certain namespace, let's say 'Foo:'. Much more pages contain references to such pages, like so: [[Foo:Hello|Hello]]. If we change the namespace from 'Foo:' ...
Tim Audenaert's user avatar
1 vote
1 answer
1k views

A lot of people have the same error for many different reasons, so, after trying a composer update, I've tried to investigate it starting from the browser and reconstructing step by step what is ...
Revious's user avatar
  • 8,218
0 votes
1 answer
112 views

I have just started developing and modifying extensions. Currently, I'm modifying an extension in which I have to show matching page results with the searched term entered by the user. Here I'm using ...
Santosh Kp's user avatar
1 vote
1 answer
249 views

I'm trying to use WikiMedia API (https://www.mediawiki.org/wiki/API:Main_page) to search all articles under specific categories (https://en.wikinews.org/wiki/Category:News_articles_by_section). For ...
user3070752's user avatar
0 votes
1 answer
220 views

I have a list of English Wikipedia title (Wikipedia items) and want to get the their Chinese title. Is there any python methods through MediaWiki can do it?
user19508782's user avatar
2 votes
0 answers
156 views

I have some wikitext (edited from the Wikipedia article) in a string: {{Short description|Romanian low-cost airline}}{{distinguish|Air Bleu|Airblue|Blue1|Blue Panorama Airlines|JetBlue|Pacific Blue ...
hanushi-thana's user avatar
0 votes
2 answers
123 views

I wish to determine whether a given Wikipedia page belongs to a certain Wikipedia Portal using the MediaWiki API. So far, I have been experimenting with the page properties of the API but I cannot ...
MDan's user avatar
  • 343
0 votes
3 answers
872 views

I have indexed all wikipedia pages on elasticsearch, and now I would like to search through them according to a list of keywords that I have created. The documents on elasticsearch have only three ...
Aitor Pérez's user avatar
0 votes
1 answer
733 views

When running my own mediawiki on localhost I run into a problem with the api endpoint for editing a page. The api works fine otherwise. For instance when querying tokens I get the following output: $ ...
Marlo's user avatar
  • 217

1
2 3 4 5
13