Page MenuHomePhabricator

Load "wiki does not exist" page from Meta
Closed, ResolvedPublic

Description

Author: steinninn

Description:
This page comes up for many urls, usually because of a typo. I tried looking for it at http://meta.wikimedia.org/wiki/Www with no luck. Please put up a editable site where this can be kept up to date. You can see that it's long out dated with an old 9.11 project and others.


Version: unspecified
Severity: enhancement
URL: http://meta.wikimedia.org/wiki/Wikimedia_missing_site_template

Details

Reference
bz11125

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:52 PM
bzimport set Reference to bz11125.

*** This bug has been marked as a duplicate of bug 11146 ***

bugs wrote:

Not a duplicate, if anything, that bug is a duplicate of this one. (This bug also asks to create a page for this, many things need to be changed on that page, 911 is just one of them.) Also, I think bug 11146 is a duplicate of another.

steinninn wrote:

I might be wrong, but I think this url has something to do with it
http://66.230.200.100/

bugs wrote:

Renamed bug to match the <title></title> of the actual page.

bugs wrote:

*** Bug 11229 has been marked as a duplicate of this bug. ***

bugs wrote:

(In reply to comment #0)

This page comes up for many urls, usually because of a typo. I tried looking
for it at http://meta.wikimedia.org/wiki/Www with no luck. Please put up a
editable site where this can be kept up to date. You can see that it's long out
dated with an old 9.11 project and others.

This is actually a pretty good idea now that I think about it. That page definitely needs a revamp, it doesn't list all the Wikipedia langs (it seems to suggest it does), only lists another project as Wiktionary, and has old links (among other things). Instead of bothering the devs to design and update the page, it'd be better to just bug you to set it up just like www.XXX.org's.

steinninn wrote:

(In reply to comment #7)

This is actually a pretty good idea now that I think about it. That page
definitely needs a revamp, it doesn't list all the Wikipedia langs (it seems to
suggest it does), only lists another project as Wiktionary, and has old links
(among other things). Instead of bothering the devs to design and update the
page, it'd be better to just bug you to set it up just like www.XXX.org's.

I started one at http://meta.wikimedia.org/wiki/Www.66.230.200.100

Just create a protected meta page... Really...

bugs wrote:

(In reply to comment #8)

(In reply to comment #7)

This is actually a pretty good idea now that I think about it. That page
definitely needs a revamp, it doesn't list all the Wikipedia langs (it seems to
suggest it does), only lists another project as Wiktionary, and has old links
(among other things). Instead of bothering the devs to design and update the
page, it'd be better to just bug you to set it up just like www.XXX.org's.

I started one at http://meta.wikimedia.org/wiki/Www.66.230.200.100

Page protected & /temp created in preparation for this change. :-)

steinninn wrote:

(In reply to comment #10)

(In reply to comment #8)

(In reply to comment #7)

This is actually a pretty good idea now that I think about it. That page
definitely needs a revamp, it doesn't list all the Wikipedia langs (it seems to
suggest it does), only lists another project as Wiktionary, and has old links
(among other things). Instead of bothering the devs to design and update the
page, it'd be better to just bug you to set it up just like www.XXX.org's.

I started one at http://meta.wikimedia.org/wiki/Www.66.230.200.100

Page protected & /temp created in preparation for this change. :-)

Darn it, I created it at the wrong title, can you move it to Www.66.230.200.100 template to sync it with the other templates. Thanks

steinninn wrote:

(In reply to comment #9)

Just create a protected meta page... Really...

So, there is a protected meta page. What next?

bugs wrote:

(In reply to comment #12)

(In reply to comment #9)

Just create a protected meta page... Really...

So, there is a protected meta page. What next?

The developers need to agree to it and set it up...

/me takes bug and peeks over it

bugs wrote:

(In reply to comment #14)

/me takes bug and peeks over it

/me yays.

Moved the template to http://meta.wikimedia.org/wiki/Wikimedia_missing_site_template which is a more manageable title.

Tried to adapt extract2.php for use in the new missing.php, but it doesn't seem very happy. Since the missing-wiki info gets called up from the _middle_ of the MediaWiki config file, and then tries to load up the MediaWiki framework to load its template, it gets kind of confused. Probably falling into an infinite loop. :)

bugs wrote:

(In reply to comment #16)

Moved the template to
http://meta.wikimedia.org/wiki/Wikimedia_missing_site_template which is a more
manageable title.

Saw, sounds good. :-)

Tried to adapt extract2.php for use in the new missing.php, but it doesn't seem
very happy. Since the missing-wiki info gets called up from the _middle_ of the
MediaWiki config file, and then tries to load up the MediaWiki framework to
load its template, it gets kind of confused. Probably falling into an infinite
loop. :)

:-(

bugs wrote:

Because of the technical problem with the original request, can you just update the old wiki does not exist page with the new one http://meta.wikimedia.org/wiki/Wikimedia_missing_site_template?

Can this please be fixed? Surely it can't be that hard to do it, like comment 18.

Created attachment 5658
Screenshot of current godawful missing site page

Attached:

Picture_17.png (1×1 px, 462 KB)

Created attachment 5659
Screenshot of new, updated missing site page

Much prettier :) Updated from http://meta.wikimedia.org/w/index.php?title=Wikimedia_missing_site_template&oldid=1337335

I had to fix the style inclusions from the previous version; it was using old links to stylesheets that no longer function.

Attached:

Picture_18.png (1×1 px, 168 KB)

I also copied the missing.php file into SVN -- r45619 holds the update. It has to be pulled manually, though, a straight SVN up of MediaWiki won't pull it.

mike.lifeguard+bugs wrote:

(In reply to comment #16)

Tried to adapt extract2.php for use in the new missing.php, but it doesn't seem
very happy. Since the missing-wiki info gets called up from the _middle_ of the
MediaWiki config file, and then tries to load up the MediaWiki framework to
load its template, it gets kind of confused. Probably falling into an infinite
loop. :)

So then is more coding needed to make this work? I doubt repeatedly updating the page manually from Meta is an acceptable resolution here.

(In reply to comment #24)

Please update from
http://meta.wikimedia.org/wiki/Wikimedia_missing_site_template. I updated
Meta-Wiki logo.

I came here to note the meta-logo is out of date, only to find that it was fixed over four months ago, and just needs someone with developer access to copy code from one place to another. If that really takes that long to do, then I apologise for the interruption and will let you get back to it. If on the other hand it is as simple as it sounds, then consider this please a friendly reminder that it needs doing.

mike.lifeguard+bugs wrote:

(In reply to comment #25)

(In reply to comment #16)

Tried to adapt extract2.php for use in the new missing.php, but it doesn't seem
very happy. Since the missing-wiki info gets called up from the _middle_ of the
MediaWiki config file, and then tries to load up the MediaWiki framework to
load its template, it gets kind of confused. Probably falling into an infinite
loop. :)

So then is more coding needed to make this work? I doubt repeatedly updating
the page manually from Meta is an acceptable resolution here.

Seems this is the case. I've updated the summary (and removed 'shell' keyword) accordingly.

While we await a fix to this bug, could a server admin please update the missing site page from Meta [[meta:Wikimedia missing site template]]? It has recently been updated.

Now that Brion's gone, do we need a new assignee?

another cut and paste job done, since there is no auto-update mechanism atm

This will probably/hopefully be superseded by bug 30206.

Is the "wiki does not exist" page still visible anywhere since the resolution of bug 30206? If not this bug can be closed INVALID.

(In reply to comment #32)

Is the "wiki does not exist" page still visible anywhere since the resolution
of bug 30206? If not this bug can be closed INVALID.

There is only a static page for missing Wikiversities (e.g. aa.wikiversity.org), all others redirect to either the Incubator or the Multilingual Wikisource or, for broken wikimedia domains, to a page on Meta: https://meta.wikimedia.org/wiki/Missing_wiki
Feel free to close this bug if the current solution is fine.

WONTFIX

  1. There is an existing solution already
  2. The page should rather be static than editable on Meta
  3. The page is php script, not sure if pulling it from Meta would work, besides there might be security issues with that

FIXED:

There is an existing solution indeed. missing.php and extract2.php (both in wmf-config). extract2.php is also used for the Project portals [1]. Loading content from a wiki works just fine, we've been doing that for years. So this bug was just forgotten to be marked fixed.

More info about the implementation for missing wikis, see [2].

There are some host names mis-configured at the foundation that don't make use of this php script yet, however none of the hostnames are "missing wikis", but rather old unused hostnames for other services or recently added not-yet-configured hostnames. More about that, see bug 38013.

[1] https://meta.wikimedia.org/wiki/Project_portals
[2] https://meta.wikimedia.org/wiki/Project_portals#Special_case

Note:

  1. We've been loading *STATIC HTML* content for years, not PHP SCRIPTS.
  2. There IS existing and running PHP script for missing site (as I mentioned as the 1st point), which among other stuff does redirections to Incubator. (see e.g. https://be-x-old.wikiversity.org/ & https://be-x-old.wikisource.org/ & https://be-x-old.wikinews.org/ ) (see also bug 30206)
  3. Page [3] hasn't been used for ages.