Page MenuHomePhabricator

English Wikisource — creation of namespace aliases
Closed, ResolvedPublic

Description

For English Wikisource, can we please have the following namespace aliases be configured

Alias -> Namespace

WS: -> Wikisource:
WT: -> Wikisource_talk:

If this is acceptable I believe that it would translate to in InitialiseSettings.php# wgNamespaceAliases

'enwikisource' => array(

		'WS' => NS_PROJECT,
                'WT' => NS_PROJECT_TALK,

),

The former is an existing shortcut that we have manhandled through redirects to now. Thanks.


Version: wmf-deployment
Severity: normal
URL: https://en.wikisource.org/wiki/Wikisource:Shortcut

Details

Reference
bz42853

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:57 AM
bzimport set Reference to bz42853.

Yes, this is possible; I'm preparing this configuration request.

Meanwhile, could you do update the bug with the URL of the local Wikisource discussion about this issue?

No specific, actual conversation, the community has a long practice of utilising the shortcut process, unsuccessfully, broadly unaware of the capacity for the namespace alias. Basically copying the enWP process, like forever, and wondering why it hasn't been working.

The link
https://en.wikisource.org/wiki/Special:PrefixIndex/WS:
demonstrates the extensive evidence of the existing practice, and suggests that this is a 'de facto' expectation, and we are now undertaking technical means to make this happen (well after it should have occurred).

Please notify the change on the Scriptorium.

Thank you for the notification.

Change has been deployed by Reedy this afternoon.

I noted the concern about pages disappeared on the scriptorium: this is because these page had as a title "WS:xxx" in the main namespace, where now the expected page is "xxx" in the namespace Wikisource:.

A maintenance script will be able to recover that.

Some pages cann't recoverable, as the target exists too.

Please indicate if some weren't simple redirects and please confirm all works well now.

reedy@fenari
$ mwscript namespaceDupes.php enwikisource --fix
 ... 239928 (0,"Ws:scriptorium") -> (4,"Scriptorium") [[Wikisource:Scriptorium]]
 ...  *** cannot resolve automatically; page exists with ID 16060 ***
 ... 184487 (0,"Ws:style") -> (4,"Style") [[Wikisource:Style]]
 ...  *** cannot resolve automatically; page exists with ID 622899 ***
 ... 214528 (0,"WS:AWB") -> (4,"AWB") [[Wikisource:AWB]]
 ...  *** cannot resolve automatically; page exists with ID 497205 ***
 ... 1401645 (0,"WS:Author") -> (4,"Author") [[Wikisource:Author]]
 ...  *** cannot resolve automatically; page exists with ID 1084934 ***
 ... 29986 (0,"WS:Copyright") -> (4,"Copyright") [[Wikisource:Copyright]]
 ...  *** cannot resolve automatically; page exists with ID 36541 ***
 ... 125883 (0,"WS:CotW") -> (4,"CotW") [[Wikisource:CotW]]
 ...  *** cannot resolve automatically; page exists with ID 167702 ***
 ... 636427 (0,"WS:Deletion") -> (4,"Deletion") [[Wikisource:Deletion]]
 ...  *** cannot resolve automatically; page exists with ID 1409540 ***
 ... 1209943 (0,"WS:Includes") -> (4,"Includes") [[Wikisource:Includes]]
 ...  *** cannot resolve automatically; page exists with ID 1396097 *** 
 ... 186186 (0,"WS:Links") -> (4,"Links") [[Wikisource:Links]]
 ...  *** cannot resolve automatically; page exists with ID 186188 ***
 ... 1213470 (0,"WS:OTRS") -> (4,"OTRS") [[Wikisource:OTRS]]
 ...  *** cannot resolve automatically; page exists with ID 289868 ***
 ... 31072 (0,"WS:S") -> (4,"S") [[Wikisource:S]]
 ...  *** cannot resolve automatically; page exists with ID 239927 ***
 ... 184488 (0,"WS:Style") -> (4,"Style") [[Wikisource:Style]]
 ...  *** cannot resolve automatically; page exists with ID 622899 ***
 ... 29842 (0,"WS:TM") -> (4,"TM") [[Wikisource:TM]]
 ...  *** cannot resolve automatically; page exists with ID 220853 ***
 ... 220849 (0,"WS:Template") -> (4,"Template") [[Wikisource:Template]]
 ...  *** cannot resolve automatically; page exists with ID 220851 ***
 ... 220850 (0,"WS:Templates") -> (4,"Templates") [[Wikisource:Templates]]
 ...  *** cannot resolve automatically; page exists with ID 220852 ***
 ... 502198 (0,"WS:Wikisourcers") -> (4,"Wikisourcers") [[Wikisource:Wikisourcers]]
 ...  *** cannot resolve automatically; page exists with ID 502190 ***
 ... 186187 (0,"WS:links") -> (4,"Links") [[Wikisource:Links]]
 ...  *** cannot resolve automatically; page exists with ID 186188 ***
 ... 186185 (0,"WS:style") -> (4,"Style") [[Wikisource:Style]]
 ...  *** cannot resolve automatically; page exists with ID 622899 ***

Oh noeees

All works fine, they are redirects, and are targeted appropriately. Thanks for all the efforts here. Much appreciated.