About this board
Code review requested
Quick question about 'free' images on pageimages api
What image license types do you consider as 'free' on the pageimages api?
It comes from CommonsMetadata. No idea how that extension determines freeness, you might want to ask people familiar with it.
How we will see unregistered users
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.
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)
Removal of wfgeoLink function hook from the MapSources extension
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.
Replied at phab:T149288.
A barnstar for you!
|The Brilliant Idea Barnstar|
|Love this idea. Thank you MaxSem! Chtnnh (talk) 05:59, 11 March 2021 (UTC)|
This was for MaxSem/GSoC analysis, silly me forgot to mention it. :D
Copying of WikiHeiro
If I copy hieroglyphs from WikiHeiro I get Gardiener’s codes but not hieroglyphs symbols with Egyptian Hieroglyph Format Controls.
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.
I am sorry that I accidentally sent the above message with my bot account. I am new to Flow.
Problem solved with copying my.cnf from bot directory to its parent directory.
Hey, did you know you can just ask us to run it for you? We'd be happy to help.
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.
@4nn1l2 Is there a reason you want to run this by yourself? Keeping it all in one place is much simpler.
@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.
@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.
A barnstar for you!
|The Technical Barnstar|
|Thanks for addressing the WP0 issues on Phab recently. I really appreciate it.|
Piling on this. Using plain text in case you prefer it to graphic/pics :p
+1. Thanks so much.
Wow, thank you! It's an honor, ladies and gentlemen.
Country and city attribution of geolocated item
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?