Project:Village Pump

About this board

This page is only for discussing issues related to MediaWiki.org site.
To get help with MediaWiki software, ask on Project:Support desk.
 

Having the reference T:xxx displayed if front of each message in Translate interface

4
Wladek92 (talkcontribs)

When translating messages, I need to see the reference T:xxx of the message in many different situations:

1)to know the context it is used in,

2)to correct any typo left in EN version,

3)to understand and correct misplaced <translate> tags etc.

Then I must open EACH message box and read the number xxx, locate the Id T:xxx in the EN file to acces the right string.

It would be nice to have this T:xxx information displayed together with the message to avoid these redundant useless open actions. Please leave your comment.


Christian 🇫🇷 FR (talk) 10:19, 14 June 2022 (UTC)

Ciencia Al Poder (talkcontribs)

You can, instead, search for the English text which (unless it appears more than one time on the page) would point you to the context where it's used.

Wladek92 (talkcontribs)

I prefer there to check directly the T:xxx tag since I know what I'm looking for.

Tacsipacsi (talkcontribs)

I think this is quite a rare use case, which would just clutter the UI for most users and create maintenance burden. A not very nice solution that however hopefully serves its purpose is putting the following snippet in your common.css/global.css:

.tux-pagemode-edit::after {
	content: attr(title);
	display: block;
	clear: both;
	visibility: visible;
	text-align: right; /* remove this line if you want to have the texts below the English (left) side instead of the translation (right) side */
}

With this, the edit link tooltips (e.g. Edit "Foo/1/fr") appear in page mode without hovering over them. They are somewhat verbose and not copyable, but this is the best solution that can be achieved with pure CSS—and using pure CSS ensures that there are no issues with how it’s updated when messages are filtered, new messages are loaded, the message group/language is changed etc. Since this is a user CSS, there’s no guarantee that it won’t break at some point, but I don’t think it’ll break any time soon.

Reply to "Having the reference T:xxx displayed if front of each message in Translate interface"

What about localised GUI screenshots ?

15
Wladek92 (talkcontribs)

Problem 1: On the translated pages, the transcluded screenshots are the EN ones which is not consistent with what the localised text describes and what the user sees on his screen. For example on FR page https://www.mediawiki.org/wiki/Help:TemplateData/fr which describes the interface in french, I see File:Manage template documentation button for TemplateData 2014.png which is the EN interface. Proposal 1: unlock the hardcoded image names where possible (when they hold translatable text) in translate tags in the root file to translate.

Problem 2: naming; are there rules for naming the new derived images ? On COMMONS i see 'File:Manage template documentation button for TemplateData 2014.png' I make a clone 'File:Manage template documentation button for TemplateData 2014 fr.png' with the corresponding FR screenshot but how could we name (syntax) the files of this family ?

Thanks

Christian 🇫🇷 FR (talk) 12:13, 8 June 2022 (UTC)

WhatamIdoing (talkcontribs)

Problem 1:

Yes, please do this. It is highly desirable to have screenshots in many languages, especially for Help: pages and high-traffic pages.


Problem 2:

AFAIK there are no written rules. My personal preference is to:

  • name the extension/software at the beginning
  • use English for the file names
  • use the same file names for all similar images (just add the language code towards the end)
  • put the date/year towards the end

For example, using the file you mention, I would probably write this for the file name:

  • File:TemplateData Manage template documentation button 2014.png
  • File:TemplateData Manage template documentation button fr 2022.png

Sometimes I might write "fr 2014" and other times I might write "2014 fr". IMO it is best for en to be in the first file name as well, although I tend to forget unless I'm making screenshots in several languages at the same time. IMO the year should be the year that you made the screenshot, which means new screenshots are "2022" even if they look the same as the 2014 screenshot.

Also, most screenshots should get two categories on Commons: one for the software (e.g., c:Category:TemplateData documentation) and one for the language (e.g., c:Category:Screenshots with French).

Tacsipacsi (talkcontribs)

If you don’t put anything after the language code, and don’t vary the year (if included) across languages, {{LM}} can be used to automatically translate the screenshot if it’s uploaded. This way, translators don’t need to touch (and potentially break) file names, but readers still get a translated file whenever possible.

WhatamIdoing (talkcontribs)

It looks like that template wants "2014 fr" (with identical names except for the language code).

Wladek92 (talkcontribs)

yes - see my conclusion below. If we remove the year from the name, the advantage is that always the more recent uploaded translated file will be considered.

Christian 🇫🇷 FR (talk) 14:30, 9 June 2022 (UTC)

Wladek92 (talkcontribs)

Ok thanks, sounds good. So I do image transclusion as ->[[{{lm|Manage template documentation button for TemplateData 2014|png|_}}|453px]]. and this means that 'File: .....2014 en' or 'File: .....2014 fr' will be selected automatically -> ok.

Problem: if we include the year in the title i.e change last snapshots into 'File: .....2022' (and this is hardcoded in the root file holding the 'translate' tags) it will suppose that all languages have made their alignement on 2022 which is rarely the case. New images will effectively match 2022 but other snapshots of the same image can still be those of 2014. How to solve that ?

Ciencia Al Poder (talkcontribs)

I think I've seen some pages here where images could be translated, but I don't remember what pages and how was that done...

WhatamIdoing (talkcontribs)

SVG images can be translated (text in the actual image). Was that what you were thinking of? Or were you thinking of pages like Help:VisualEditor/User guide, which change the image to match the language?

Ciencia Al Poder (talkcontribs)

Ah, thanks. I was talking about that page. It uses the {{lm}} template, that automatically includes the localized image if it exists.

This approach is easy when marking the page for translation, because translating a file name often may lead to people translating its text, causing a broken image. But on the other hand, it's hard to discover that you can actually upload a translated image (and with what name), and it uses expensive parser functions, which is problematic on pages with many images

WhatamIdoing (talkcontribs)

Theoretically, the multilingual screenshots for Help:VisualEditor/User guide are being generated by a bot. However, I haven't checked that bot for a couple of years, so I don't know whether it's still working.

Wladek92 (talkcontribs)

a bot ? humm interesting ... I will have a look later on VE FR generated shots, after I complete TemplateData rereading.

Christian 🇫🇷 FR (talk) 20:50, 12 June 2022 (UTC)

WhatamIdoing (talkcontribs)

It's c:User:LanguageScreenshotBot. It looks like it hasn't run for nearly two years now.

It can only do "empty page" screenshots. It can't do anything showing content that has been typed in the page/in a dialog box.

Wladek92 (talkcontribs)

I have resumed the different positions, please comments considering the following situation:

the initial page is written in EN with 2 snapshots : one for button ("button 2019 en.png") and one for the form ("form 2019 en.png") as displayed in the EN GUI , both files being referenced as 2019 in Commons.

Then this EN page has been updated with new contents to fit 2022 GUI aspect where the button is unchanged but the form contains more items and the author provides in Commons new files "button 2022 en.png"  and "form 2022 en.png".

Proposal:
1. GUI unchanged -> keep old image
If the image is unchanged then keep the old existing reference; as "button 2022 en.png" duplicates  "button 2019 en.png" you must delete "button 2022 en.png" and reference "button 2019 en.png" in the EN root page before translate. This is in charge of the person who modifies the EN root page to keep coherence between text contents and image.

2. GUI modified -> use new snapshot
Replace the 2019 reference by 2022 one;  as the form has changed, transclude now "form 2022 en.png" instead of "form 2019 en.png" in the EN root page before translate. 

3.With translators
The image name must be included into 'translate' tags to warn the translator  that the image has changed.

a. if image has not changed: there is no warning for an obsolete message -> ok, as today, nothing to do.

b. if the image has changed, translator replaces "form 2019 en.png" by "form 2022 fr.png" (or other according to his own language). ThIs makes him conscient that such a snapshot should exists. Two cases : 

b1. If file "form 2022 fr.png" exists on Commons -> ok, nothing to do.

b2. If file "form 2022 fr.png" doesnt exist on Commons, two cases :

b21. The translator creates the snapshot himself and uploads it on Commons; this is easy because GUI appears already in his own language 

b22. If it is impossible because of certain cases (GUI admin, extensions not installed on MediaWiki...), then translator can request for internal help

4. Using template LM and fallback process
What we want is to use image "form 2022 fr.png" when it exists. If not, following fallback should apply: "form 2022 fr.png" > "form 2022 en.png" > "form 2022.png" . We stop there because we know that  "form 2022 en.png"  or "form 2022.png" exist due to the coherence of EN root file.
You should use template LM which already implements these functions. 
Of course we can call directly "form 2022.png" in the root EN source to translate - which makes the process completly automatic - but the translator will not be warned that a snapshot "form 2022 fr.png" must be provided.

5. Problem referencing of the snapshot by year
Sure a reference of the image should exist and it is rather a reference of the version linked to the contents. Here we have chosen the year.It is discriminant enough if the GUI is not modified more often. 

6. Translation via svg update
It is a good idea but is risky:

a. manual processing  :
a1.  I download file "form 2022 en.png" provided by the author 
a2.  I search and translate the corresponding strings
a3.  I upload file "form 2022 fr.png"
a4. -> not reliable due to manual intervention

b.automatic process :
b1. update "form 2022 en.png" replacing the strings by their translated version (from translatewiki.net, wikidata .... ?)
b2. -> not reliable  : manual correction should be possible to correct the gaps.

=> I would prefer the manual capture of screen which reflects direcly what the GUI displays.

Thanks for reading, please leave comments.

Christian 🇫🇷 FR (talk) 07:59, 10 June 2022 (UTC)

Wladek92 (talkcontribs)
WhatamIdoing (talkcontribs)

Yay!

Reply to "What about localised GUI screenshots ?"

Unmaintained extension archiving

6
105.105.32.74 (talkcontribs)

Once MediaWiki 1.39 gets released, most unmaintained extensions which will not support MediaWiki 1.39 will be archived. Right?

Legoktm (talkcontribs)

There is no immediate deadline for archiving, it's more of a gradual and incremental process when people find and identify unmaintained extensions.

197.202.41.196 (talkcontribs)

There are 517 unmaintained extensions.

Jdforrester (WMF) (talkcontribs)

Do you have a list? How did you determine them?

MGChecker (talkcontribs)
Jdforrester (WMF) (talkcontribs)

I think that's a poor dataset to use.

Just for example, the very first one in the category was marked as unmaintained rather than experimental because a request to install it in Wikimedia production was declined, which is… not what "unmaintained" means.

Before the huge amount of work to archive these extensions is triggered, I would encourage interested parties to ping the original authors and either get confirmation that the extension should be disappeared from the Internet, or at least wait a few months of no response before proceeding.

Reply to "Unmaintained extension archiving"

Change Mediawiki.org {{SITENAME}} from "MediaWiki" to "MediaWiki.org"

4
Stang (talkcontribs)

There's a proposal posted by @Yair rand on Phabricator said the sitename of this site should be changed. The use of "MediaWiki" for SITENAME could be confusing. (For example, the search box placeholder text on Mediawiki.org currently says "Search MediaWiki" rather than "Search MediaWiki.org".) Of course such change needs a community discussion, so I start one here.

Jdforrester (WMF) (talkcontribs)

I think this is a bad proposal, and we should leave it as-is.

Ciencia Al Poder (talkcontribs)

I don't have a strong opinion on either way, but I think it would make more sense to use "MediaWiki.org" than a plain "MediaWiki", since a lot of pages (if not all) on this wiki that self-references it already use "MediaWiki.org" instead of "MediaWiki". example search.

105.105.32.74 (talkcontribs)

The site name MediaWiki is disallowed during the installation but could be bypassed by changing $wsSitename on [[Special:MyLanguage/Manual:LocalSettings.php|LocalSettings.php.

Reply to "Change Mediawiki.org {{SITENAME}} from "MediaWiki" to "MediaWiki.org""
105.105.32.74 (talkcontribs)

I trnslated $1 in a category but the AbuseFilter system prevents me. Please fix the Translation append gibberish filter. Its a false positive, see Special:AbuseLog.

105.105.32.74 (talkcontribs)

I found the solution, set this topic to Resolved.

Switching this wiki to use the new talk page tools?

6
Barkeep49 (talkcontribs)

Has there been any thought about using the new talk page tools (Talk pages project) on this wiki?

Legoktm (talkcontribs)
Whatamidoing (WMF) (talkcontribs)

The [reply] tool is on by default for all wikitext-based talk pages. I've asked the Editing team in the past to turn on the DiscussionTools Beta Feature by default.

Is your real question closer to "Has there been any thought about making wikitext be the default page model for talk pages on this wiki?" I don't think I would recommend that until we know whether automatic topic subscriptions (the [subscribe] button) is a good thing to enable by default for all users.

Barkeep49 (talkcontribs)

That really was my question and I appreciate the feedback.

Whatamidoing (WMF) (talkcontribs)

The page model was originally switched to Flow because the admins kept getting so many requests for "one-off" changes to new pages. It proved to be less work to change the default and freely grant one-off changes back to wikitext (ask any admin you know, or start a thread here whenever you want; if the page doesn't already exist, it's not considered a big deal, and Flow-to-wikitext conversions are possible).

Editing's planning an A/B test for Talk pages project/Notifications. It will hopefully emerge from instrumentation purgatory at the end of this month, run for about a month, and spend another month while the analyst figures out what happened. Depending on the results, the Editing team will make a recommendation. My guess (but data rules) is that they'll suggest enabling automatic subscriptions for newbies and manual subscriptions for old hands. My second guess is automatic for everyone, but with a highly visible opt-out button, which would have to be built. (Also, by this point, it'll be August, which means Wikimania, and nothing else will happen for weeks.)

On the assumption that the local community would first want to have this information plus (assuming the results are favorable) have the [subscribe] button deployed, I think the very earliest that people would want to talk about any changes would be September (October or even November being more realistic, since everything takes longer than it should).

As for the Editing team's role: They'll provide information and recommendations to all WMF wikis, but they weren't consulted on the switch to Flow in the past, and I don't think they expect to be consulted on any switch away from Flow in the future.

MarcoAurelio (talkcontribs)

I support enabling DiscussionTools here, and moving away from Flow. Thanks.

Reply to "Switching this wiki to use the new talk page tools?"
Shirayuki (talkcontribs)
Reply to "Improve Template:DownloadMediaWiki"

Report on Voter Feedback from Universal Code of Conduct (UCoC) Enforcement Guidelines Ratification

1
MNadzikiewicz (WMF) (talkcontribs)

Hello all,

The Universal Code of Conduct (UCoC) project team has completed the analysis of the feedback accompanying the ratification vote on the Universal Code of Conduct Enforcement Guidelines.

Following the completion of the UCoC Enforcement Guidelines Draft in 2022, the guidelines were voted on by the Wikimedian community. Voters cast votes from 137 communities, with the top 9 communities being: English, German, French, Russian, Polish, Spanish, Chinese, Japanese, Italian Wikipedias, and Meta-wiki.

Those voting had the opportunity to provide comments on the contents of the Draft document. 658 participants left comments. 77% of the comments are written in English. Voters wrote comments in 24 languages with the largest numbers in English (508), German (34), Japanese (28), French (25), and Russian (12).

A report will be sent to the Revision Drafting Committee who will refine the enforcement guidelines based on the community feedback received from the recently concluded vote. A public version of the report is published on Meta-wiki here. The report is available in translated versions on Meta-wiki. Please help translate to your language

Again, we thank all who participated in the vote and discussions. We invite everyone to contribute during the next community discussions. More information about the Universal Code of Conduct and Enforcement Guidelines can be found on Meta-wiki.

Invitation défense publique thèse de doctorat sur le mouvement Wikimédia

1
Lionel Scheepmans (talkcontribs)

Bonjour à tous.

La défense de ma thèse de doctorat portant sur le mouvement Wikimédia est fixée au vendredi 17 juin à 17 h 30 à Louvain-la-Neuve.

Tous les membres de la communauté Wikimédia sont les bienvenus.

Voici le lien vers la page d'information et d'inscription : https://fr.wikiversity.org/wiki/Sujet:Wvtdl418nfnoxnif

Belle fin de journée !

Reply to "Invitation défense publique thèse de doctorat sur le mouvement Wikimédia"

Let's talk about the Desktop Improvements

1
MediaWiki message delivery (talkcontribs)

Hello!

Have you noticed that some wikis have a different desktop interface? Are you curious about the next steps? Maybe you have questions or ideas regarding the design or technical matters?

Join an online meeting with the team working on the Desktop Improvements! It will take place on 17 May 2022 at 12:00 UTC and 19:00 UTC on Zoom. Click here to join. Meeting ID: 86217494304. Dial by your location.

Agenda

  • Update on the recent developments
  • Questions and answers, discussion

Format

The meeting will not be recorded or streamed. Notes will be taken in a Google Docs file. Olga Vasileva (the Product Manager) will be hosting this meeting. The presentation part will be given in English.

We can answer questions asked in English, Italian, Polish; also, only at the first meeting: Farsi, Vietnamese; only at the second meeting: Portuguese, Spanish, Russian. If you would like to ask questions in advance, add them on the talk page or send them to [email protected].

At this meeting, both Friendly space policy and the Code of Conduct for Wikimedia technical spaces apply. Zoom is not subject to the WMF Privacy Policy.

We hope to see you! SGrabarczuk (WMF) (talk) 05:02, 14 May 2022 (UTC)

Reply to "Let's talk about the Desktop Improvements"