Page MenuHomePhabricator

(English Wikisource) Having H: namespacealias mapped to Help: namespace
Closed, ResolvedPublic

Description

Would it be possible to put in place a namespacealias at English Wikisource that maps H: to Help: namespace. There is no interwiki map conflict that I see that would inhibit this request.

Community has discussed and reached a consensus.
https://en.wikisource.org/wiki/special:permalink/6855721#Proposal:_Having_H:_properly_mapped_to_Help:_namespace

Event Timeline

Framawiki triaged this task as Medium priority.Jun 10 2017, 1:27 PM
Framawiki subscribed.

Oh, and there are pages currently with these "shortcuts" so it will probably need that script run that is made to fix pages and namespaces (vaguely waving hands about not remembering exactly what was done last time just remembering there was the additional process).

It is namespaceDupes.php which should be run after the new namespace is deployed to fix the pages. I can take care of the patch for adding the namespace but running the script requires someone with access to terbium, which I don't have.

Change 362508 had a related patch set uploaded (by MarcoAurelio; owner: MarcoAurelio):
[operations/mediawiki-config@master] Add "H" as wgNamespaceAlias to NS_HELP for en.wikisource

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

Change 362508 merged by jenkins-bot:
[operations/mediawiki-config@master] Add "H" as wgNamespaceAlias to NS_HELP for en.wikisource

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

MarcoAurelio lowered the priority of this task from Medium to Low.
MarcoAurelio removed a project: Patch-For-Review.

Done. A maintenance script is being run to complete this configuration change. Once it is finished you should see the changes requested. Please report any issues you've encountered, if any. Thanks.

niharika29@terbium:~$ mwscript namespaceDupes.php --wiki=enwikisource --fix --add-prefix=(Renamed)
-bash: syntax error near unexpected token `('
niharika29@terbium:~$ mwscript namespaceDupes.php --wiki=enwikisource --fix --add-prefix='(Renamed)'
id=1604566 ns=0 dbk=H:GB -> Help:(Renamed)GB (alternate)
id=80233 ns=0 dbk=H:PD -> Help:(Renamed)PD (alternate)
id=408856 ns=0 dbk=H:Side -> Help:(Renamed)Side (alternate)
3 pages to fix, 3 were resolvable.

0 links to fix, 0 were resolvable.

Had to rename three pages to fix the duping. Someone needs to take care of renaming them as required.

{{done}}, all redirects so deleted. Thanks everyone for their work on this item