About this board

Please direct all requests for help with MediaWiki to Support desk, not here, unless you're seeking help with SQLite-based installations. This way, you'll get help faster.

All requests for user rights should go to Project:Requests.


Quick question about 'free' images on pageimages api

2
Jontpan (talkcontribs)

Hi!


What image license types do you consider as 'free' on the pageimages api?


Best regards,

Jontpan

MaxSem (talkcontribs)

It comes from CommonsMetadata. No idea how that extension determines freeness, you might want to ask people familiar with it.

Reply to "Quick question about 'free' images on pageimages api"
Xaosflux (talkcontribs)
MaxSem (talkcontribs)

Replied.

Reply to "Feedback requested"

How we will see unregistered users

1
MediaWiki message delivery (talkcontribs)

Hi!

You get this message because you are an admin on a Wikimedia wiki.

When someone edits a Wikimedia wiki without being logged in today, we show their IP address. As you may already know, we will not be able to do this in the future. This is a decision by the Wikimedia Foundation Legal department, because norms and regulations for privacy online have changed.

Instead of the IP we will show a masked identity. You as an admin will still be able to access the IP. There will also be a new user right for those who need to see the full IPs of unregistered users to fight vandalism, harassment and spam without being admins. Patrollers will also see part of the IP even without this user right. We are also working on better tools to help.

If you have not seen it before, you can read more on Meta. If you want to make sure you don’t miss technical changes on the Wikimedia wikis, you can subscribe to the weekly technical newsletter.

We have two suggested ways this identity could work. We would appreciate your feedback on which way you think would work best for you and your wiki, now and in the future. You can let us know on the talk page. You can write in your language. The suggestions were posted in October and we will decide after 17 January.

Thank you. /Johan (WMF)

18:17, 4 January 2022 (UTC)

Reply to "How we will see unregistered users"

Removal of wfgeoLink function hook from the MapSources extension

2
RolandUnger (talkcontribs)

Hallo Max,

last night the wfgeoLink function hook was removed from the MapSources extension. Why you did this and why nobody told this to the community? On the German Wikivoyage #geolink is used for about 30.000 times.

This hook has nothing to do with the slippymap.

You did us a disservice.

By the way I am one of the former authors of this extension. But nobody made my a subscriber.

MaxSem (talkcontribs)
Reply to "Removal of wfgeoLink function hook from the MapSources extension"
Chtnnh (talkcontribs)
The Brilliant Idea Barnstar
Love this idea. Thank you MaxSem! Chtnnh (talk) 05:59, 11 March 2021 (UTC)
Chtnnh (talkcontribs)

This was for MaxSem/GSoC analysis, silly me forgot to mention it. :D

Reply to "A barnstar for you!"
217.117.125.72 (talkcontribs)

If I copy hieroglyphs from WikiHeiro I get Gardiener’s codes but not hieroglyphs symbols with Egyptian Hieroglyph Format Controls.

Reply to "Copying of WikiHeiro"
4nn1l2bot (talkcontribs)

Hello, I would like to run CommonsNotifier on fawiki. I have followed the instructions, and everything seems OK except for the database part. When I run bin/first-run, I get the following error

Traceback (most recent call last):
  File "/mnt/nfs/labstore-secondary-tools-project/nn1l2bot/bot/virtualenv/lib/python3.5/site-packages/pymysql/connections.py", line 920, in connect
    **kwargs)
  File "/usr/lib/python3.5/socket.py", line 712, in create_connection
    raise err
  File "/usr/lib/python3.5/socket.py", line 703, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./make-list.py", line 11, in <module>
    userdb = mysql.connect()
  File "/mnt/nfs/labstore-secondary-tools-project/nn1l2bot/bot/commonsbot/mysql.py", line 33, in connect
    use_unicode=True)
  File "/mnt/nfs/labstore-secondary-tools-project/nn1l2bot/bot/virtualenv/lib/python3.5/site-packages/pymysql/__init__.py", line 90, in Connect
    return Connection(*args, **kwargs)
  File "/mnt/nfs/labstore-secondary-tools-project/nn1l2bot/bot/virtualenv/lib/python3.5/site-packages/pymysql/connections.py", line 699, in __init__
    self.connect()
  File "/mnt/nfs/labstore-secondary-tools-project/nn1l2bot/bot/virtualenv/lib/python3.5/site-packages/pymysql/connections.py", line 967, in connect
    raise exc
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' ([Errno 111] Connection refused)")
CRITICAL: Exiting due to uncaught exception <class 'pymysql.err.OperationalError'>

I want to run the code by User:4nn1l2bot from toolforge. Currently, my.cnf file reads:

[client]
password = <redacted>
user = s53099
host = tools.db.svc.eqiad.wmflabs
database = s53099__commonsbot

I have spent several hours to get familiar with the process, but I'm stuck. I would appreciate your help.

4nn1l2 (talkcontribs)

I am sorry that I accidentally sent the above message with my bot account. I am new to Flow.

4nn1l2 (talkcontribs)

Problem solved with copying my.cnf from bot directory to its parent directory.

MaxSem (talkcontribs)

Hey, did you know you can just ask us to run it for you? We'd be happy to help.

4nn1l2 (talkcontribs)

I would be more than happy to run it on the Persian Wikipedia (fawiki) and maybe the Arabic Wikipedia (arwiki). I will also complete all the formalities such as filling in a phab ticket (phab:T190233), asking for the approval, etc. Furthermore, this is the first edit by the bot on fawiki: fa:special:diff/26557322. However, if you believe that running two bots would be a waste of resources or for whatever reason the bot should be run by User:Community Tech bot, I understand and will abide by. Please let me know.

NKohli (WMF) (talkcontribs)

@4nn1l2 Is there a reason you want to run this by yourself? Keeping it all in one place is much simpler.

4nn1l2 (talkcontribs)

@NKohli (WMF): I stopped running 4nn1l2bot. Please see m:Special:Diff/19194399. Phab ticket created too: phab:T227622. You guys should have announced the creation of the bot to the Technical Village Pump of different projects much sooner. One year after the creation of the bot, it has been deployed on only 4 Wikipedias. I'm sorry to be blunt, but Community Tech seems to have a communication problem.

NKohli (WMF) (talkcontribs)

@4nn1l2 I am sorry about that. This was announced on the project page for the wishlist project and messaged to people who voted for this project and also announced on our newsletter. We didn't announce it on all village pumps because we did not have the bandwidth to translate messages into so many languages. We will try to do a better job of it in future.

Reply to "CommonsNotifier"
Whatamidoing (WMF) (talkcontribs)
The Technical Barnstar
Thanks for addressing the WP0 issues on Phab recently. I really appreciate it.
Elitre (WMF) (talkcontribs)

Piling on this. Using plain text in case you prefer it to graphic/pics :p

AKlapper (WMF) (talkcontribs)

+1. Thanks so much.

MaxSem (talkcontribs)

Wow, thank you! It's an honor, ladies and gentlemen.

Reply to "A barnstar for you!"

Country and city attribution of geolocated item

1
Chainastole (talkcontribs)

Hello, MaxSem.

I found your GeoData API very clean, simple and user friendly in retrieving various data according to geo location of the item. But there are difficulties with retrieving country/city affiliation of the item. While country can theoretically be get in a single request (also not always but only if being specified and not in name format but rather by its alphabetic designation), the city is possible to be get only for items which are cities by themselves. Let's imagine I want to determine in one request providing the coordinates of the Sagrada Familia temple the name of the item and that it is located in Barcelona, Spain. As far as I understood there is no way to do that. From the second hand this information does exist for every geo tagged item and is available for example through WikiData SPARQL query service. But then I'll need to need to perform a second request to WikiData which I would have liked to avoid by all means.

Can you advice on the optimal strategy to perform the desired? If not is it possible to add the country/city attributes to GeoData list=geosearch attributes?

Reply to "Country and city attribution of geolocated item"

Bot activity on the Dutch Wikipedia

1
Kippenvlees1 (talkcontribs)

Dear,

Your bot account hasn't made any edits on the Dutch Wikipedia for at least three years. In accordance with the local bot policy the bot flag will be removed in three months. To avoid losing the bot flag, you can confirm you want to retain the bot flag by going to this page.

With kind regards, Kippenvlees1

Reply to "Bot activity on the Dutch Wikipedia"