Don't re-use allinnamespace as the header for special:prefixindex. instead introduce new message prefixindex-namespace
Hopefully directly editing MessagesQqq.php like I did is ok... I can never remember if i'm supposed to do that, or if it will just be overridden on next translatewiki export.
This commit is contained in:
parent
5d43d6c1f2
commit
4fbaeb946c
5 changed files with 7 additions and 2 deletions
|
|
@ -187,6 +187,8 @@ production.
|
|||
with .xxx causes Internal error
|
||||
* Warning about undefined index in certain situations when $wgLogRestrictions
|
||||
causes the first log type requested to be removed but not the others
|
||||
* Use separate message ('prefixindex-namespace') for title of
|
||||
Special:PrefixIndex rather then re-using Special:AllPages's allinnamespace
|
||||
|
||||
=== API changes in 1.19 ===
|
||||
* (bug 19838) siprop=interwikimap can now use the interwiki cache.
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ class SpecialPrefixindex extends SpecialAllpages {
|
|||
$namespaces = $wgContLang->getNamespaces();
|
||||
$out->setPageTitle(
|
||||
( $namespace > 0 && in_array( $namespace, array_keys( $namespaces ) ) )
|
||||
? $this->msg( 'allinnamespace', str_replace( '_', ' ', $namespaces[$namespace] ) )
|
||||
? $this->msg( 'prefixindex-namespace', str_replace( '_', ' ', $namespaces[$namespace] ) )
|
||||
: $this->msg( 'prefixindex' )
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -2545,6 +2545,7 @@ It now redirects to [[$2]].',
|
|||
'mostrevisions' => 'Pages with the most revisions',
|
||||
'mostrevisions-summary' => '', # do not translate or duplicate this message to other languages
|
||||
'prefixindex' => 'All pages with prefix',
|
||||
'prefixindex-namespace' => 'All pages with prefix ($1 namespace)',
|
||||
'prefixindex-summary' => '', # do not translate or duplicate this message to other languages
|
||||
'shortpages' => 'Short pages',
|
||||
'shortpages-summary' => '', # do not translate or duplicate this message to other languages
|
||||
|
|
|
|||
|
|
@ -2177,6 +2177,7 @@ $1 is a page title",
|
|||
'mostimages' => 'Name of special page displayed in [[Special:SpecialPages]]',
|
||||
'mostrevisions' => 'Name of special page displayed in [[Special:SpecialPages]]',
|
||||
'prefixindex' => 'The page title of [[Special:PrefixIndex]]. When the user limits the list to a certain namespace, {{msg-mw|allinnamespace}} is used instead.',
|
||||
'prefixindex-namespace' => 'The page title of [[Special:PrefixIndex]] limited to a specific namespace. Similar to {{msg-mw|allinnamespace}}. $1 is the name of the namespace',
|
||||
'shortpages' => 'Name of special page displayed in [[Special:SpecialPages]]',
|
||||
'longpages' => 'Name of special page displayed in [[Special:SpecialPages]]',
|
||||
'deadendpages' => 'Name of special page displayed in [[Special:SpecialPages]]',
|
||||
|
|
@ -2250,7 +2251,7 @@ The title is {{msg-mw|nopagetitle}}.',
|
|||
'allarticles' => 'The page title of [[Special:Allpages]]. When the user limit the list to a certain namespace, {{msg-mw|allinnamespace}} is used instead.
|
||||
|
||||
{{Identical|All pages}}',
|
||||
'allinnamespace' => 'The page title of [[Special:Allpages]] and [[Special:PrefixIndex]], when the user limits the display to a certain namespace. When not limited, {{msg-mw|allarticles}} and {{msg-mw|prefixindex}} is used respectively.
|
||||
'allinnamespace' => 'The page title of [[Special:Allpages]], when the user limits the display to a certain namespace. When not limited, {{msg-mw|allarticles}} is used respectively.
|
||||
|
||||
{{Identical|All pages}}',
|
||||
'allnotinnamespace' => 'Presumably intended to be used as a page title of [[Special:Allpages]] and probably also in [[Special:PrefixIndex]] when the user limit the display to other than a certain namespace.
|
||||
|
|
|
|||
|
|
@ -1645,6 +1645,7 @@ $wgMessageStructure = array(
|
|||
'mostrevisions',
|
||||
'mostrevisions-summary',
|
||||
'prefixindex',
|
||||
'prefixindex-namespace',
|
||||
'prefixindex-summary',
|
||||
'shortpages',
|
||||
'shortpages-summary',
|
||||
|
|
|
|||
Loading…
Reference in a new issue