Merge "Added Linker::getInvalidTitleDescription() to display invalid title entries...
authorHashar <hashar@free.fr>
Tue, 8 May 2012 16:12:58 +0000 (16:12 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 8 May 2012 16:12:59 +0000 (16:12 +0000)
1  2 
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc

@@@ -1039,6 -1039,8 +1039,8 @@@ The reason given is "\'\'$2\'\'".'
  'filereadonlyerror'    => 'Unable to modify the file "$1" because the file repository "$2" is in read-only mode.
  
  The administrator who locked it offered this explanation: "$3".',
+ 'invalidtitle-knownnamespace'   => 'Invalid title with namespace "$2" and text "$3"',
+ 'invalidtitle-unknownnamespace' => 'Invalid title with unknown namespace number $1 and text "$2"',
  
  # Virus scanner
  'virus-badscanner'     => "Bad configuration: Unknown virus scanner: ''$1''",
@@@ -2347,7 -2349,6 +2349,7 @@@ For optimal security, img_auth.php is d
  'http-curl-error'       => 'Error fetching URL: $1',
  'http-host-unreachable' => 'Could not reach URL.',
  'http-bad-status'       => 'There was a problem during the HTTP request: $1 $2',
 +'http-truncated-body'   => 'The request body was only partially received.',
  
  # Some likely curl errors. More could be added from <http://curl.haxx.se/libcurl/c/libcurl-errors.html>
  'upload-curl-error6'       => 'Could not reach URL',
@@@ -683,6 -683,13 +683,13 @@@ $1 is a filename, I think.'
  'editinginterface' => "A message shown when editing pages in the namespace MediaWiki:. In the [http://translatewiki.net/wiki/Main_Page?setlang=en URL], '''change \"setlang=en\" to your own language code.'''",
  'ns-specialprotected' => 'Error message displayed when trying to edit a page in the Special namespace',
  'titleprotected' => 'Use $1 for GENDER.',
+ 'invalidtitle-knownnamespace' => 'Displayed when an invalid title was encountered (generally in a list), but the namespace number is known to exist.
+ * $1 is the namespace number
+ * $2 is the namespace name in content language or {{msg-mw|blanknamespace}} for the main namespace
+ * $3 is the part of the title after the namespace (e.g. SomeName for the page User:SomeName)',
+ 'invalidtitle-unknownnamespace' => 'Displayed when an invalid title was encountered (generally in a list) and the namespace number is unknown.
+ * $1 is the namespace number
+ * $2 is the part of the title after the namespace (e.g. SomeName for the page User:SomeName)',
  
  # Login and logout pages
  'logouttext' => 'Log out message',
@@@ -2016,7 -2023,6 +2023,7 @@@ Siebrand think this has to do with allo
  
  If \'scheme\' is difficult to translate, then you could use \'prefix\' instead.',
  'http-bad-status' => '$1 is an HTTP error code (e.g. 404), $2 is the HTTP error message (e.g. File Not Found)',
 +'http-truncated-body'   => 'Seems the connection closed prematurely. The HTTP response contained a Content-length greated than the received body.',
  
  'license' => 'This appears in the upload form for the license drop-down. The header in the file description page is now at {{msg-mw|License-header}}.',
  'nolicense' => '{{Identical|None selected}}',
@@@ -4429,8 -4435,7 +4436,8 @@@ This is being used in [[Special:Version
  'version-software-product' => 'Shown in [[Special:Version]]',
  'version-software-version' => '{{Identical|Version}}',
  'version-entrypoints' => 'Header on [[Special:Version]] above a table that lists the URLs of various entry points in this MediaWiki installation. Entry points are the "places" where the wiki\'s content and information can be accessed in various ways, for instance the standard index.php which shows normal pages, histories etc.',
 -'version-entrypoints-header-entrypoint' => 'Header for the first column in the entry points table on [[Special:Version]].',
 +'version-entrypoints-header-entrypoint' => 'Header for the first column in the entry points table on [[Special:Version]].
 +See also {{msg-mw|Version-entrypoints}}',
  'version-entrypoints-header-url' => 'Header for the second column in the entry points table on [[Special:Version]].',
  'version-entrypoints-articlepath' => 'A short description of the article path entry point. Links to the mediawiki.org documentation page for $wgArticlePath.',
  'version-entrypoints-scriptpath' => 'A short description of the script path entry point. Links to the mediawiki.org documentation page for $wgScriptPath.',
@@@ -408,7 -408,9 +408,9 @@@ $wgMessageStructure = array
                'customjsprotected',
                'ns-specialprotected',
                'titleprotected',
-               'filereadonlyerror'
+               'filereadonlyerror',
+               'invalidtitle-knownnamespace',
+               'invalidtitle-unknownnamespace',
        ),
        'virus' => array(
                'virus-badscanner',
                'http-curl-error',
                'http-host-unreachable',
                'http-bad-status',
 +              'http-truncated-body',
        ),
  
        'upload-curl-errors' => array(