Tech
Tech-related questions about third-party wikis should be asked at mw:Project:Support desk. |
A place to talk about tech related to a Wikimedia wiki.
Have a technical wiki question? Ask here. This can include, for example:
- requests for new tools, scripts, and bots;
- help with CSS or JavaScript;
- API help;
- and data collection help (including database queries).
If you are not using the "New topic tool", such as the "Ask a question" button above, please sign manually using four tildes (~~~~
), or by clicking on the signature icon ; this will automatically generate your name and the current timestamp when you publish your changes.
jQuery and dark mode styles
[edit]Hi, is there a pre-defined list of dark mode styles I can apply to jQuery? I'm trying to convert 12:35, 15 February 2025 (UTC)
- 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)
- I think that one solution could be to use Codex and/or 08:04, 13 March 2025 (UTC)
API call to list article's previous titles/move history?
[edit]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)
- @Matthew at catfishing , you can query them from logs 10:53, 13 March 2025 (UTC)
- 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)
Lua error on quote template on tr.wiktionary
[edit]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? 16:28, 28 February 2025 (UTC)
Mobile version
[edit]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)
- This page is for Wikimedia wikis only. If "your wiki" is your own MediaWiki installation, see 08:58, 12 March 2025 (UTC)
Visual editor not working on ca.wikipedia.org
[edit]Myself and 10:11, 13 March 2025 (UTC)
- @Lluis tgn I cannot reproduce when going to 10:16, 13 March 2025 (UTC)
- Centralizing reports on 10:59, 13 March 2025 (UTC)
Strange technical behaviour at Talk:Community Wishlist on mobile
[edit]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 22:12, 18 March 2025 (UTC)
- @Commander Keane: At a first impression, sounds potentially similar to what was reported as 00:05, 19 March 2025 (UTC)
- 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)
CS1 error messages on SWWP
[edit]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)
SMW Wikibase compatibility to the latest SMW and Wikibase
[edit]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.