Page MenuHomePhabricator

New alias for Project namespace on Persian Wikipedia
Closed, ResolvedPublic

Description

Feature summary (what you would like to be able to do and where):
Following up on T329465, this task requests the creation of a new alias for the Project namespace called "شن" (which is short for شیوه‌نامه meaning Manual of Styles)

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Several pages on fawiki already use a [[شن:...]] link, which results in a redirect from the Main namespace to the target pages which are always Project namespace pages that are part of Manual of Styles.

Benefits (why should this be implemented?):
Eliminates unnecessary cross-namespace redirects.

Considerations
There 34 pages with titles like [[شن:...]] which currently count toward the Main namespace, have a history, etc. When the Project namespace alias is implemented, I'm unclear as to what happens to those pages. We certainly wouldn't want them to become inaccessible entries on the page table.

Of these 34 pages, 12 of them match in title and content a page names [[وپ:...]] (وپ is already a valid namespace redirect to Project namespace on fawiki, so [[وپ:...]] is essentially the same as [[Project:...]]); for instance, [[شن:درصد]] and [[وپ:درصد]] both redirect to the same place. For these 12, a link to [[شن:...]] will still work because after implementation of the namespace redirect, the [[Project:...]] page will be referenced and the destination would be the same (no user impact). However, I suppose the Main namespace page [[شن:...]] becomes inaccessible.

For the other 22, there is no matching [[وپ:...]] page. Therefore, there could be user impact. Should I create those? Or will the [[شن:...]] pages be moved upon creation of the namespace alias?

Event Timeline

Change #1122278 had a related patch set uploaded (by Huji; author: Huji):

[operations/mediawiki-config@master] New alias for Project namespace on Persian Wikipedia

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

When the Project namespace alias is implemented, I'm unclear as to what happens to those pages

Usually what happens is that someone runs namespaceDupes.php to clean them up. If there's no clash, then the previously-mainspace title falls into the project namespace. If there is a clash, then it gets moved to some awkward title (usually some variation on Project:BROKEN<original pagename>, depending on what exactly the sysadmin handling the backport types), and the wiki admins have to handle it locally. The script isn't very smart, so the 12 will follow this pattern despite their redundancy and a wiki admin will need to delete them.

(Occasionally something goes wrong here and invalid titles get created and linger for years, like happened in T195546. But you shouldn't need to worry about that.)

Anoop changed the subtype of this task from "Feature Request" to "Task".Feb 25 2025, 5:57 AM

Change #1122278 merged by jenkins-bot:

[operations/mediawiki-config@master] New alias for Project namespace on Persian Wikipedia

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