Last modified: 2007-12-18 23:15:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8313, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6313 - Create "WP" namespace on English Wikipedia
Create "WP" namespace on English Wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-15 01:44 UTC by Andrew Garrett
Modified: 2007-12-18 23:15 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andrew Garrett 2006-06-15 01:44:15 UTC
I'd like to request that a new namespace be added to the en wikipedia called
'WP'. This will alleviate the concerns of a number of users on the growing use
of shortcuts and the resulting cross-namespace redirects.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-06-15 02:07:48 UTC
(In reply to comment #0)
> I'd like to request that a new namespace be added to the en wikipedia called
> 'WP'. This will alleviate the concerns of a number of users on the growing use
> of shortcuts and the resulting cross-namespace redirects.

The idea behind restricting cross-namespace redirects is that someone who types
in "Assume good faith" (for instance) might conceivably want [[Good faith]], not
[[Wikipedia:Assume good faith]], and certainly someone who types in "Jimbo
Wales" is looking for [[Jimmy Wales]] and not [[User:Jimbo Wales]].  Since no
existing acronym outside of Wikipedia begins W-P-:, there's no harm in such
redirects.

So can anyone propose a reason for why cross-namespace redirects are worse than
identically-named non-cross-namespace redirects?  As far as I can tell, it would
accomplish precisely nothing whatsoever, although I could certainly be wrong. 
(They technically change the count of existing articles pages when they aren't
articles, but then, no redirect is an article, and most counts thus exclude them
anyway; any that don't could be configured to exclude cross-namespace redirects
without too much difficulty.)  Do you want WT:, U:, UT:, etc. as well?

Now, if you want namespace *aliases*, where [[WP:...]] would be identical to
[[Wikipedia:...]], that would be potentially useful if you're too lazy to type
out the "ikiedia" part of the prefix, or perhaps for other purposes.  But why
does anyone want this?
Comment 2 Rob Church 2006-06-15 06:08:17 UTC
I think the rationale is simple. Get the thousands of WP:BLAH shortcuts out of
the main namespace without breaking them.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-06-15 22:01:50 UTC
(In reply to comment #2)
> I think the rationale is simple. Get the thousands of WP:BLAH shortcuts out of
> the main namespace without breaking them.

Well, yes.  But why can't they be in the main namespace?
Comment 4 Rob Church 2006-06-15 22:04:56 UTC
The whole point of namespaces is to separate content up. WP:BLAH shortcuts
aren't articles.
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-06-15 22:18:59 UTC
Well, the point is to *usefully* separate articles.  The prefix "User:", for
instance, reserves pages for attachment with specific usernames, "Template:"
allows transclusion without a prefix while preventing collisions with article
space, "Image:" and "Category:" and "MediaWiki:" have built-in functionality
associated with them, and all of the above plus project/Help/Portal/Talk allow
subpages and don't add to article counts (both of which are irrelevant to
redirects).

But then again, there's no downside either if a dev feels like doing it, so why not.
Comment 6 Eugene Zelenko 2006-06-16 16:11:15 UTC
Is it possible to implement WP as alias to Wikipedia instead of separate namespace?
Comment 7 Rob Church 2006-06-16 16:15:05 UTC
(In reply to comment #6)
> Is it possible to implement WP as alias to Wikipedia instead of separate
namespace?

Not with the current title handling code, as far as I am aware...
Comment 8 Leon Weber 2006-06-16 16:27:15 UTC
Well, I really can't see the problem with leaving the status quo -- who cares if
WP:BLAH stays there? If any solution, I'd suggest a *real* shortcut handling.
That means, something like Special:Shortcut/BLAH, and a Special:Createshortcut
with a nice form on it, so these aren't articles in the database but entries in,
for example, a table like 'shortcuts' with the fields 'shortcut_id',
'shortcut_name','shortcut_destination' or so.
Comment 9 Rob Church 2006-06-16 16:35:58 UTC
I'm liking where Leon's idea is going. Aliases.
Comment 10 Leon Weber 2006-06-16 16:38:53 UTC
Hm, aliases sound quite good -- they even could replace *any* redirects, no?
Comment 11 SPUI 2006-06-16 19:31:56 UTC
WP: redirects have been speedy deleted (improperly IMO) as cross-namespace
redirects from the article space. This would put a stop to that.
Comment 12 Phil Harnish 2006-06-16 20:39:27 UTC
IMHO all links and should be treated the same way and use the same code (ex:
what links here, "page touched", etc).

If:
1) A typo is a "redirect" (eg: [[Tpyo]], #REDIRECT: [[Typo]])
2) An acronym is an "alias"
Both will display the target page (probably without changing the URL). What is
the functional difference between the two?

Here is the problem I see with using a special page (or special anything):
1) Billy, a savvy wikipedian, adds alias "TLA" so that all [[TLA]] links point
to [[three letter acronym]]
2) Jane, a librarian and really into free information, wants to write about the
Tennessee Library Association. To her surprise http://en.wikipedia.org/wiki/TLA
takes her to [[Three letter acronym]], and there is no '?redirect=no' or real
TLA article to write a disambiguation page at.

IMHO http://en.wikipedia.org/wiki/TLA works fine the way it is.

If the problem is that #REDIRECT articles are mixed up with content articles,
fix that instead. (Either in the code or the interface.)
Comment 13 omniplex 2006-06-30 17:27:06 UTC
re #11: WP:-redirects speedy deleted? Which year or project?
[[WP:WP]] and [[WP:SHORT]] are in good shape at the moment.
Comment 14 SPUI 2006-06-30 22:53:27 UTC
I don't remember the specifics, but it was from WP:foo to a project in someone's
user space.
Comment 15 JeLuF 2007-09-09 11:11:47 UTC
There's no consensus apparently for this. Closing for now. Please provide a link to a vote result before re-opening this request.

=> Closed.
Comment 16 Carl Fürstenberg 2007-09-09 11:26:52 UTC
Marking it as later instead of wontfix, per lack of consensus isn't a "wontfix" imo
Comment 17 Aaron Schulz 2007-09-09 11:27:50 UTC
(In reply to comment #16)
> Marking it as later instead of wontfix, per lack of consensus isn't a "wontfix"
> imo
> 

Well, it's not really "waiting for later" either ;)
Comment 18 Danny B. 2007-09-09 12:34:02 UTC
I don't know if enwiki has different settings, but cswiki has WP: as an alias for Project: namespace already couple months and it works nice. So all shortcut redirects (eg. WP:3RR) are in fact Project:3RR.
Comment 19 FunPika 2007-11-11 01:52:38 UTC
There appears to be a related discussion currently happening on the English Wikipedia at the following URL: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28proposals%29#WP:_pseudo-namespace
Comment 20 MZMcBride 2007-11-17 21:00:04 UTC
On-wiki consensus has been gained here: http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_%28proposals%29&oldid=172137295#WP: pseudo-namespace 

There also seems to be consensus to do WT: as well as WP:

One (or both) change(s) require a script to move the pages (read: redirects) from WP:whatever to Wikipedia:whatever to avoid pages being left in MediaWiki purgatory.
Comment 21 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-11-26 16:49:18 UTC
JeLuF tried to fix this, but the namespace fixing didn't work.  I can't reproduce the problem on my own computer to fix the script, so some dev/sysadmin like Tim or Brion needs to be persuaded to debug the problem on the actual servers.
Comment 22 Brion Vibber 2007-11-26 20:29:10 UTC
namespaceDupes.php likely failed with a fatal error when reaching [[WP:]], which is an illegal title with the namespace alias in place. That bug is now fixed as of r27865.

Note that the namespace alias would make that 'WP:' alias for the list of shortcuts unavailable, and would in general make it harder to get at the shortcuts -- which would still all have to made manually.

Personally I don't think it'll buy anything, and it conflicts with our general policy to avoid adding two- and three-letter namespace and interwiki aliases to avoid conflict with the space for language codes. Recommend WONTFIX.
Comment 23 JeLuF 2007-12-12 21:09:37 UTC
With wgNamespaceAliases set to 

|    'enwiki' => array(
|        'WP' => NS_PROJECT,
|    ),

I've started 

| $ php maintenance/namespaceDupes.php enwiki
| 
| Looks good!

I have expected that namespaceDupes tells me that it has to move all WP:* articles to the project namespace.
Comment 24 JeLuF 2007-12-12 22:14:41 UTC
Re: #23

User error. I edited the wrong InitialiseSettings.php. namespaceDupes.php seems to be working fine.
Comment 25 JeLuF 2007-12-12 22:49:55 UTC
Done.
Comment 26 Hesperian 2007-12-18 22:56:53 UTC
Out of curiosity, what will happen if The Spice Girls reform and release an album entitled "WP:POINT"? Will it be possible to create such a title in the main namespace?
Comment 27 shawnz 2007-12-18 23:15:21 UTC
(In reply to comment #26)
> Out of curiosity, what will happen if The Spice Girls reform and release an
> album entitled "WP:POINT"? Will it be possible to create such a title in the
> main namespace?
> 

you would have to name it WP_POINT and use {{Wrongtitle}}.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links