Merge "Bug 38450 Reimplement MediaWiki's info action"
authorReedy <reedy@wikimedia.org>
Sun, 19 Aug 2012 20:33:00 +0000 (20:33 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 19 Aug 2012 20:33:00 +0000 (20:33 +0000)
1  2 
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc

@@@ -2794,8 -2794,6 +2794,8 @@@ There may be [[{{MediaWiki:Listgrouprig
  'mailnologin'          => 'No send address',
  'mailnologintext'      => 'You must be [[Special:UserLogin|logged in]] and have a valid e-mail address in your [[Special:Preferences|preferences]] to send e-mail to other users.',
  'emailuser'            => 'E-mail this user',
 +'emailuser-title-target' => 'E-mail this {{GENDER:$1|user}}',
 +'emailuser-title-notarget' => 'E-mail user',
  'emailuser-summary'    => '', # do not translate or duplicate this message to other languages
  'emailpage'            => 'E-mail user',
  'emailpagetext'        => 'You can use the form below to send an e-mail message to this user.
@@@ -3732,17 -3730,34 +3732,34 @@@ This is probably caused by a link to a 
  'spam_deleting'       => 'All revisions contained links to $1, deleting',
  
  # Info page
- 'pageinfo-title'            => 'Information for "$1"',
- 'pageinfo-header-edits'     => 'Edits',
- 'pageinfo-header-watchlist' => 'Watchlist',
- 'pageinfo-header-views'     => 'Views',
- 'pageinfo-subjectpage'      => 'Page',
- 'pageinfo-talkpage'         => 'Talk page',
- 'pageinfo-watchers'         => 'Number of watchers',
- 'pageinfo-edits'            => 'Number of edits',
- 'pageinfo-authors'          => 'Number of distinct authors',
- 'pageinfo-views'            => 'Number of views',
- 'pageinfo-viewsperedit'     => 'Views per edit',
+ 'pageinfo-title'               => 'Information for "$1"',
+ 'pageinfo-header-basic'        => 'Basic information',
+ 'pageinfo-header-edits'        => 'Edit history',
+ 'pageinfo-header-restrictions' => 'Page protection',
+ 'pageinfo-header-properties'   => 'Page properties',
+ 'pageinfo-display-title'       => 'Display title',
+ 'pageinfo-default-sort'        => 'Default sort key',
+ 'pageinfo-length'              => 'Page length (in bytes)',
+ 'pageinfo-article-id'          => 'Page ID',
+ 'pageinfo-robot-policy'        => 'Search engine status',
+ 'pageinfo-views'               => 'Number of views',
+ 'pageinfo-watchers'            => 'Number of page watchers',
+ 'pageinfo-redirects-name'      => 'Redirects to this page',
+ 'pageinfo-redirects-value'     => '$1',
+ 'pageinfo-subpages-name'       => 'Subpages of this page',
+ 'pageinfo-subpages-value'      => '$1 ($2 {{PLURAL:$2|redirect|redirects}}; $3 {{PLURAL:$3|non-redirect|non-redirects}})',
+ 'pageinfo-firstuser'           => 'Page creator',
+ 'pageinfo-firsttime'           => 'Date of page creation',
+ 'pageinfo-lastuser'            => 'Latest editor',
+ 'pageinfo-lasttime'            => 'Date of latest edit',
+ 'pageinfo-edits'               => 'Total number of edits',
+ 'pageinfo-authors'             => 'Total number of distinct authors',
+ 'pageinfo-recent-edits'        => 'Recent number of edits (within past $1)',
+ 'pageinfo-recent-authors'      => 'Recent number of distinct authors',
+ 'pageinfo-restriction'         => 'Page protection ($1)',
+ 'pageinfo-magic-words'         => 'Magic words ($1)',
+ 'pageinfo-hidden-categories'   => 'Hidden categories ($1)',
+ 'pageinfo-templates'           => 'Transcluded {{PLURAL:$1|template|templates}} ($1)',
  
  # Skin names
  'skinname-standard'    => 'Classic', # only translate this message to other languages if you have to change it
@@@ -2593,16 -2593,12 +2593,16 @@@ See also {{msg-mw|listgrouprights-addgr
  * $2 is the number of group names in $1.',
  
  # E-mail user
 -'emailuser' => 'Link in the sidebar and title of [[Special:EmailUser|special page]]',
 +'emailuser' => 'Link in the sidebar to send an e-mail to a user.',
 +'emailuser-title-target' => 'Title of [[Special:EmailUser|special page]] when a user was given to e-mail. Parameters:
 +* $1 is a plain text username, used for GENDER.',
 +'emailuser-title-notarget' => 'Title of [[Special:EmailUser|special page]] when no user given to e-mail yet',
  'emailpage' => "Title of special page [[Special:EmailUser]], when it is the destination of the sidebar link {{msg-mw|Emailuser}} on a user's page.",
  'emailpagetext' => 'This is the text that is displayed above the e-mail form on [[Special:EmailUser]].
  
  Special:EmailUser appears when you click on the link "E-mail this user" in the sidebar, but only if there is an e-mail address in the recipient\'s user preferences. If there isn\'t then the message [[Mediawiki:Noemailtext]] will appear instead of Special:EmailUser.',
 -'defemailsubject' => 'The default subject of EmailUser emails.  The first parameter is the username of the user sending the email.',
 +'defemailsubject' => 'The default subject of EmailUser emails. Parameters:
 +* $1 is the username of the user sending the email and can be used for GENDER.',
  'usermaildisabled' => 'Caption for an error message ({{msg-mw|Usermaildisabledtext}}) shown when the user-to-user e-mail feature is disabled on the wiki (see [[mw:Manual:$wgEnableEmail]], [[mw:Manual:$wgEnableUserEmail]]).',
  'noemailtitle' => 'The title of the message that appears instead of Special:EmailUser after clicking the "E-mail this user" link in the sidebar, if no e-mail can be sent to the user.',
  'noemailtext' => 'The text of the message that appears in [[Special:EmailUser]] after clicking the "E-mail this user" link in the sidebar, if no e-mail can be sent to the user because he has not specified or not confirmed an e-mail address.',
@@@ -3451,17 -3447,43 +3451,43 @@@ See also {{msg-mw|Anonuser}} and {{msg-
  * $1 is a spammed domain name.',
  
  # Info page
- 'pageinfo-title' => 'Page title for action=info.
+ 'pageinfo-title' => 'Page title for action=info. Parameters:
  * $1 is the page name',
- 'pageinfo-header-edits' => 'Table section header in action=info.
- {{Identical|Edit}}',
- 'pageinfo-header-watchlist' => 'Table section header in action=info.',
- 'pageinfo-header-views' => 'Table section header in action=info.
- {{Identical|View}}',
- 'pageinfo-subjectpage' => 'Table header in action=info.
- {{Identical|Page}}',
- 'pageinfo-talkpage' => 'Table header in action=info.',
+ 'pageinfo-header-basic' => 'Table section header in action=info.',
+ 'pageinfo-header-edits' => 'Table section header in action=info.',
+ 'pageinfo-header-restrictions' => 'Table section header in action=info.',
+ 'pageinfo-header-properties' => 'Table section header in action=info.',
+ 'pageinfo-display-title' => 'The title that is displayed when the page is viewed.',
+ 'pageinfo-default-sort' => 'The key by which the page is sorted in categories by default.',
+ 'pageinfo-length' => 'The length of the page, in bytes.',
+ 'pageinfo-article-id' => 'The numeric identifier of the page.',
+ 'pageinfo-robot-policy' => 'The search engine status of the page.',
+ 'pageinfo-views' => 'The number of times the page has been viewed.',
+ 'pageinfo-watchers' => 'The number of users watching the page.',
+ 'pageinfo-redirects-name' => 'The number of redirects to the page.',
+ 'pageinfo-redirects-value' => 'Parameters:
+ * $1 is the number of redirects to the page.',
+ 'pageinfo-subpages-name' => 'The number of subpages of the page.',
+ 'pageinfo-subpages-value' => 'Parameters:
+ * $1 is the number of subpages of the page.
+ * $2 is the number of subpages of the page that are redirects.
+ * $3 is the number of subpages of the page that are not redirects.',
+ 'pageinfo-firstuser' => 'The user who created the page.',
+ 'pageinfo-firsttime' => 'The date and time the page was created.',
+ 'pageinfo-lastuser' => 'The last user who edited the page.',
+ 'pageinfo-lasttime' => 'The date and time the page was last edited.',
+ 'pageinfo-edits' => 'The total number of times the page has been edited.',
+ 'pageinfo-authors' => 'The total number of users who have edited the page.',
+ 'pageinfo-recent-edits' => 'The number of times the page has been edited recently.',
+ 'pageinfo-recent-authors' => 'The number of users who have edited the page recently.',
+ 'pageinfo-restriction' => 'Parameters:
+ * $1 is the type of page protection.',
+ 'pageinfo-magic-words' => 'The list of magic words on the page. Parameters:
+ * $1 is the number of magic words on the page.',
+ 'pageinfo-hidden-categories' => 'The list of hidden categories on the page. Parameters:
+ * $1 is the number of hidden categories on the page.',
+ 'pageinfo-templates' => 'The list of templates transcluded within the page. Parameters:
+ * $1 is the number of templates transcluded within the page.',
  
  # Skin names
  'skinname-standard' => '{{optional}}
@@@ -1861,8 -1861,6 +1861,8 @@@ $wgMessageStructure = array
                'mailnologin',
                'mailnologintext',
                'emailuser',
 +              'emailuser-title-target',
 +              'emailuser-title-notarget',
                'emailuser-summary',
                'emailpage',
                'emailpagetext',
        ),
        'info' => array(
                'pageinfo-title',
+               'pageinfo-header-basic',
                'pageinfo-header-edits',
-               'pageinfo-header-watchlist',
-               'pageinfo-header-views',
-               'pageinfo-subjectpage',
-               'pageinfo-talkpage',
+               'pageinfo-header-restrictions',
+               'pageinfo-header-properties',
+               'pageinfo-display-title',
+               'pageinfo-default-sort',
+               'pageinfo-length',
+               'pageinfo-article-id',
+               'pageinfo-robot-policy',
+               'pageinfo-views',
                'pageinfo-watchers',
+               'pageinfo-redirects-name',
+               'pageinfo-redirects-value',
+               'pageinfo-subpages-name',
+               'pageinfo-subpages-value',
+               'pageinfo-firstuser',
+               'pageinfo-firsttime',
+               'pageinfo-lastuser',
+               'pageinfo-lasttime',
                'pageinfo-edits',
                'pageinfo-authors',
-               'pageinfo-views',
-               'pageinfo-viewsperedit',
+               'pageinfo-recent-edits',
+               'pageinfo-recent-authors',
+               'pageinfo-restriction',
+               'pageinfo-magic-words',
+               'pageinfo-hidden-categories',
+               'pageinfo-templates',
        ),
        'skin' => array(
                'skinname-standard',