⚓ T293839 Set default namespace aliases for projects
Page Menu
Phabricator
Create Task
Maniphest
T293839
Set default namespace aliases for projects
Closed, Resolved
Public
Actions
Edit Task
Edit Related Tasks...
Create Subtask
Edit Parent Tasks
Edit Subtasks
Merge Duplicates In
Close As Duplicate
Edit Related Objects...
Edit Commits
Edit Mocks
Mute Notifications
Protect as security issue
Assigned To
Urbanecm
Authored By
Tks4Fish
Oct 19 2021, 10:39 PM
2021-10-19 22:39:53 (UTC+0)
Tags
Wikimedia-Site-requests
(Backlog)
User-Urbanecm
(Backlog)
User-notice-archive
(Backlog)
Referenced Files
None
Subscribers
4nn1l2
Aklapper
FriedrickMILBarbarossa
Kizule
NguoiDungKhongDinhDanh
Ninjastrikers
Quiddity
View All 10 Subscribers
Description
As approved on
this GRfC
, please add the following namespace aliases by default, similarly to what is already done for Wikivoyages (WV => NS_PROJECT):
WP => NS_PROJECT on Wikipedias
WB => NS_PROJECT on Wikibooks
WV => NS_PROJECT on Wikiversitas
WS => NS_PROJECT on Wikisources
WN => NS_PROJECT on Wikinewses
WQ => NS_PROJECT on Wikiquotes
WT => NS_PROJECT on Wiktionaries
Details
Related Changes in Gerrit:
Subject
Repo
Branch
Lines +/-
Set default two-letter NS_PROJECT aliases
operations/mediawiki-config
master
+8
-0
Customize query in gerrit
Related Objects
Search...
Task Graph
Mentions
Status
Subtype
Assigned
Task
Resolved
4nn1l2
T296643
Remove redundant project namespace aliases
Resolved
Urbanecm
T293839
Set default namespace aliases for projects
Resolved
Urbanecm
T294495
diqwiki: namespaceDupes.php complains about invalid entries
Mentioned In
T368219: Wikimedia\Assert\PreconditionException: Precondition failed: This Title instance does not represent a proper page, but merely a link target.
T363904: WS should be a namespace alias on Multilingual Wikisource for consistency
T355195: Create a Draft namespace on English Wikiquote
T293291: RefreshLinksJob throws "InvalidArgumentException: The given PageIdentity does not represent a proper page"
T297395: Fix inaccessible pages created by recent GRFC on viwiki
T296606: set 'WP' namespace alias to NS_PROJECT in mnw.wikipedia
T296643: Remove redundant project namespace aliases
Mentioned Here
T297395: Fix inaccessible pages created by recent GRFC on viwiki
Event Timeline
Tks4Fish
created this task.
Oct 19 2021, 10:39 PM
2021-10-19 22:39:53 (UTC+0)
Restricted Application
added a subscriber:
Aklapper
View Herald Transcript
Oct 19 2021, 10:39 PM
2021-10-19 22:39:54 (UTC+0)
Urbanecm
claimed this task.
Oct 19 2021, 10:43 PM
2021-10-19 22:43:29 (UTC+0)
Urbanecm
triaged this task as
Low
priority.
Restricted Application
added a project:
User-Urbanecm
View Herald Transcript
Oct 19 2021, 10:43 PM
2021-10-19 22:43:30 (UTC+0)
gerritbot
added a comment.
Oct 25 2021, 7:33 PM
2021-10-25 19:33:31 (UTC+0)
Comment Actions
Change 734383 had a related patch set uploaded (by Urbanecm; author: Urbanecm):
[operations/mediawiki-config@master] Set default two-letter NS_PROJECT aliases
gerritbot
added a project:
Patch-For-Review
Oct 25 2021, 7:33 PM
2021-10-25 19:33:32 (UTC+0)
Urbanecm
added a project:
User-notice
Oct 25 2021, 7:34 PM
2021-10-25 19:34:38 (UTC+0)
Comment Actions
Should be included in the tech news. As description says, this was approved in
(which was already advertised through a mass message).
IMO, this can go to "recent changes" section. I plan to deploy it next week.
Quiddity
subscribed.
Oct 28 2021, 6:59 PM
2021-10-28 18:59:48 (UTC+0)
Comment Actions
Re: Tech News entry -
Content: What description would be good & accurate for this entry? I imagine something like:
There are now default short aliases for the "Project:" namespace on most wikis. E.g. On Wikibooks wikis,
[[WB:]]
will go to the local language default for the
[[Project:]]
namespace. This change is intended to help the smaller communities have easy access to this feature. Additional local aliases can still be requested via [[Requesting wiki configuration changes | the usual process]].
Link: Where can/should the entry link to? Is there a meta-wiki translatable documentation page which includes these changes? E.g. perhaps it should be included in
(or somewhere better)
Section: When exactly will be it live? We generally only put things which are already live (on Monday, when it is delivered) into the "Recent changes" section. If it will be later in the week, then it can go in the "Changes this week" section.
Quiddity
moved this task from
To Triage
to
Not ready to announce
on the
User-notice
board.
Oct 29 2021, 9:00 PM
2021-10-29 21:00:05 (UTC+0)
Bugreporter
mentioned this in
T296643: Remove redundant project namespace aliases
Nov 29 2021, 3:34 PM
2021-11-29 15:34:38 (UTC+0)
Bugreporter
added a parent task:
T296643: Remove redundant project namespace aliases
Ninjastrikers
subscribed.
Nov 29 2021, 4:32 PM
2021-11-29 16:32:13 (UTC+0)
4nn1l2
mentioned this in
T296606: set 'WP' namespace alias to NS_PROJECT in mnw.wikipedia
Dec 3 2021, 2:36 AM
2021-12-03 02:36:07 (UTC+0)
Urbanecm
added a comment.
Dec 4 2021, 9:10 PM
2021-12-04 21:10:18 (UTC+0)
Comment Actions
In
T293839#7466331
@Quiddity
wrote:
Re: Tech News entry -
I'm sorry, this somehow lost my attention temporarily.
Content: What description would be good & accurate for this entry? I imagine something like:
There are now default short aliases for the "Project:" namespace on most wikis. E.g. On Wikibooks wikis,
[[WB:]]
will go to the local language default for the
[[Project:]]
namespace. This change is intended to help the smaller communities have easy access to this feature. Additional local aliases can still be requested via [[Requesting wiki configuration changes | the usual process]].
LGTM (except the link should likely always go to meta :)).
Link: Where can/should the entry link to? Is there a meta-wiki translatable documentation page which includes these changes? E.g. perhaps it should be included in
(or somewhere better)
AFAIK, this was only discussed at
. I' don't think it is currently documented anywhere. The help page you linked sounds like a good place. I can add it there once I deploy the change.
Section: When exactly will be it live? We generally only put things which are already live (on Monday, when it is delivered) into the "Recent changes" section. If it will be later in the week, then it can go in the "Changes this week" section.
I just set a reminder to do this next week. Can we add it to
, "recent changes"?
Juan90264
awarded a token.
Dec 5 2021, 11:09 PM
2021-12-05 23:09:37 (UTC+0)
gerritbot
added a comment.
Dec 6 2021, 12:46 PM
2021-12-06 12:46:01 (UTC+0)
Comment Actions
Change 734383
merged
by jenkins-bot:
[operations/mediawiki-config@master] Set default two-letter NS_PROJECT aliases
Stashbot
added a comment.
Dec 6 2021, 12:48 PM
2021-12-06 12:48:44 (UTC+0)
Comment Actions
Mentioned in SAL (#wikimedia-operations)
[2021-12-06T12:48:44Z] Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:734383|Set default two-letter NS_PROJECT aliases (
T293839
)]] (duration: 00m 55s)
Stashbot
added a comment.
Dec 6 2021, 12:54 PM
2021-12-06 12:54:06 (UTC+0)
Comment Actions
Mentioned in SAL (#wikimedia-operations)
[2021-12-06T12:54:05Z] mwscript namespaceDupes.php --wiki skwiki --fix #
T293839
Stashbot
added a comment.
Dec 6 2021, 12:58 PM
2021-12-06 12:58:47 (UTC+0)
Comment Actions
Mentioned in SAL (#wikimedia-operations)
[2021-12-06T12:58:47Z] mwscript namespaceDupes.php --wiki skwiki --fix --add-prefix=BROKEN #
T293839
Urbanecm
moved this task from
Not ready to announce
to
To Triage
on the
User-notice
board.
Dec 6 2021, 1:02 PM
2021-12-06 13:02:05 (UTC+0)
Comment Actions
@Quiddity
This is now live. Can you do the tech news please?
Stashbot
added a comment.
Dec 6 2021, 1:03 PM
2021-12-06 13:03:01 (UTC+0)
Comment Actions
Mentioned in SAL (#wikimedia-operations)
[2021-12-06T13:03:00Z] $ mwscript namespaceDupes.php --wiki barwiki --fix --add-prefix=BROKEN #
T293839
Maintenance_bot
removed a project:
Patch-For-Review
Dec 6 2021, 1:11 PM
2021-12-06 13:11:43 (UTC+0)
NguoiDungKhongDinhDanh
subscribed.
Edited
Dec 6 2021, 2:14 PM
2021-12-06 14:14:58 (UTC+0)
Comment Actions
@Urbanecm
Hi, viwiki have
hundreds of WP: pages
and since
WP:
s are now redirected to
Wikipedia:
s, we cannot even access those pages. Red links have started appearing in sysmessages as some
Wikipedia:
s have never been created. Will MediaWiki move them automatically, and if so, how long would it take? What would it do if
WP:Foo
and
Wikipedia:Foo
both exist?
Strainu
subscribed.
Dec 6 2021, 2:52 PM
2021-12-06 14:52:43 (UTC+0)
Comment Actions
@Urbanecm
I have the same complaint: since you implemented this without any advance notice (shame on you for that) we expect you to fix all the red links you created. Thank you.
Stashbot
added a comment.
Dec 6 2021, 4:24 PM
2021-12-06 16:24:29 (UTC+0)
Comment Actions
Mentioned in SAL (#wikimedia-operations)
[2021-12-06T16:24:26Z] starting "foreachwiki namespaceDupes.php --fix | tee namespaceDupes-T293839-fix.txt" in mwmaint1002 screen session,
T293839
Stashbot
added a comment.
Dec 6 2021, 6:00 PM
2021-12-06 18:00:03 (UTC+0)
Comment Actions
Mentioned in SAL (#wikimedia-operations)
[2021-12-06T18:00:03Z] "foreachwiki namespaceDupes.php --fix | tee namespaceDupes-T293839-fix.txt" FINISHED about 15 minutes ago
T293839
NguoiDungKhongDinhDanh
added a comment.
Edited
Dec 6 2021, 8:10 PM
2021-12-06 20:10:17 (UTC+0)
Comment Actions
Update: The number of
WP:
pages have (somehow) decreased, but about
80 of them
are still there, in which 18 lead to nowhere, and some other got stuck because
Wikipedia:
ones were created beforehand.
Addendum: Newly created
Wikipedia:
pages don't show up at Special:NewPages but
do
appear on RecentChanges.
Addendum 2:
These
Thảo luận:WP:
s also need to be moved.
NguoiDungKhongDinhDanh
mentioned this in
T297395: Fix inaccessible pages created by recent GRFC on viwiki
Dec 9 2021, 2:53 PM
2021-12-09 14:53:52 (UTC+0)
Umherirrender
subscribed.
Dec 9 2021, 7:32 PM
2021-12-09 19:32:40 (UTC+0)
Comment Actions
In
T293839#7550607
@Stashbot
wrote:
Mentioned in SAL (#wikimedia-operations)
[2021-12-06T18:00:03Z] "foreachwiki namespaceDupes.php --fix | tee namespaceDupes-T293839-fix.txt" FINISHED about 15 minutes ago
T293839
Please provide the protocols of the maintenance run. There seems to be conflicts with existing pages according to
T297395
, which needs a run with
add-suffix
or
add-prefix
to be fixed
conflicts with
and is not fixed by a simple run of
namespaceDupes.php
Also
move-talk
must be provided to avoid inaccessable pages like
(Talk:WP:3HS)
Quiddity
added a comment.
Dec 9 2021, 8:42 PM
2021-12-09 20:42:01 (UTC+0)
Comment Actions
@Urbanecm
This is now added this to Tech News:
- please edit that if needed, within the next 24 hours (after which it will be 'frozen' for translation).
I've linked to
per above discussion. Please do add some details there! :)
Quiddity
moved this task from
To Triage
to
In current Tech/News draft
on the
User-notice
board.
Dec 9 2021, 8:42 PM
2021-12-09 20:42:15 (UTC+0)
Urbanecm
added a comment.
Dec 9 2021, 10:08 PM
2021-12-09 22:08:53 (UTC+0)
Comment Actions
In
T293839#7561047
@Umherirrender
wrote:
In
T293839#7550607
@Stashbot
wrote:
Mentioned in SAL (#wikimedia-operations)
[2021-12-06T18:00:03Z] "foreachwiki namespaceDupes.php --fix | tee namespaceDupes-T293839-fix.txt" FINISHED about 15 minutes ago
T293839
Please provide the protocols of the maintenance run. There seems to be conflicts with existing pages according to
T297395
, which needs a run with
add-suffix
or
add-prefix
to be fixed
Note full protocols of the scripts executed have several GBs. I'm not willing to publish them all, since I can never be reasonably sure there's nothing private in them.
conflicts with
and is not fixed by a simple run of
namespaceDupes.php
Also
move-talk
must be provided to avoid inaccessable pages like
(Talk:WP:3HS)
Fixed viwiki.
Umherirrender
added a comment.
Dec 9 2021, 10:21 PM
2021-12-09 22:21:12 (UTC+0)
Comment Actions
In
T293839#7561498
@Urbanecm
wrote:
In
T293839#7561047
@Umherirrender
wrote:
In
T293839#7550607
@Stashbot
wrote:
Mentioned in SAL (#wikimedia-operations)
[2021-12-06T18:00:03Z] "foreachwiki namespaceDupes.php --fix | tee namespaceDupes-T293839-fix.txt" FINISHED about 15 minutes ago
T293839
Please provide the protocols of the maintenance run. There seems to be conflicts with existing pages according to
T297395
, which needs a run with
add-suffix
or
add-prefix
to be fixed
Note full protocols of the scripts executed have several GBs. I'm not willing to publish them all, since I can never be reasonably sure there's nothing private in them.
I do not expect that much data. Than it is okay to not provide it. But maybe some fixes needs to be done. Maybe a fresh dry-run is smaller and only shows the open cases.
Kizule
subscribed.
Dec 11 2021, 9:24 PM
2021-12-11 21:24:02 (UTC+0)
Quiddity
moved this task from
In current Tech/News draft
to
Already announced/Archive
on the
User-notice
board.
Dec 16 2021, 8:12 PM
2021-12-16 20:12:52 (UTC+0)
Umherirrender
unsubscribed.
Jan 2 2022, 8:48 PM
2022-01-02 20:48:22 (UTC+0)
4nn1l2
subscribed.
Jan 12 2022, 10:58 PM
2022-01-12 22:58:09 (UTC+0)
Comment Actions
@Urbanecm
Can we close this?
FriedrickMILBarbarossa
awarded a token.
Jan 14 2022, 11:31 AM
2022-01-14 11:31:24 (UTC+0)
FriedrickMILBarbarossa
subscribed.
4nn1l2
closed this task as
Resolved
Feb 3 2022, 7:59 AM
2022-02-03 07:59:54 (UTC+0)
Comment Actions
I'm going to boldly close this.
Please feel free to re-open it, if I'm wrong about its status. Thanks!
Umherirrender
mentioned this in
T293291: RefreshLinksJob throws "InvalidArgumentException: The given PageIdentity does not represent a proper page"
Feb 9 2022, 7:04 PM
2022-02-09 19:04:32 (UTC+0)
Ladsgroup
edited projects, added
User-notice-archive
; removed
User-notice
Aug 13 2022, 1:54 PM
2022-08-13 13:54:57 (UTC+0)
Lucas_Werkmeister_WMDE
mentioned this in
T355195: Create a Draft namespace on English Wikiquote
Jan 30 2024, 3:40 PM
2024-01-30 15:40:54 (UTC+0)
Umherirrender
closed subtask
T294495: diqwiki: namespaceDupes.php complains about invalid entries
as
Resolved
Mar 21 2024, 7:55 PM
2024-03-21 19:55:02 (UTC+0)
Nintendofan885
mentioned this in
T363904: WS should be a namespace alias on Multilingual Wikisource for consistency
May 1 2024, 10:29 AM
2024-05-01 10:29:16 (UTC+0)
Umherirrender
mentioned this in
T368219: Wikimedia\Assert\PreconditionException: Precondition failed: This Title instance does not represent a proper page, but merely a link target.
Jun 23 2024, 10:43 AM
2024-06-23 10:43:12 (UTC+0)
Log In to Comment
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct.
Wikimedia Foundation
Code of Conduct
Disclaimer
CC-BY-SA
GPL
Credits