Jump to content
Wikimedia Meta-Wiki

Grants talk:Knowledge Sharing/Connect/Resources

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by DSaroyan (WMF) (talk | contribs) at 17:09, 25 September 2024. It may differ significantly from the current version .

Latest comment: 1 month ago by DSaroyan (WMF) in topic Add a resource for learning how to edit this page...

Add a resource for learning how to edit this page...

Latest comment: 1 month ago 7 comments3 people in discussion

Thank you :) –SJ talk 02:32, 24 May 2022 (UTC) Reply

Hi Sj, thanks for your comment. This page is under construction because we still discuss the best way of collecting resources. I think we will move this section to the Wikimedia Resource Center where we already have the documentation and building blocks available. We will update the page soon. --DSaroyan (WMF) (talk) 07:47, 24 May 2022 (UTC) Reply

@EriedgenArc, how do you generate the entries you add? The template call is not really "human-readable" because of the lack of spacing, so I would like to fix it. --Pols12 (talk) 14:06, 7 August 2024 (UTC) Reply

Hello @Pols12, they use a spreadsheet that generates the wikitext automatically and fills out the template parameters based on data from specific cells. What would make the template more human-readable? I'm not directly involved with the project anymore, but can try to help. DSaroyan (WMF) (talk) 08:28, 12 August 2024 (UTC) Reply
Is the script generating the wikitext public? I can help to improve it. The main issue is the lack of white spaces, having 1 parameter per line would be much better. -- Pols12 (talk) 17:23, 13 August 2024 (UTC) Reply
Hi @Pols12, thanks. I slightly edited it. Would this formatting work better? Example:
{{Wikimedia Foundation Funds/Resource
|icon = OOjs_UI_icon_lightbulb.svg
|title = <translate> Developing education initiatives through Wikimedia partnerships: the case of WMCO </translate>
|description = <translate> Participants will be able to learn about the local implementation of Wikimedia educational initiaives and about the partnerships and collaboration processes </translate> 
|sharer = <translate> Wikimedia Colombia </translate> 
|language_links_intro = <translate> Video recording: </translate>
|language_code_1 = es
|link_1 = https://www.youtube.com/watch?v=2OtsoClcxmo
|language_code_2 = 
|link_2 = 
|language_code_3 = 
|link_3 = 
|language_code_4 = 
|link_4 = 
|language_links_intro_2 = <translate> Sharers' presentation: </translate>
|language_code_2_1 = es
|link_2_1 = https://docs.google.com/presentation/d/1f6jyPse2Ue7tkrx8i0oDB0LbyU0FcPbMzZzycXQU-iI/edit#slide=id.g202a8ac6abb_1_99
|language_code_2_2 = en
|link_2_2 = https://docs.google.com/presentation/d/1NcNZVwkF_r7NrZ6olTjl_KMp_oGoay5zCba3xoZVPpQ/edit#slide=id.g202a8ac6abb_1_99
|language_code_2_3 = pt
|link_2_3 = https://docs.google.com/presentation/d/1Y5tcFDF3dAht38U7Lnfy1QZ41yYfpOXTO2snBm1hfgs/edit#slide=id.g202a8ac6abb_1_99
|language_code_2_4 = fr
|link_2_4 = https://docs.google.com/presentation/d/1NcNZVwkF_r7NrZ6olTjl_KMp_oGoay5zCba3xoZVPpQ/edit#slide=id.g202a8ac6abb_1_99
|language_links_intro_3 = <translate> Link to various resources: </translate>
|language_code_3_1 = 
|link_3_1 = 
|language_code_3_2 = 
|link_3_2 = 
|language_code_3_3 = 
|link_3_3 = 
|language_code_3_4 = 
|link_3_4 = 
|language_links_intro_4 = <translate> Session presentation: </translate>
|language_code_4_1 = es
|link_4_1 = https://docs.google.com/presentation/u/1/d/11urb02vdHnWnj9nHEC5JzcZtXgWbce-O/edit?usp=drive_web&ouid=109187998356556729995&rtpof=true
|language_code_4_2 = 
|link_4_2 = 
|language_code_4_3 = 
|link_4_3 = 
|language_code_4_4 = 
|link_4_4 = }}

— The preceding unsigned comment was added by DSaroyan (WMF) (talk) 2024年08月19日 11:37 (UTC)

Much better indeed, thank you!
Nit: I would also remove single white space just after opening <translate> tag and just before </translate> tag.
If this template is only used at Grants:Knowledge Sharing/Connect/Resources, we can also replace <translate> Video recording: </translate> with {{Tunit|1|Video recording:}}, <translate> Sharers' presentation: </translate> with {{Tunit|89|Sharers' presentation:}}, <translate> Link to various resources: </translate> with {{Tunit|255|Link to various resources:}} and <translate> Session presentation: </translate> with {{Tunit|212|Session presentation:}}. That would allow translators to translate those texts only one for the whole page. --Pols12 (talk) 22:35, 28 August 2024 (UTC) Reply
Hi @Pols12, thanks for your kind recommendation. I wanted to confirm that I made requested changes and any new resource card will be with "Tunit" templates and omitted spaces. I'll leave an example below. DSaroyan (WMF) (talk) 17:07, 25 September 2024 (UTC) Reply
{{Wikimedia Foundation Funds/Resource
|icon = OOjs_UI_icon_lightbulb.svg
|title = Oral Knowledge Documentation on Wikimedia Projects
|description = Participants will be able to understand oral documentation on Wikimedia projects.
Participants will know the different oral documentation projects run in the Wikimedia movement. 
|sharer = [https://meta.wikimedia.org/wiki/User:Olaniyan_Olushola Olushola Olaniyan] (Wikimedia Nigeria User Group), [https://meta.wikimedia.org/wiki/User:Amrit_Sufi Amrit Sufi] (Angika Wikimedian), [https://meta.wikimedia.org/wiki/User:SPramudya_(WMF) Sakti Pramudya] (Wikimedia Foundation) 
|language_links_intro = {{Tunit|1|Video recording:}}
|language_code_1 = en
|link_1 = https://www.youtube.com/watch?v=o2cy0rOdoGo 
|language_code_2 = fr
|link_2 = https://drive.google.com/file/d/1t_Y4pj8-yM81ANVz5U7CbezHvrZn2uov/view?usp=drive_link 
|language_code_3 = es
|link_3 = https://drive.google.com/file/d/1XMdaId2-3jotPGb7qKJ0VkW24rtyBrys/view?usp=drive_link
|language_code_4 = 
|link_4 = 
|language_links_intro_2 = {{Tunit|89|Sharers' presentation:}}
|language_code_2_1 = en
|link_2_1 = https://docs.google.com/presentation/d/1WZGtLCUjQbm0F8SHmqXn9D_neVaqbgej9EJacNjSdY4/edit 
|language_code_2_2 = fr
|link_2_2 = https://docs.google.com/presentation/d/1WZGtLCUjQbm0F8SHmqXn9D_neVaqbgej9EJacNjSdY4/edit#slide=id.g2d148a65803_1_0 
|language_code_2_3 = es
|link_2_3 = https://docs.google.com/presentation/d/1WZGtLCUjQbm0F8SHmqXn9D_neVaqbgej9EJacNjSdY4/edit#slide=id.g2d148a65803_1_100
|language_code_2_4 = 
|link_2_4 = 
|language_links_intro_3 = {{Tunit|89|Sharers' presentation:}}
|language_code_3_1 = en
|link_3_1 = https://docs.google.com/presentation/d/1G-BPKQhte5_Rr-07duptgyQVlAu3r4o3u-J5svfwfP0/edit#slide=id.p1
|language_code_3_2 = fr
|link_3_2 = https://docs.google.com/presentation/d/1G-BPKQhte5_Rr-07duptgyQVlAu3r4o3u-J5svfwfP0/edit#slide=id.g2d14bc6ca5b_0_0
|language_code_3_3 = es
|link_3_3 = https://docs.google.com/presentation/d/1G-BPKQhte5_Rr-07duptgyQVlAu3r4o3u-J5svfwfP0/edit#slide=id.g2d14bc6ca5b_0_155
|language_code_3_4 = 
|link_3_4 = 
|language_links_intro_4 = {{Tunit|89|Sharers' presentation:}}
|language_code_4_1 = en
|link_4_1 = https://docs.google.com/presentation/d/1jvcSutKajGkWQPcGS5P1tMJBKoOJFRYG/edit#slide=id.p1
|language_code_4_2 = fr
|link_4_2 = https://docs.google.com/presentation/d/1jvcSutKajGkWQPcGS5P1tMJBKoOJFRYG/edit#slide=id.g2d14b09a891_0_7
|language_code_4_3 = es
|link_4_3 = https://docs.google.com/presentation/d/1jvcSutKajGkWQPcGS5P1tMJBKoOJFRYG/edit#slide=id.g2d14b09a891_0_180
|language_code_4_4 = 
|link_4_4 = }}

AltStyle によって変換されたページ (->オリジナル) /