m (→‎Transclusion: Punctuation)
m (→‎Transclusion: the issue doesn't exist anymore and transclusion is no longer deactivated)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''New pages''' is a [[Special pages|special page]] that lists recently created pages in reverse order of creation, with creation date and time, current size, user who created the page, and first edit summary. It also provides links to [[Patrolled edits|patrol]] these new pages when that feature is enabled.
+
'''New pages''' is a [[special page]] that lists recently created pages in reverse order of creation, with creation date and time, current size, user who created the page, and first edit summary. It also provides links to [[Patrolled edits|patrol]] these new pages when that feature is enabled.
   
This feature is accessible at [[Special:NewPages]]. The page results are not adjustable in the [[Preferences]].
+
This feature is accessible at [[Special:NewPages]]. The page results are not adjustable in the [[preferences]].
   
The ability to filter by user was added in [https://bugzilla.wikimedia.org/show_bug.cgi?id=6448 bugzilla:6448].
+
The ability to filter by user was added as part of [https://phabricator.wikimedia.org/T8448 Phabricator task T8448].
   
 
== Transclusion ==
 
== Transclusion ==
This special page can be [[Templates|transcluded]], with the first unnamed parameter specifying how many entries should be displayed.
+
This special page can be [[Templates#Basic transclusion|transcluded]], with the first unnamed parameter specifying how many entries should be displayed.
   
:<nowiki>{{Special:NewPages/50}}</nowiki>
+
:<code><nowiki>{{Special:NewPages/50}}</nowiki></code>
   
 
Additional parameters may be used in a comma separated list such as:
 
Additional parameters may be used in a comma separated list such as:
   
:<nowiki>{{Special:Newpages/limit=5,shownav,offset=20081210,namespace=Template}}</nowiki>
+
:<code><nowiki>{{Special:NewPages/limit=5,shownav,offset=20210301,namespace=Template}}</nowiki></code>
   
  +
{|class="sortable wikitable"
+
{| class="wikitable"
!parameter!!value type!!description
+
! parameter !! value type !! description
  +
|-
 
| ''limit'' || integer || Number of entries to display
 
|-
 
|-
 
| ''offset'' || date || Date to begin the list of entries
|limit||integer||Number of entries to display
 
 
|-
 
|-
 
| ''namespace''|| string || Restrict the results to the named [[namespaces|namespace]]
|offset||date||Date to begin the list of entries
 
 
|-
 
|-
 
| ''hideliu'' || || Hide logged in users (LIU)
|namespace||string|| Restrict the results to the named [[Namespaces|namespace]]
 
 
|-
 
|-
 
| ''hidepatrolled'' || || Only show pages which have not been [[patrolled edits|patrolled]]
|hideliu|| || Hide logged in users (LIU)
 
 
|-
 
|-
  +
| ''hidebots'' || || Hide [[Bots]]
|hidepatrolled|| ||Only show pages which have not been [[Patrolled edits|patrolled]]
 
 
|-
 
|-
|hidebots|| || Hide [[Bots]]
+
| ''showredirs'' || || Show [[Redirects]]
 
|-
 
|-
 
| ''shownav'' || || Display result navigation links above and beneath the results, i.e.:<br />
|showredirs|| || Show [[Redirects]]
 
  +
"(newest &#124; oldest) View (newer 5 &#124; older 5) (20 &#124; 50 &#124; 100 &#124; 250 &#124; 500)"
 
|-
 
|-
  +
| ''username'' || || Restrict the results to the named user.<br />(From version 1.14) [https://phabricator.wikimedia.org/rSVN45468 r45468]
|shownav|| ||Display result navigation links above and beneath the results, i.e,<br>"(Latest &#124; Earliest) View (newer 5) (older 5) (20 &#124; 50 &#124; 100 &#124; 250 &#124; 500)"
 
 
|}
 
|}
   
 
[[Category:Help]]
 
[[Category:Help]]
   
  +
[[cs:Nejnovější stránky]]
  +
[[de:Neue Seiten]]
 
[[fr:Nouvelles pages]]
 
[[fr:Nouvelles pages]]
 
[[pl:Pomoc:Nowe strony]]
 
[[pl:Pomoc:Nowe strony]]
 
[[pt:Novas páginas]]
 
[[pt:Novas páginas]]
  +
[[tr:Yeni sayfalar]]

Latest revision as of 20:47, 12 March 2021

New pages is a special page that lists recently created pages in reverse order of creation, with creation date and time, current size, user who created the page, and first edit summary. It also provides links to patrol these new pages when that feature is enabled.

This feature is accessible at Special:NewPages. The page results are not adjustable in the preferences.

The ability to filter by user was added as part of Phabricator task T8448.

Transclusion

This special page can be transcluded, with the first unnamed parameter specifying how many entries should be displayed.

{{Special:NewPages/50}}

Additional parameters may be used in a comma separated list such as:

{{Special:NewPages/limit=5,shownav,offset=20210301,namespace=Template}}


parameter value type description
limit integer Number of entries to display
offset date Date to begin the list of entries
namespace string Restrict the results to the named namespace
hideliu Hide logged in users (LIU)
hidepatrolled Only show pages which have not been patrolled
hidebots Hide Bots
showredirs Show Redirects
shownav Display result navigation links above and beneath the results, i.e.:

"(newest | oldest) View (newer 5 | older 5) (20 | 50 | 100 | 250 | 500)"

username Restrict the results to the named user.
(From version 1.14) r45468
Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.