Gamepedia Help Wiki
m (add a note for historical reference; also minor changes)
m (→‎Transclusion: the issue doesn't exist anymore and transclusion is no longer deactivated)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
   
 
== Transclusion ==
 
== Transclusion ==
  +
This special page can be [[Templates#Basic transclusion|transcluded]], with the first unnamed parameter specifying how many entries should be displayed.
Please note that [[transclusion]] of special pages, including Special:NewPages, is disabled on Gamepedia due to technical issues. Specifically, the issue was that any user visiting a page on which a special page is transcluded would be logged out.
 
  +
  +
:<code><nowiki>{{Special:NewPages/50}}</nowiki></code>
  +
  +
Additional parameters may be used in a comma separated list such as:
  +
  +
:<code><nowiki>{{Special:NewPages/limit=5,shownav,offset=20210301,namespace=Template}}</nowiki></code>
  +
  +
  +
{| class="wikitable"
  +
! 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 [[namespaces|namespace]]
  +
|-
  +
| ''hideliu'' || || Hide logged in users (LIU)
  +
|-
  +
| ''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 />
  +
"(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]
  +
|}
   
 
[[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]]

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