Tech: Difference between revisions
Killiondude (talk | contribs) |
|||
| Line 69: | Line 69: | ||
Thank you very much. |
Thank you very much. |
||
:This page is for tech questions related to Wikimedia Foundation wikis, although sometimes people are kind enough to help those in need with other questions. A better target board might be [[mw:Project:Support desk]]. [[User:Killiondude|Killiondude]] ([[User talk:Killiondude|talk]]) 23:04, 21 March 2021 (UTC) |
|||
Revision as of 23:04, 21 March 2021
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.
Translating Wikimedia portals
I want to translate https://www.wikibooks.org/, https://www.wikiversity.org/, https://www.wikivoyage.org/, https://www.wikinews.org/, https://www.wikiquote.org/ and https://www.wiktionary.org/ in Romanian, but I do not know where I can do that. Also, I already translated https://www.wikipedia.org/ on translatewiki in Romanian, but the translations are still not live. --NGC 54 (talk / contribs) 10:51, 22 February 2021 (UTC)
- @NGC 54: Hi, looks like the last "Localisation updates from https://translatewiki.net" was merged into the codebase seven days ago. The codebase then gets copied (deployed) on the servers usually once a week (if all goes well). So things can take up to two weeks in total. When did you finish the translations? --AKlapper (WMF) (talk) 15:23, 22 February 2021 (UTC)
- For general info and context: Project portals. --AKlapper (WMF) (talk) 15:26, 22 February 2021 (UTC)
- @AKlapper (WMF): 35 messages on 6 February 2021, 2 messages on 17 February 2021 and 4 messages on 20 February 2021. None of these messages are live. --NGC 54 (talk / contribs) 17:49, 22 February 2021 (UTC)
- Are you sure? I just randomly checked https://translatewiki.net/wiki/MediaWiki:Wikibase-sitelinks-wikiversity/ro and it's on https://www.wikidata.org/wiki/Q80699535?uselang=ro. Stryn (talk) 08:21, 23 February 2021 (UTC)
- @Stryn: When I acces https://www.wikipedia.org/, I see "enciclopedia liberă" instead of "Enciclopedia liberă" (https://translatewiki.net/w/i.php?title=Wikimedia:Portals-wiki.slogan/ro&action=history); I see "Wikipedia is hosted by the Wikimedia Foundation, a non-profit organization that also hosts a range of other projects." instead of "Wikipedia este găzduită de Wikimedia Foundation, o organizație non-profit care găzduiește de asemenea o varietate de alte proiecte."... --NGC 54 (talk / contribs) 11:33, 23 February 2021 (UTC)
- I also still see the old translation (I had to dig into my browser preferences as it doesn’t seem to be a way to change the display language on www.wikipedia.org…), even though the change appeared in Git almost two weeks ago now. No idea what’s going on. —Tacsipacsi (talk) 14:38, 28 February 2021 (UTC)
- @NGC 54 and Tacsipacsi: The portals are unlike the MediaWiki software, they have a separate manual deployment process: phab:T128546. Normally this happens on a Monday morning, but it appears to have been missed for a few weeks (I know one of those Mondays was a WMF holiday). A deployment did just happen this morning, and the Romanian translations appear to be live now. the wub "?!" 12:13, 1 March 2021 (UTC)
- @The wub: The translations are live now. --NGC 54 (talk / contribs) 12:23, 1 March 2021 (UTC)
- @NGC 54 and Tacsipacsi: The portals are unlike the MediaWiki software, they have a separate manual deployment process: phab:T128546. Normally this happens on a Monday morning, but it appears to have been missed for a few weeks (I know one of those Mondays was a WMF holiday). A deployment did just happen this morning, and the Romanian translations appear to be live now. the wub "?!" 12:13, 1 March 2021 (UTC)
- I also still see the old translation (I had to dig into my browser preferences as it doesn’t seem to be a way to change the display language on www.wikipedia.org…), even though the change appeared in Git almost two weeks ago now. No idea what’s going on. —Tacsipacsi (talk) 14:38, 28 February 2021 (UTC)
- @Stryn: When I acces https://www.wikipedia.org/, I see "enciclopedia liberă" instead of "Enciclopedia liberă" (https://translatewiki.net/w/i.php?title=Wikimedia:Portals-wiki.slogan/ro&action=history); I see "Wikipedia is hosted by the Wikimedia Foundation, a non-profit organization that also hosts a range of other projects." instead of "Wikipedia este găzduită de Wikimedia Foundation, o organizație non-profit care găzduiește de asemenea o varietate de alte proiecte."... --NGC 54 (talk / contribs) 11:33, 23 February 2021 (UTC)
- Are you sure? I just randomly checked https://translatewiki.net/wiki/MediaWiki:Wikibase-sitelinks-wikiversity/ro and it's on https://www.wikidata.org/wiki/Q80699535?uselang=ro. Stryn (talk) 08:21, 23 February 2021 (UTC)
Template:LangSelect doesn't work with all language settings
Hope this is the correct place to report this, if not please forward: Template:LangSelect displays nothing if the language is set to for example de-CH. Would also be nice if it'd fall back to de or even en or any other available language to at least display something instead of just nothing, or maybe give a hint about the selection box at the very top of the page if the current language isn't translated for some text. --Nenntmichruhigip (talk) 13:28, 3 March 2021 (UTC)
Strings to translate not updated for Wikimedia Endowment
Hello, Strings to translate for Wikimedia Endowment has not been updated since a year, is there something we can do to update them ? Thanks Jona (talk) 17:22, 5 March 2021 (UTC)
- @Jona: Translations need to be pushed manually by a translation administrator, because it’s difficult to get the translation syntax right, so a human review is often necessary. If you’re lucky, we notice pages in need for pushing after some time, but you can reach out at Meta talk:Babylon if you’re impatient. (I pushed this page for translation now.) —Tacsipacsi (talk) 02:05, 6 March 2021 (UTC)
- @Tacsipacsi: OK, thank you ! Jona (talk) 17:39, 7 March 2021 (UTC)
Where to specify the time format in block expire message in mobile?
We found that the format of the block expiry message in the mobile site is wrong in Finnish language (photo of the message). For example: "Block will expire 10 months". 10 months is translated as "10 kuukauden", when it should be "10 kuukauden päästä" or something similar. Where to translate the "10 months", I think it's coming straight from some system message or the time function? Stryn (talk) 10:40, 9 March 2021 (UTC)
- @Stryn: You can find the message ID of a string by using the
uselang=qqxURL parameter. --AKlapper (WMF) (talk) 06:27, 17 March 2021 (UTC)
- No I can't find the "10 months" from the system message, that's why I'm asking here. The system message before it is
{{Int:Mobile-frontend-editor-blocked-drawer-expiry-header}}as I wrote above. I think the block expiry is coming from the time function or somewhere else. Stryn (talk) 07:24, 17 March 2021 (UTC)
- No I can't find the "10 months" from the system message, that's why I'm asking here. The system message before it is
citations dont show on pages
https://fa.wikipedia.org/wiki/اصفهان https://fa.wikipedia.org/wiki/tehran https://fa.wikipedia.org/wiki/%D8%B3%DB%8C%D8%AF_%D8%B9%D9%84%DB%8C_%D8%AE%D8%A7%D9%85%D9%86%D9%87%E2%80%8C%D8%A7%DB%8C Baratiiman (talk) 07:41, 17 March 2021 (UTC)
Problem with accented french characters sort
Hello, I have tried several things to resolve the problem I am having, but without success. My pages starting with É end up at the end of other pages, which is wikimedia's default sort order. How to sort, so that the É are considered as E? I tried to reenter the line mw.config.set ('tableSorterCollation', {'É': 'E', 'é': 'e', 'ä': 'ae', 'ö': 'oe', 'ß': 'ss' , 'ü': 'ue'}); in my common.js, but it doesn't work, just like I declared $ wgCategoryCollation = "uca-fr"; in my Localsettings.php, but it doesn't work either ... I have the same problem with words that are in capitals like AKTO, which are found before other words and therefore not well sorted ... Can you help me please ? Thank you very much. Benoit -- 07:08, 21 March 2021 (UTC)
- Are you talking about a Wikimedia wiki or your own MediaWiki installation? What page content language are you using? Nemo 07:49, 21 March 2021 (UTC)
My own Mediawiki installation. I'm very sorry, I'm a beginner on Mediawiki. By the way, I don't know if I post my question in the good place for it...
It's a wiki for training organization in France because we have so many interlocutors that the small structures (like me), we are lost. You can see the problematic page here. At the start and at the end of the sort.
https://forma-wiki.fr/index.php/Sp%C3%A9cial:Toutes_les_pages
Thank you very much.
- This page is for tech questions related to Wikimedia Foundation wikis, although sometimes people are kind enough to help those in need with other questions. A better target board might be mw:Project:Support desk. Killiondude (talk) 23:04, 21 March 2021 (UTC)