Help/PageList
Note: You are viewing an old revision of this page. View the current version.
The PageList library allows to list a number of pagenames, optionally as table with various columns.
This library relieves some work for these plugins:
- AllPages,
- BackLinks,
- LikePages,
- MostPopular,
- TitleSearch,
- WikiAdmin* and more.
It also allows dynamic expansion of those plugins to include more columns in their output.
Arguments
Argument |
Description |
Default value |
---|---|---|
info |
Which columns to display |
pagename |
exclude |
Which pages to exclude. Wildcards, comma-separated lists and <!plugin-list !> arrays allowed. |
none |
author |
Select pages by author; current user by [] |
false |
owner |
Select pages by owner; current user by [] |
false |
creator |
Select pages by creator; current user by [] |
false |
sortby |
Select column to sort |
none |
limit |
Number of rows, or start index and number of rows (see below) |
50 |
paging |
auto (top + bottom rows if applicable) |
auto |
cols |
side-by-side display of list (1-3) |
1 |
azhead |
1: group by initials |
0 |
comma |
Condensed comma-separated list, 1 if without links, 2 if with |
0 |
commasep |
Comma separator |
', ' |
listtype |
ul, ol, dl, comma |
ul |
ordered |
OL or just UL lists (ignored for comma) |
false |
linkmore |
If count > 0 and limit > 0, display a link with the number of all results, linked to the given pagename. |
none |
nopage |
for info=col omit the pagename column |
false |
Note for limit
limit can be:
- a single integer, in that case it is the number of rows;
- or two integers separated by a comma, in that case it is the start index (starting at 0) and the number of rows.
Info arguments
Column 'info=' arguments:
pagename | Page Name (string regex) |
---|---|
mtime | Last Modified |
hits | Hits |
summary | Last Summary |
version | Version |
author | Last Author |
locked | Locked |
external | External |
minor | Minor Edit |
size | Size |
creator | Creator |
owner | Owner |
checkbox | Selectable checkbox at the left |
content | Page content |
perm | Permission Mask |
acl | ACL |
Special, custom columns, either theme or plugin (WikiAdmin*) specific:
remove | Remove |
---|---|
renamed_pagename | Rename to |
ratingwidget | wikilens theme specific. |
custom | See plugin WikiTranslation |
Symbolic 'info=' arguments:
all | All columns except the special columns |
---|---|
most | pagename, mtime, author, hits |
some | pagename, mtime, author |