Commons:Village pump/Technical/Archive/2023/01
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Uploader rename
Hi! Many of the older files I have uploaded continue to include my old name in the Uploader field. Is there a way to update this automatically with a bot, to my current username? Many thanks in advance! NoonIcarus (talk) 20:36, 11 January 2023 (UTC)
- @NoonIcarus: I'm thinking of searching for
"Author Oldname"
and then using COM:VFC's custom replace function to replace all instances of|author=[[User:Oldname|Oldname]]
with|author=[[User:Newname|Newname]]
. That way you do not need a bot, if it does not concern too many files. Let me know if you need help with this. --HyperGaruda (talk) 11:56, 14 January 2023 (UTC)- @HyperGaruda: Sounds good! Do you think you or another used more experienced with the gadget could help me? Thank you! --NoonIcarus (talk) 12:15, 14 January 2023 (UTC)
- @NoonIcarus: Done. --HyperGaruda (talk) 12:37, 14 January 2023 (UTC)
- @HyperGaruda: Thank you so much! Best regards! :) --NoonIcarus (talk) 13:32, 14 January 2023 (UTC)
- @NoonIcarus: Done. --HyperGaruda (talk) 12:37, 14 January 2023 (UTC)
- @HyperGaruda: Sounds good! Do you think you or another used more experienced with the gadget could help me? Thank you! --NoonIcarus (talk) 12:15, 14 January 2023 (UTC)
Is anyone else experiencing this?
Since today when using the Ecosia browser on a small screen device (Google Pixel 4a) in Portrait mode while using the "Desktop mode" I see this, this affects every page at the Wikimedia Commons. If I flip my mobile telephone to landscape mode I don't have this issue. Is anyone else using a mobile device experiencing this? What is your device's screen's diameter and / or width? My guess is that this error only affects screens with a certain with because it doesn't affect me when using landscape mode. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 10:46, 18 January 2023 (UTC)
- Issue resolved. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 09:28, 19 January 2023 (UTC)
- This section was archived on a request by: --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 09:28, 19 January 2023 (UTC)
Merging Wikidata items and the impact on Structured data in Commons files
See Wikidata:Project chat#Merging Wikidata items and the impact on Structured data in Commons files. In short: If two Wikidata items have been merged, there should be a bot on Commons to implement those changes also on Structured data in Commons files.
- Is there such a bot on Commons?
- If no: how can we get one?
JopkeB (talk) 15:35, 17 January 2023 (UTC)
- why are we even supposed to take care of shit like this. WMF and the developers came up with this thing SDC and should ofc take care of any problems it brings along. shouldnt expect us to design and run a bot by ourselves to correct a fundamental flaw in their design of SDC.
- sorry for grumbling. shooting this to phab: is better than asking among ourselves, i think. they get paid. we dont.🤣😡--RZuo (talk) 16:32, 17 January 2023 (UTC)
- Thanks, RZuo, for your reaction. I did not know this. Shall I shoot this to phab:? JopkeB (talk) 04:03, 18 January 2023 (UTC)
- yes, they should deal with it first. if a bot is the solution, they should try making the bot first.--RZuo (talk) 20:38, 18 January 2023 (UTC)
- See https://phabricator.wikimedia.org/T327374. JopkeB (talk) 06:52, 19 January 2023 (UTC)
- It turns out this bug was already signaled in November 2019, see https://phabricator.wikimedia.org/T237899 (latest comment in September 2021, so little progress). --JopkeB (talk) 14:57, 20 January 2023 (UTC)
- yes, they should deal with it first. if a bot is the solution, they should try making the bot first.--RZuo (talk) 20:38, 18 January 2023 (UTC)
- Thanks, RZuo, for your reaction. I did not know this. Shall I shoot this to phab:? JopkeB (talk) 04:03, 18 January 2023 (UTC)
Delete wrong coordinates not working
At File:Switzerland-03569 - Stanserhornbahn (23483630243).jpg, I corrected the coordinates. Now a message displays "There is a discrepancy of 2527 meters between the above coordinates and the ones stored at SDC".
I tried to delete these, but somehow it doesn't work. The interface appears broken as the change isn't saved. Please fix.
(I could revert the bot's edit that added them, but it included other (correct) information. Also, I could add the coordinates once more at the second location, but that seem overly complicated and better left to the bot). Enhancing999 (talk) 08:43, 23 January 2023 (UTC)
- @Enhancing999 Done. You have encountered a known bug with the StructuredData interface. If that happens again, try temporally changing your language as a work-around. --El Grafo (talk) 09:53, 23 January 2023 (UTC)
- Noted. Changing language from English to British English did work: [1]. I suppose it will take some time until the interface will be fully operational.
- This section is resolved and can be archived. If you disagree, replace this template with your comment. --Enhancing999 (talk) 10:06, 23 January 2023 (UTC)
Upload "wizard" not whizzing
Upload "wizard" bugs out on 135 files. Files (name Hans_Dahlberg.xxx...) are probably still hanging around, so I probably CAN NOT just re-upload. I have applied for and not gotten FILE MOVER and FILE DELETER. It would help much if I could just zap away any uploads I have made, and re-upload. Manually touching each of the 135 files... is time I do not have. Can we get Upload-Extra-Whizz, that never checks all stuff, never matches categories, never checks if uploaded again...? no graphical, text only? That would help a lot. Now I need to fight with swedish wikimedia, I have tried to fulfill the uploads I promised, but the non-working system does not allow a swift and easy upload.... Janwikifoto (talk) 00:35, 1 January 2023 (UTC)
- No need to worry. I just uploaded again (2 hours extra), and fewer pictures, now I never fill in category. Can we not get get a text-only multi-uploader, no choices, give all the info first (up front), then upload starts and I can check success later when I have time... That would be a convenient luxury! Janwikifoto (talk) 15:02, 1 January 2023 (UTC)
- If you mean text-only seriously, you can go to the command line: mw:Manual:Pywikibot/upload.py. —Tacsipacsi (talk) 21:59, 1 January 2023 (UTC)
- Can Pywikibot also upload LARGE (about 1 gb) video files..? Janwikifoto (talk) 00:52, 2 January 2023 (UTC)
- I didn’t try, but since it has a chunked upload option, I suppose yes, as long as Commons accepts them. —Tacsipacsi (talk) 11:29, 2 January 2023 (UTC)
- Can Pywikibot also upload LARGE (about 1 gb) video files..? Janwikifoto (talk) 00:52, 2 January 2023 (UTC)
- If you mean text-only seriously, you can go to the command line: mw:Manual:Pywikibot/upload.py. —Tacsipacsi (talk) 21:59, 1 January 2023 (UTC)
OGL files no longer display attribution value
It used to be the case that files uploaded under the UK's Open Government Licence could use the reuslting OGL template to display attribution information separate from the usual author information, with the syntax for this typically being {{[OGL version]|1=[Media type]: [Author]/[Organisation]}}; for a Defence Imagery file for example, the typical syntax would be "1=Photo: Pte. John Smith/MOD" (though I now prefer to say "Pte. John Smith/UK Ministry of Defence [Year]"). While it's still possible to use this syntax without producing an error, said syntax no longer seems to do anything and the only attribution visible is that given when specifying the author. Is this the result of a deliberate change, or is it just a case of weird things happening with the template at this time? - Dvaderv2 (talk) 03:25, 3 January 2023 (UTC)
- @Dvaderv2: It looks like the attribution support was broken about a year ago when the templates were converted to support multiple languages. I think I've fixed {{OGL}}. I'll also take a look at {{OGL2}} and {{OGL3}}. —RP88 (talk) 03:52, 3 January 2023 (UTC)
- OK, I think I've got the attribution parameter working for {{OGL2}} and {{OGL3}} as well. —RP88 (talk) 04:02, 3 January 2023 (UTC)
- Thanks! - Dvaderv2 (talk) 13:24, 3 January 2023 (UTC)
- OK, I think I've got the attribution parameter working for {{OGL2}} and {{OGL3}} as well. —RP88 (talk) 04:02, 3 January 2023 (UTC)
Upload Wizard public domain license needs year updated
The Upload Wizard area for adding a license to a "public domain" file where it states, "The copyright has definitely expired in the USA" needs to be updated in two lines below this selection, from "... before 1927" to "... before 1928." Thank you, -- Ooligan (talk) 04:46, 3 January 2023 (UTC)
- @Ooligan: A fix has been made (see phab:T326045) and is included in MediaWiki version 1.40.0-wmf.17, which is currently scheduled to be deployed to Commons on 4 January 2022 between 09:00–11:00 UTC (Commons server is in group1). —RP88 (talk) 05:04, 3 January 2023 (UTC)
- @RP88: Thank you for the quick response. It is good to know that it will be updated late morning on the 4th. If you know, what is the technical reason why this Upload Wizard once-a-year update could not be deployed at 00:01 PST on January 1, 2023?
- International Public Domain Day is every year on January 1st. In 2019, "the 'Grand Re-Opening of the Public Domain' that took place at the Internet Archive with the presence of members of Creative Commons, the Electronic Frontier Foundation and the Wikimedia Foundation..." Some 2023 public domain works highlighted here: "Works from 1927 are open to all!" Duke Law School’s Center for the Study of the Public Domain Ooligan (talk) 06:04, 3 January 2023 (UTC)
- There is no technical reason why a manual fix couldn't have been made and then deployed sooner, it just worked out that January 4th is the first scheduled software deployment to Commons after December 31st. There is, however, a open task to make the Upload Wizard handle the year transition automatically (see phab:T271968), but no one has volunteered to make that code change yet. —RP88 (talk) 06:14, 3 January 2023 (UTC)
- I hope a volunteer will complete this task before next year and that the year update will be on January 1st at 00:01 AM in the best legally compliant U.S. time zone. Thanks again for sharing your time and knowledge. Best Regards, -- Ooligan (talk) 10:42, 3 January 2023 (UTC)
- There is no technical reason why a manual fix couldn't have been made and then deployed sooner, it just worked out that January 4th is the first scheduled software deployment to Commons after December 31st. There is, however, a open task to make the Upload Wizard handle the year transition automatically (see phab:T271968), but no one has volunteered to make that code change yet. —RP88 (talk) 06:14, 3 January 2023 (UTC)
Tech News: 2023-02
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- You can use tags to filter edits in the recent changes feed or on your watchlist. You can now use tags to filter out edits you don't want to see. Previously you could only use tags to focus on the edits with those tags. [2]
- Special:WhatLinksHere shows all pages that link to a specific page. There is now a prototype for how to sort those pages alphabetically. You can see the discussion in the Phabricator ticket.
- You can now use the thanks function on your watchlist and the user contribution page. [3]
- A wiki page can be moved to give it a new name. You can now get a dropdown menu with common reasons when you move a page. This is so you don't have to write the explanation every time. [4]
- Matrix is a chat tool. You can now use
matrix:
to create Matrix links on wiki pages. [5] - You can filter out translations when you look at the recent changes on multilingual wikis. This didn't hide translation pages. You can now also hide subpages which are translation pages. [6]
Changes later this week
- Realtime preview for wikitext is a tool which lets editors preview the page when they edit wikitext. It will be enabled for all users of the 2010 wikitext editor. You will find it in the editor toolbar.
- Some wikis will be in read-only for a few minutes because of a switch of their main database. It will be performed on 10 January at 07:00 UTC (targeted wikis) and on 12 January at 07:00 UTC (targeted wikis).
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 10 January. It will be on non-Wikipedia wikis and some Wikipedias from 11 January. It will be on all wikis from 12 January (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 01:05, 10 January 2023 (UTC)
Help for html bug
In Category:Pietro Bussolo there are two categoriess that if you click on them they are already deleted or moved away... but they still appear there because there still exist, apparently, the same categories with this simbol at the end (;) that cannot be deleted or moved due to html conflict. Is there a way to fix this? Thank you Sailko (talk) 20:24, 6 January 2023 (UTC)
- The only way for me to land on the semicolon pages, is through adding a semicolon to the "commons.wikimedia.org/w/index.php?title=Category..." URLs (which shows up in e.g. the edit or history screen), instead of the user-friendly "commons.wikimedia.org/wiki/Category...". I have redirected the semicolon pages (1, 2) and upmerged any leftover images. --HyperGaruda (talk) 06:49, 15 January 2023 (UTC)
importScript deprecated? migration to mw.loader?
i just learnt that importScript was deprecated mw:Topic:Ufathwjhyszsis17? it can be migrated to mw.loader mw:ResourceLoader/Migration_guide_(users)#How_to_migrate?
i have no knowledge about these things, so my questions are, is it more beneficial to migrate? are there drawbacks from migration? RZuo (talk) 11:09, 15 January 2023 (UTC)
- Yes, it is depreciated. ImportScript is easier to use than mw.loader, since you have to use the full url with mw.loader. ImportScript does not work on mobile, whereas mw.loader does (that does not mean that an script will work on mobile with it, just that it will load). Mw.loader is asynchronous, but ImportScript is not, so any dependancies that the script has has to be defined using mw.loader.load.using for user scripts or in MediaWiki:Gadgets-definition for gadgets. The script will likely break if that is not done (because it will load too quickly, prior to the dependency being present). So, if you take the necessary precautions it should not have any drawbacks. Snævar (talk) 06:32, 16 January 2023 (UTC)
Tech News: 2023-03
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
- The URLs in "prev" links on page history now contain
diff=prev&oldid=[revision ID]
in place ofdiff=[revision ID]&oldid=[revision ID]
. This is to fix a problem with links pointing to incorrect diffs when history was filtered by a tag. Some user scripts may break as a result of this change. [7]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 17 January. It will be on non-Wikipedia wikis and some Wikipedias from 18 January. It will be on all wikis from 19 January (calendar).
- Some changes to the appearance of talk pages have only been available on
Talk:
andUser talk:
namespaces. These will be extended to other talk namespaces, such asCommons talk:
. They will continue to be unavailable in non-talk namespaces, includingCommons:
pages (e.g., at the Village Pump). You can change your preferences (beta feature). [8] - On Wikisources, when an image is zoomed or panned in the Page: namespace, the same zoom and pan settings will be remembered for all Page: namespace pages that are linked to a particular Index: namespace page. [9]
- The Vector 2022 skin will become the default for the English Wikipedia desktop users. The change will take place on January 18 at 15:00 UTC. Learn more.
Future changes
- The 2023 edition of the Community Wishlist Survey, which invites contributors to make technical proposals and vote for tools and improvements, starts next week on 23 January 2023 at 18:00 UTC. You can start drafting your proposals in the CWS sandbox.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 01:07, 17 January 2023 (UTC)
My ifeq logic not correct?
i edited Template:Autoarchive resolved section/layout and Template:Autoarchive resolved section/i18n to add two parameters "search" and "searchprefix". the expected outcome is if search=yes then a searchbox will show up (Commons:Village pump/zh already set search=yes), but the box doesnt show up. i tried doing without the ifeq in the layout template, then the box will show up. so i guess i didnt get the ifeq right? can you plz help me check what's wrong? cf. mw:Help:Extension:ParserFunctions##ifeq. RZuo (talk) 11:53, 4 January 2023 (UTC)
- it seems the software thinks the search parameter is empty even though i set it to yes, because i tried changing ifeq to if, the box shows up, because the box is "value if test string is empty (or only white space)".
- i already tried purging and null editing Village pump/zh. RZuo (talk) 12:04, 4 January 2023 (UTC)
- i did further testing. strangely all the age/timeout/archive parameters are received correctly, but they think "search" is empty string even though i set it to "yes" on Commons:Village pump/zh.--RZuo (talk) 16:32, 17 January 2023 (UTC)
i'm creating quite a few user js that add some convenience links, which i'm currently putting under p-tb. is it possible to add a portlet menu? i want to put my stuff under that so they're not mixed up with other things. sorry my js is too elementary. i have read https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.util-method-addPortletLink but dont quite understand. it seems impossible?--RZuo (talk) 00:25, 18 January 2023 (UTC)
Wikidata Infobox calls in the template
Should Template:Wikidata Infobox be placed directly in the category or can it be done with a template? If you look at Category:1338 in Italy, there are two calls to WikiData infobox. The first added to Template:Italyyear, the second added by Pi Bot. This results in an error because it has two calls for coordinates, and is thus in Category:Pages with malformed coordinate tags as are many of the years in Italy category. Pinging @Mike Peel since it seems like a ridiculous request for Pi Bot to keep track of which templates also have a call to Wikidata infobox inside the template call but maybe it isn't that hard to figure out. I am against inserting it by template as it just leads to a series of automation with unintended effects if people aren't paying attention and I expect people will try to add it to templates inside templates eventually. This may be more of a policy question than a technical one but maybe there is another fix. Ricky81682 (talk) 07:16, 9 January 2023 (UTC)
- The ibox call is also in Template:Poland by year, Template:SingaporeYear, Template:Bulgariayear, and Template:BrazilDecade. Also pinging @Rudolphous as that bot also does infobox additions and is creating these errors. The ibox calls were added by @Zelenymuzik and @AnRo0002. No blame, just trying to see what's the best solution here. Ricky81682 (talk) 07:24, 9 January 2023 (UTC)
- @Ricky81682: {{Wikidata Infobox}} and all of its surrounding tooling (Pi bot etc.) assume that the template is always placed directly in the category. Embedding it in templates will break that, as you've demonstrated. The solution is to remove the embedding in a template. Thanks. Mike Peel (talk) 07:26, 9 January 2023 (UTC)
- Anyone want to have their bot review the pages and put the infobox back in after it is removed from the temples? It would save a step down the line. -- Ricky81682 (talk) 05:22, 18 January 2023 (UTC)
Weird thumbnails
Hello!
I haven't edited for a while but now so I don't know exactly when the change was made but now when you go to Special:Search all file thumbnails have the same height and width for some reason. When you actually go to the file page it is as before but on Special:Search there is something weird going on. m:User:Jonteemil/global.css makes the background covered with File:Checker-16x16.png but before only the background within the width and height of the file was covered. Now an entire square of the same width and height is covered. Has there been a change? Jonteemil (talk) 01:41, 13 January 2023 (UTC)
- The topic was discussed after this change. The thread is here: https://commons.wikimedia.org/wiki/Commons:Village_pump/Technical/Archive/2022/10#Did_the_Special%3ASearch_display_change_and_break%3F There is a user pref on most wikis to turn those thumbnails off, that hack has been advised as the 'solution'.
- Even though correct (old-skool) thumbnail display has been restored on Commons, there is still a technical issue in loading all images of a random 500 items search. Always some images may not properly appear even after several times reloading the page. This 'artifical lag' is still an (annoying) game stopper in my experience. Peli (talk) 08:54, 18 January 2023 (UTC)
-i---i- filenames, where do they come from?
files like File:-i---i- (8171912885).jpg. take note this was uploaded this month, so it's not an old issue that gave rise to this name. it was imported from https://www.flickr.com/photos/abbers13/8171912885/ via com:flickr2commons. it seems the flickr original has no "title".
but as i tried f2c with https://www.flickr.com/photos/141868040@N06/52630799374/ or https://www.flickr.com/photos/32558319@N03/52634147592/ , filenames suggested by f2c are just "(52630799374).jpg", without "-i---i-". then where did they come from?
i ask because i'm tired of these meaningless names and want to have it included in MediaWiki:Titleblacklist, but i wanted to investigate its origin first.--RZuo (talk) 20:38, 18 January 2023 (UTC)
- Yeah, I can see why you are tired of those. There is between 9k and 10k of those. 7.6k do not have an tag in the first revision, 381 is from flickr2commons (tagged by abuse filter 207), 469 from flickr2commons 1.0, 486 from CropTool 1.5, 575 from wikieditor and others have less than 50 images each. Snævar (talk) 11:46, 19 January 2023 (UTC)
- the weird thing is, i dont know why i cant replicate these filenames when i try f2c. it's certainly added by code rather than by humans, but i cant find out what exactly is responsible for this.--RZuo (talk) 20:38, 19 January 2023 (UTC)
The Commons search engine is completely f-ed up!
Look here. When I search for recent files depicting Magdeburg, the German city, the search engine returns billions of totally unrelated pictures from Maryland, USA. See ? What the hell is that?! Is it because of the "MD"? How could such an error even occur? I'm really - as you might have guessed - quite flabbergasted. Edelseider (talk) 20:17, 19 January 2023 (UTC)
- yes it's definitely because of wikidata and stuff. i remember this was reported before, and some guy from the development said mediasearch will search not only the word you give but also its "aliases" from wikidata.
- so it showed you also results of "MD", which includes File:周焯華.png because of the .md domain. hahaha.--RZuo (talk) 20:38, 19 January 2023 (UTC)
- Meanwhile, try "Magdeburg" (with quotation marks) to get more relevant hits. --HyperGaruda (talk) 21:19, 19 January 2023 (UTC)
- Thank you both of you. Yes, I have thought of the quotation marks. However, this should not be a necessary precaution (or measure) if that search engine was calibrated correctly. It will only get worse, if nothing changes, because there are new files coming in every day. --Edelseider (talk) 06:50, 20 January 2023 (UTC)
- I think here it is about weighting of most recent uploaded files and exact matches. GPSLeo (talk) 07:03, 20 January 2023 (UTC)
- Thank you both of you. Yes, I have thought of the quotation marks. However, this should not be a necessary precaution (or measure) if that search engine was calibrated correctly. It will only get worse, if nothing changes, because there are new files coming in every day. --Edelseider (talk) 06:50, 20 January 2023 (UTC)
- Meanwhile, try "Magdeburg" (with quotation marks) to get more relevant hits. --HyperGaruda (talk) 21:19, 19 January 2023 (UTC)
Dumb question
If I upload a file to Commons by mistake, how do I delete it? Ttocserp (talk) Ttocserp (talk) 08:29, 22 January 2023 (UTC)
- @Ttocserp: if the file was uploaded less than a week ago, you as uploader can add {{G7}} at the top of the file page. This will mark it for speedy deletion in accordance with COM:CSD#G7. And admin will then delete it for you soon after. --HyperGaruda (talk) 09:19, 22 January 2023 (UTC)
- Thank you.Ttocserp (talk) 09:24, 22 January 2023 (UTC) 09:23, 22 January 2023 (UTC)
Tech News: 2023-04
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
- Last week, for ~15 minutes, all wikis were unreachable for logged-in users and non-cached pages. This was caused by a timing issue. [10]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 24 January. It will be on non-Wikipedia wikis and some Wikipedias from 25 January. It will be on all wikis from 26 January (calendar).
- If you have the Beta Feature for DiscussionTools enabled, the appearance of talk pages will add more information about discussion activity. [11][12]
- The 2023 edition of the Community Wishlist Survey (CWS), which invites contributors to make technical proposals and vote for tools and improvements, starts on Monday 23 January 2023 at 18:00 UTC.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 23:43, 23 January 2023 (UTC)
Using GallerySlideshow on search result pages?
i'm wondering if it's possible to enable Help:Gadget-GallerySlideshow on pages like https://commons.wikimedia.org/w/index.php?title=Special:MediaSearch&search=Yoga+deepcat%3A%22Yoga_teachers%22 or https://commons.wikimedia.org/w/index.php?search=insource%3ACategory+deepcat%3A%22Muscular_men%22 . GallerySlideshow is a much better tool than commons' inbuilt functions.
i tested by copying the code into my js https://commons.wikimedia.org/w/index.php?oldid=727683152 , but clicking the button doesnt start the slideshow. i dont know what part of the codes need to be modified. RZuo (talk) 12:26, 25 January 2023 (UTC)
Customised toolbar buttons: text instead of icon?
i've added some buttons (User:RZuo/common.js $( '#wpTextbox1' ).wikiEditor( 'addToToolbar'...), but as per instruction on mw:Extension:WikiEditor/Toolbar customization, i'm using an image for each button. i want to use text instead, is that possible? RZuo (talk) 11:40, 28 January 2023 (UTC)
Help with Template:NYPL
This template is used on the page File:Greyhound Bus Terminal, 33rd and 34th Streets between Seventh and Eighth Avenues, Manhattan (NYPL b13668355-482565).jpg, but the link to the NYPL (in the box) doesn't take me there. The image ID is correct; if I search on it at the Library, I get the right image. Anyone know what might be wrong? Thank you for your help. Vzeebjtf (talk) 03:43, 29 January 2023 (UTC)
- @Vzeebjtf: according to NYPL's entry, the UUID (on which the link in the box depends) is 333c8cd0-a7a3-013a-9800-0242ac110003 and not b8dde310-c60c-012f-bb27-58d385a7bc34. --HyperGaruda (talk) 06:22, 29 January 2023 (UTC)
- @HyperGaruda: Thank you very much! Vzeebjtf (talk) 08:42, 29 January 2023 (UTC)
Tech News: 2023-05
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
- Last week, for ~15 minutes, some users were unable to log in or edit pages. This was caused by a problem with session storage. [13]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 31 January. It will be on non-Wikipedia wikis and some Wikipedias from 1 February. It will be on all wikis from 2 February (calendar).
Future changes
- Wikis that use localized numbering schemes for references need to add new CSS. This will help to show citation numbers the same way in all reading and editing modes. If your wiki would prefer to do it yourselves, please see the details and example CSS to copy from, and also add your wiki to the list. Otherwise, the developers will directly help out starting the week of February 5.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 00:03, 31 January 2023 (UTC)
Toolhub and Commons - Improvements, Integration, and other Ideas
Toolhub is a community managed catalog of software tools used in the Wikimedia movement. Technical volunteers can use Toolhub to document the tools they create or maintain. All Wikimedians can use Toolhub to search for tools to help with their workflows and to create lists of useful tools to share with others. You can read more about Toolhub in general on meta.
The Technical Engagement team is interested in talking with active contributors to Wikimedia Commons about finding more ways for the Commons community to use Toolhub. We are interested in having more tools that are helpful for workflows on Commons listed in Toolhub and for those tools to be more discoverable to folks who are contributing to Commons.
We think that updating Commons:Tools is one way to start on this problem. We are proposing a small project to build new templates and use them to make the list of tools readable by a bot.
If you are interested in discussing our proposal, or if you have your own idea to propose improving Toolhub integration with Commons, please join the conversation at Commons talk:Tools discussion page. Udehb-WMF (talk) 15:36, 31 January 2023 (UTC)
- Hi made a request about VFC. Thanks, Yann (talk) 17:23, 31 January 2023 (UTC)
Hidden chars in title
there're some hidden chars in the original title. i thought they were all located before the G, but there were more in the middle. (because i tried to move it to a new name, which i copied from the 2nd char to the 2nd last char, and added G and n myself, but system still warned me new title had hidden chars.)
something should be in place to warn sysops not to create such things. (they can overwrite rules so this was created by User:Minorax.)
i found this as i was looking at https://commons.wikimedia.org/w/index.php?title=Special:AllPages&from=%E2%80%98tit+R%C9%99x&namespace=14 . it appeared between Category:⁋ and Category:€. RZuo (talk) 10:34, 29 January 2023 (UTC)
- and the original cat is added by {{Aircraft by facing}} as found in https://commons.wikimedia.org/w/index.php?curid=64140905 . i cant trace the root cause. RZuo (talk) 10:38, 29 January 2023 (UTC)
- I think the root cause is something in the Wikidata for d:Q1554299. There are lots of screwiness which is why the parent at Category:General Dynamics aircraft facing left breaks to Category:GD aircraft by orientation (which I think had hidden characters) instead of going up into Category:General Dynamics aircraft. Ricky81682 (talk) 22:19, 4 February 2023 (UTC)
- This problem needs to be fixed by someone who knows how to fix it. I have encountered the same difficulty with Category:Fairchild aircraft facing right. Bahnfrend (talk) 12:34, 2 March 2023 (UTC)
- I think the root cause is something in the Wikidata for d:Q1554299. There are lots of screwiness which is why the parent at Category:General Dynamics aircraft facing left breaks to Category:GD aircraft by orientation (which I think had hidden characters) instead of going up into Category:General Dynamics aircraft. Ricky81682 (talk) 22:19, 4 February 2023 (UTC)
still collecting, takes a while, it's a rat's nest... Achim55 (talk) 15:57, 11 March 2023 (UTC)
- There are two problems: 1. The bad cat name above contained 4-byte chars from the tag range which are obviously not supported or entered erroneously. I created a similar one as Category:Gulfstream aircraft by orientation (test for scanning). 2. d:Q1554299 contains not one but two assigned categories which keep the cat names of other projects mixing up 'Gulfstream Aerospace' as company and 'Gulfstream aircraft', it's a mess I better shouldn't have seen... --Achim55 (talk) 17:19, 11 March 2023 (UTC)
- Step 1: User:Achim55/Bad chars in page titles. --Achim55 (talk) 23:21, 11 March 2023 (UTC)
Done for now using parameter |mfrcat=
as workaround. I didn't find out the source of the extra characters, the cascaded templates seem okay, the data on wikidata as well. Mysterious. --Achim55 (talk) 19:21, 12 March 2023 (UTC)
- the hidden chars in these titles were between the last letter of the first word and the first whitespace.
- i guess the problem is in the querying of wikidata. somewhere these chars were added. if so, then i feel that this problem will emerge again and more often as wikidata will be queried more and more in future.
- but i'm too lazy to bother posting this to wikidata to get more attention.--RZuo (talk) 11:05, 21 March 2023 (UTC)