Tech - Meta
From Meta, a Wikimedia project coordination wiki
Hi, is there a pre-defined list of dark mode styles I can apply to jQuery? I'm trying to convert c:MediaWiki:Gadget-VisualFileChange.js to use dark mode styles, but I need to change styles for elements like .ui-widget. I know the correct thing would be to convert this to ooUI, but is there a short term fix I can apply? —Matrix (user page (@ commons) - talk?) 12:35, 15 February 2025 (UTC)Reply
- It would be better to move the tool away from jQuery ui altogether. I don't think it is really suited to applying dark mode fixes to jQuery ui. Solutions that other projects have chosen is mostly to opt out the entire component from dark mode. —TheDJ (talk • contribs) 12:40, 12 March 2025 (UTC)Reply
- I think that one solution could be to use Codex and/or Codex CSS design tokens with fallback colors for older skins (per Recommendations for night mode compatibility on Wikimedia wikis) like this:
background-color: var(--background-color-interactive, #DEF);
I do not know if there is nice ready made list CSS-class list for different design elements (forms, buttons etc). I tried to find but found just case-by-case examples. --Zache (talk) 08:04, 13 March 2025 (UTC)Reply
Can the MediaWiki Action API supply a list of an article's previous titles? E.g. for "Bindi" I'd like to get "Bindi (decoration)". My understanding is that Revisions only record edits associated with page moves, not the actual move itself. Thanks Matthew at catfishing (talk) 08:55, 17 February 2025 (UTC)Reply
- @Matthew at catfishing , you can query them from logs like this, but as it filters the list by title you will get only one move per query and you need to use old title to query next move in list. --Zache (talk) 10:53, 13 March 2025 (UTC)Reply
- Thanks @Zache! As far as I can tell, that API gets me the new title, if I have the old title. Your example picks up Tanja's 2006 move from Karpela to Saarela. But not the 2008 move from Saarela to the current title (which happens to also be Tanja Karpela). Is there any way of getting from current title to old title(s)? Matthew at catfishing (talk) 23:14, 14 March 2025 (UTC)Reply
Hi, I had an encounter with error on quote-juornal template. I had asked for help which is includes admins and technical people on Turkish Wikimedia but at the end of the day this problem was not solved. I need this template now and more days. Can you help us to make this template work again? This is template. Satirdan kahraman (talk) 16:28, 28 February 2025 (UTC)Reply
I can't choose different mobile and PC themes in my wiki, I hadn't got it in my settings. Soviet Motherland (talk) 08:55, 12 March 2025 (UTC)Reply
- This page is for Wikimedia wikis only. If "your wiki" is your own MediaWiki installation, see mw:Project:Support_desk instead and read the "Post a new question" section. Thanks. AKlapper (WMF) (talk) 08:58, 12 March 2025 (UTC)Reply
Myself and others can't get visual editor to work at all. --Lluis tgn (talk) 10:11, 13 March 2025 (UTC)Reply
- @Lluis tgn I cannot reproduce when going to https://ca.wikipedia.org/w/index.php?title=Filipines&veaction=edit for example. What does happen after which exact steps? What's the output in your web browser's console? See mw:Help:Locating broken scripts for more info. Thanks! AKlapper (WMF) (talk) 10:16, 13 March 2025 (UTC)Reply
- Centralizing reports on task T388772 now. Thanks :) --Lluis tgn (talk) 10:59, 13 March 2025 (UTC)Reply
When visiting Talk:Community Wishlist on Mobile, even when logged in the little person icon doesn't display in the top right corner and there is no page history or watchlist icon (I have noticed this for months). There is an "expand all" button in the three dots that fails. I am not sure if a transclusion is causing it or it is a MediaWiki bug. Incidentally, a working "expand all" button would be handy on c:COM:HD. Commander Keane (talk) 22:12, 18 March 2025 (UTC)Reply
- @Commander Keane: At a first impression, sounds potentially similar to what was reported as phab:T383272 - does what's described in that task's description match what you're seeing? (In addition, purely out of curiosity, does refreshing the page on mobile help at all?) All the best, —a smart kitten[meow] 00:05, 19 March 2025 (UTC)Reply
- Yes refreshing did fix it. I have seen the phab:T383272 behaviour on other pages and now I understand it is caused by special page transclusion. I guess Talk:Community Wishlist is the page I visit the most that has a special page included! Thanks for finding the phab task.
- I found phab:T358733 that has a gif of the expand all toggler bug. The task is open and medium.
- I am not sure why the toggler doesn't appear at Commons in the three dots (could be my local prefs?), but it doesn't work anyway so not a current issue.
- I will wait for bug fixes :-). Commander Keane (talk) 00:44, 19 March 2025 (UTC)Reply
Dear Team,
Currently we are facing too many CS1 error messages. See the list below;
- https://sw.wikipedia.org/wiki/Jamii:CS1_errors:_unsupported_parameter
- https://sw.wikipedia.org/wiki/Jamii:CS1_errors:_dates
- https://sw.wikipedia.org/wiki/Jamii:CS1_errors:_redundant_parameter
What bothers me is that, it's the same references used on the English Wikipedia, does not cast any error messages but once dropped into SWWP, all hell broke loose. Please assist. How to fix this?
Wasn't there before. User:Muddyb (Talk) 18:01, 25 March 2025 (UTC)Reply
I am currently in the process of setting up a local Windows environment using MediaWiki version 1.42.3, along with Semantic MediaWiki (SMW) version 5.0.0 and Wikibase version REL1_42. My objective is to implement two crucial functions via plugins:
-Enable MediaWiki pages to query both Wikibase data and SMW data through parser functions or Sparql, and then display this data correctly.
-Allow MediaWiki to display and create Wikibase data via the Page Special: New Property and Property: P1 page, including Items and properties. Also, enable SMW to query Wikibase data. However, I have run into a significant compatibility issue when it comes to displaying Wikibase property data. I'm aware that there are relevant plugins like the Semantic Wikibase plugin that could potentially solve this problem. Unfortunately, its latest version is 0.1.0, and it appears to have not been updated for a long time. As a result, it is not compatible with the current SMW version I'm using.
I'm reaching out to inquire if there are any alternative methods or updated plugins available to achieve the functions mentioned above. Given the incompatibility situation I'm facing, it's crucial to find a solution that can work well with my current MediaWiki, SMW, and Wikibase versions.
ZJY20242023 (talk) 19:30, 25 March 2025 (UTC)Reply
- Hi. This page is for Wikimedia wikis only. Please see mw:Project:Support desk instead and read the "Post a new question" section at the top there. Thanks. Quiddity (WMF) (talk) 18:03, 27 March 2025 (UTC)Reply
Hi,
Near the upper left corner of Oberon/Introduction you probably see a navigation link "< Oberon" provided by MediaWiki. Also, navigation buttons "Support", "Oberon front page" and "Historical perspective" are provided by my code. With these buttons, the navigation link from MediaWiki is redundant and I wonder about suppressing it.
The NOTOC magic word suppresses the table of contents. Therefore I imagine a magic word to suppress the automatic navigation link. Hypothetically it might be named NONAV.
I know that for my own viewing, the MediaWiki link can be suppressed with a line in the User:me/common.css page. That won't help casual readers who should see a page without redundant information.
Thanks for considering this suggestion, ... PeterEasthope (talk) 14:35, 27 March 2025 (UTC)Reply
- FYI, it looks like a feature request for such a magic word is currently being tracked in Phabricator as phab:T41395, in case you're interested in following/subscribing to that task :) Best, —a smart kitten[meow] 15:17, 27 March 2025 (UTC)Reply