Short description

Currently we tell for not found of a wikinstance of a farm

No wiki configuration matching the URL found!

For a non tech user this is difficult to understand because he does not know what a farm of wikis is, He may wonder why the url tells this instead of showing the page creation dialog.

At least he should get a page shown where he can find valid instances. For example:

   1 diff -r 203afc609f8a MoinMoin/web/contexts.py
   2 --- a/MoinMoin/web/contexts.py  Mon May 24 10:43:08 2010 +0200
   3 +++ b/MoinMoin/web/contexts.py  Fri May 28 23:40:11 2010 +0200
   4 @@ -129,7 +129,8 @@
   5              self.clock.stop('load_multi_cfg')
   6              return cfg
   7          except error.NoConfigMatchedError:
   8 -            raise NotFound('<p>No wiki configuration matching the URL found!</p>')
   9 +            fallback_page = 'You may want to visit your <a href="/InterWikiMap">InterWikiMap</a> page.'
  10 +            raise NotFound('<p>No wiki configuration matching the URL found!</p> %s' % fallback_page)
  11      cfg = EnvironProxy(cfg)
  12  
  13      def getText(self):

/!\ Patch doesn't solve problem.

/!\ Also, it isn't clear why this "problem" should be handled at all. If a user visits some invalid url on some web server, he usually just gets "404 Not found" and the usual way to deal with this is to fix the url (find typo, visit some place with links to wanted resource, ask someone, ...).


CategoryFeatureRequest

MoinMoin: FeatureRequest/LinkToAPageOnNotExistingWikiOnAFarm (last edited 2010-05-29 09:17:07 by ThomasWaldmann)