Page MenuHomePhabricator

Alias -ise endings to -ize endings for special page names (uncategorised to uncategorized)
Open, Needs TriagePublicFeature

Description

Feature summary:

There are some special pages containing the American English spelling uncategorized. The British English spelling uncategorised should be available as an alternative:

See https://en.wikipedia.org/wiki/American_and_British_English_spelling_differences#-ise,_-ize_(-isation,_-ization) for background.

Use case(s):

A user may spell the name of the special page in British English.

Good first task

There's only a minor change required here to languages / messages / MessagesEn.php to add aliases.

	'Uncategorizedcategories'    => [ 'UncategorizedCategories' ],
	'Uncategorizedimages'        => [ 'UncategorizedFiles', 'UncategorizedImages' ],
	'Uncategorizedpages'         => [ 'UncategorizedPages' ],
	'Uncategorizedtemplates'     => [ 'UncategorizedTemplates' ],

Currently at lines 544 to 547 to:

	'Uncategorizedcategories'    => [ 'UncategorizedCategories', 'UncategorisedCategories' ],
	'Uncategorizedimages'        => [ 'UncategorizedFiles', 'UncategorizedImages', 'UncategorisedFiles', 'UncategorisedImages' ],
	'Uncategorizedpages'         => [ 'UncategorizedPages', 'UncategorisedPages' ], 
	'Uncategorizedtemplates'     => [ 'UncategorizedTemplates', 'UncategorisedTemplates' ],

Event Timeline

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 point to the codebase URL and provide clear steps to help a contributor get set up 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

Removing good first task because I'd say this can be achieved by installing and setting up user languages like British English, if I remember correctly.

Removing good first task because I'd say this can be achieved by installing and setting up user languages like British English, if I remember correctly.

Alternatively all British English special page name can be added as alias, since usage of British English as site language is less common.

In International English, there is broad tolerance of orthographic differences, i.e. spelling isn't considered that important. But MediaWiki isn't written in en-us, it's written in English (en). This is similar to how Wikipedia is tolerant of regional spelling differences.

Removing good first task because I'd say this can be achieved by installing and setting up user languages like British English, if I remember correctly.

That sounds like a very complicated way of achieving this, and violates the principle that MediaWiki should work well out of the box without customisations.

Removing good first task because I'd say this can be achieved by installing and setting up user languages like British English, if I remember correctly.

And on second thoughts, I don't think you are remembering correctly, but I think I can understand where you've gone astray:

Setting language to British English does change the system message that provides the heading: See for example https://en.wikipedia.org/w/index.php?title=Special:UncategorizedCategories&uselang=en-gb

image.png (822×583 px, 79 KB)

But it only changes this.

So, if you change the name of the page in the URL (izeise), then it doesn't work: https://en.wikipedia.org/w/index.php?title=Special:UncategorisedCategories&uselang=en-gb
Even with language set in Special:Preferences to en-gb.

image.png (828×527 px, 53 KB)

If anything, this is a reason for implementing the change I suggested.