Page MenuHomePhabricator

Page starting with letter i should not redirect to İ but to I in Karakalpak Wikipedia
Open, Needs TriagePublicBUG REPORT

Description

Dear All.

I'm a local administrator (from december 2022) in a small Karakalpak Wikipedia. I'd like to ask your help about the current usage of the letter «I» (capital for «i») in kaawiki.

Until 2016 year in Karakalpak alphabet the capital letter for «i» (small) was «İ». And that time it was established in kaawiki configuration (it's working until now) that, if a user writes [[italiya]] (with small «i») in the text, the internal link goes to the page İtaliya. It was correct as per rules of that time.

But in 2016 government and Karakalpak linguists accepted to use «I» form (as in English) instead of «İ».

So now all pages, which starts with «İ» we are moving to new pages with «I». But that old rule [[italiya]] ===> İtaliya is still working and making uncomfortable the editing process. Now when we are linking by using words, that starts with small «i», it will link to the page, which starts with the capital letter «İ», which doesn't exist in Karakalpak Language from 2016.

Is it possible to fix so that, if we link by writing [[italiya]], it goes to the page Italiya, but not to İtaliya?

I put it to a discussion and got support of another administrator (please see the bottom of [https://kaa.wikipedia.org/wiki/Wikipedia:H%C3%A1zirgi_h%C3%A1diyseler ]) and there is no objections by other users.

Thank you in advance.


Code Location

  • Modify the existing capitalization configuration in file: includes/languages/LanguageKaa.php in repository: MediaWiki Core.
  • See task discussion: T335175#8944904

Event Timeline

Aklapper renamed this task from About wrong linking [[italiya]] --> İtaliya instead of correct linking [[italiya]] --> Italiya in Karakalpak Wikipedia to Page starting with letter i should not redirect to İ but to I in Karakalpak Wikipedia.Apr 21 2023, 6:47 AM

Hi @Aklapper.
Thank you for your responsiveness.
I'm first time in the Phabricator.
So I checked the T16312 after you linked to it.
You are correct, it must be reverted, because there were fixed two functions: A) i to İ and B) I to ı.
In my current task I didn't mention the function B, I discoveried it only after learning T16312.
Now I ask you to support with cancelling of both of these (A & B) configurations, because:
İi (before 2016) ---> Ii (after 2016, current)
Iı (before 2016) ---> Íı (after 2016, current)
Thank you in advance.

@Qaraqalpaqpan: You and anyone else are very welcome to use developer access to submit proposed code changes in the mediawiki/core repository as a Git branch directly into Gerrit which allows review and to provide feedback. If you don't want to set up Git/Gerrit, you can also use the Gerrit Patch Uploader. Thanks.

@Aklapper, than you for your advice.
Now I need some time to learn the Git/Gerrit.

Change 919321 had a related patch set uploaded (by Anzx; author: Anzx):

[mediawiki/core@master] revert https://static-codereview.wikimedia.org/MediaWiki/35514.html

https://gerrit.wikimedia.org/r/919321

Change 919321 abandoned by Anzx:

[mediawiki/core@master] revert https://static-codereview.wikimedia.org/MediaWiki/35514.html

Reason:

https://gerrit.wikimedia.org/r/919321

I need to verify something. Please tell me if this is correct:

  • Small i must redirect to capital I.
  • Small ı must redirect to capital Í.

Correct?

I need to verify something. Please tell me if this is correct:

  • Small i must redirect to capital I.
  • Small ı must redirect to capital Í.

Correct?

Dear @Amire80, thank you for involving in.
And you are absolutely correct:
small i should redirect to capital I
small ı should redirect to capital Í.
Thanks in advance.

I support the proposal, given the changes in spelling.

@srishakatux I have made the changes and pushed the code to the gerrit can you please check on it

@Ravitej_Neeli Hi and thank you for your interest! Please check thoroughly https://www.mediawiki.org/wiki/New_Developers (and all of its communication section!). The page covers how to get started, assigning tasks, task status, how to find a codebase, how to create patches, where to ask general development questions and where to get help with setup problems, and how to ask good questions. Thanks a lot!

Change #1099003 had a related patch set uploaded (by Aklapper; author: Ravitej Neeli):

[mediawiki/core@master] Fix ucfirst and lcfirst functions transforming i to I and I to i

https://gerrit.wikimedia.org/r/1099003

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly pointed to the codebase URL and provide clear steps to help a contributor get setup for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

@Aklapper @srishakatux have changed the code regarding to the new requirement please review and check on it

@Ravitej_Neeli It looks like you created another patch. I would suggest that you amend your original patch by following the steps here: https://www.mediawiki.org/wiki/Gerrit/Tutorial#Amending_a_change_(your_own_or_someone_else's). When that is done, abandon the new patch you have created.

@Ravitej_Neeli: Please do not ping about patches - T335175#10366375 and the "Details" box above make it clear that there is a patch to review. Thanks a lot!

@Aklapper Just for background context: a few tasks like these were recently shared with university students who joined some of us on the Language and Product Localization team for a session: T381064

The team has encouraged students to actively communicate on these tasks, and they plan to monitor them. It’s okay for students to ping us regarding these tasks.

@srishakatux I have amend my changes please check on it

The team has encouraged students to actively communicate on these tasks, and they plan to monitor them. It’s okay for students to ping us regarding these tasks.

Folks are already subscribed on the Gerrit change, no need to also ping in the Phabricator task.