Last modified: 2014-05-04 02:02:57 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 T62168, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60168 - Installer should encourage use of "Project" instead of "Same as the wiki name" option for project namespace
Installer should encourage use of "Project" instead of "Same as the wiki name...
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.23.0
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://upload.wikimedia.org/wikipedi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-17 16:14 UTC by Nathan Larson
Modified: 2014-05-04 02:02 UTC (History)
4 users (show)

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


Attachments

Description Nathan Larson 2014-01-17 16:14:58 UTC
The installer currently states, "Following Wikipedia's example, many wikis keep their policy pages separate from their content pages, in a 'project namespace'. All page titles in this namespace start with a certain prefix, which you can specify here. Usually, this prefix is derived from the name of the wiki, but it cannot contain punctuation characters such as '#' or ':'."

The radio button also currently defaults to the "Same as the wiki name" option. I think it should default to "Project" because that reduces problems related to conflicts between interwiki prefixes and namespaces when content is ported from one wiki to another. This recently happened on a couple wikis of mine; I ported a template from SuicideWiki to ChildWiki, and the project namespace links became interwiki links because SuicideWiki: was the project namespace on SuicideWiki and an interwiki prefix on ChildWiki. Had SuicideWiki's project namespace been "Project:" the ported template either would have either been fine or the link would have turned into a redlink and made the error obvious.

Another issue is that if you want to export project namespace content from one wiki to another, you can't do it unless you get rid of the conflicting interwiki link first. E.g., if I want to import SuicideWiki:Policy to another wiki, first I have to change the interwiki table to get rid of any conflicting suicidewiki: interwiki prefix or the importer will refuse to do it. It will say, e.g., "Page 'suicidewiki:Sandbox' is not imported because its name is reserved for external linking (interwiki)."

There would be no problem if the project namespace were named Project:. Therefore, I think we should encourage people to do that.
Comment 1 Chad H. 2014-01-17 16:18:15 UTC
I'd be opposed to this. The project namespace config works just fine and there's no reason to pretend it doesn't just to work around a shortcoming in the interwiki system.
Comment 2 Nathan Larson 2014-01-17 16:27:39 UTC
What is the specific shortcoming in the interwiki system you're talking about, and how would we fix it? Also, what is the advantage of encouraging wikis to use a project namespace name that's the same as the wiki name? I would think it would be more convenient to standardize it to Project: because then if you port content from one wiki to another that has links to Project: you don't need to do a find-and-replace to change, e.g. "FooWiki:Sandbox" to "BarWiki:Sandbox". It will just be "Project:Sandbox" on both wikis, and the imported page would fit right in.

We standardize the other namespace names (MediaWiki:, Template:, Help:, etc.) from one wiki to the next, so why not standardize Project: too?
Comment 3 Chad H. 2014-01-17 16:53:52 UTC
The whole thing is a shortcoming. I agree with Tim on list that we should kill them :)
Comment 4 Nathan Larson 2014-01-17 17:12:50 UTC
We're still awaiting an explanation of how, without interwikis, we'd handle mythical interwiki transcluding. Most of the other mythical use cases, such as interwiki page existence checking, merely require an API URL. [[mw:Requests for comment/New sites system]]

Even if we scrapped interwikis, though, it would still be slightly more convenient to have Project: be standardized for situations in which people want to import project namespace pages from other wikis. As it is, if I import FooWiki:Policy, it ends up in the mainspace of my local wiki, and I have to move it to Project:Policy. Also, any wikilinks to FooWiki: pages have to be edited to point to Project: (or BarWiki:) pages (or to be external links). The only advantage I can see to the current system would be if we WANTED those links to break when the pages are ported.

I guess if the interwiki prefixes were scrapped, one could make Wikipedia: be a namespace alias for Project:, and then the imported wikilinks wouldn't break.
Comment 5 Gerrit Notification Bot 2014-01-23 07:29:18 UTC
Change 109056 had a related patch set uploaded by leucosticte:
Make "Project" the default meta namespace

https://gerrit.wikimedia.org/r/109056
Comment 6 Nathan Larson 2014-01-29 04:27:29 UTC
(Responding to Brian Wolff's Gerrit code review comment "I'm not sure how I feel about this. Calling the project namespace after the wiki name is a pretty long established tradition")

Is the main concern that people will type in FooWiki:BarPage and be surprised to find that namespace doesn't exist? What are the main problems that might be caused?
Comment 7 Bawolff (Brian Wolff) 2014-01-29 04:31:38 UTC
My concern is more that this is changing the way something has been done for a very long time, which has somewhat become ingrained into the way mediawiki works, and I'm not sure the problem it is fixing justifies changing the behaviour (Also change is scary!).
Comment 8 Nathan Larson 2014-01-29 04:54:51 UTC
The change that Tim and Chad are talking about, of scrapping interwiki prefixes entirely, is even more radical (and therefore scarier). But if any change will be implemented, it seems to me that the least disruptive way of doing it is to make a change in the installer, because then one is not making a change to existing wikis. Of changes made to the installer, the least disruptive of those is to change the default option while still leaving the former default available.

An alternative way to introduce change would be for someone to go to [[Project:Village pump (proposals)]] and say, "Hey guys, why don't we all start using Project: as the project namespace prefix instead of Wikipedia:? Once all uses of Wikipedia: have been replaced, it'll be easier to make a case for retiring Wikipedia: entirely as a namespace prefix. Think how that would benefit third-party wikis that want to import our content!"

That proposal having been enthusiastically accepted and implemented, and similar proposals having been similarly enthusiastically accepted and implemented at other major wikis, it would be easier to make a case for changing the installer default.
Comment 9 Bawolff (Brian Wolff) 2014-01-29 05:00:19 UTC
(In reply to comment #8)

> 
> An alternative way to introduce change would be for someone to go to
> [[Project:Village pump (proposals)]] and say, "Hey guys, why don't we all
> start
> using Project: as the project namespace prefix instead of Wikipedia:? Once
> all
> uses of Wikipedia: have been replaced, it'll be easier to make a case for
> retiring Wikipedia: entirely as a namespace prefix. Think how that would
> benefit third-party wikis that want to import our content!"
> 
> That proposal having been enthusiastically accepted and implemented, and
> similar proposals having been similarly enthusiastically accepted and
> implemented at other major wikis, it would be easier to make a case for
> changing the installer default.

Regardless of whatever happens with the installer, I'm pretty sure we are not going to change the project namespace name on existing wikimedia wikis.
Comment 10 Nathan Larson 2014-01-29 05:15:25 UTC
Added link to [[mw:Media:ProjectDefaultNamespace.png]], illustrating what the new default looks like in the installer.
Comment 11 Nathan Larson 2014-02-07 23:15:16 UTC
Oh yeah, another advantage of calling it Project: is that if you ever change the name of the wiki, you don't have to worry about that namespace changing to a different name (which would require changing all the links to its pages). Mises Wiki is probably about to become Bastiat Wiki, as it changes hands from the Mises Institute to the Bastiat Institute. Similarly, Libertarian Wiki became Libertapedia. So many wikis are forked, or incorporated into larger wikis, or eventually change ownership, in the world of third party wikis, which can necessitate name changes.

Plus Project: is usually shorter than the name of the wiki, so that saves keystrokes.
Comment 12 Bawolff (Brian Wolff) 2014-02-07 23:24:23 UTC
Its trivial to add aliases in that case, or just keep the old name.

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


Navigation
Links