Difference between revisions of "Module:Progress box/config"

From blackwiki
Jump to navigation Jump to search
blackwiki>Mr. Stradivarius
(add purge link display)
blackwiki>Mr. Stradivarius
(add all-pages-category-link-display)
Line 30: Line 30:
 
-- $1: The undated category
 
-- $1: The undated category
 
['all-pages-category-format'] = 'All {{lcfirst:$1}}',
 
['all-pages-category-format'] = 'All {{lcfirst:$1}}',
 +
 +
-- Display text for the link to the category containing all the pages.
 +
['all-pages-category-link-display'] = 'All articles',
  
 
-- Display text for the purge link.
 
-- Display text for the purge link.

Revision as of 16:53, 15 May 2015

This module contains configuration data for Module:Progress box.


-- This module contains configuration data for [[Module:Progress box]].

return {

-- The date at which to start checking for existing categories, in YYYY-MM
-- format.
['start-date'] = '2005-03',

-- The format used for maintenance category dates. This should be input that is
-- valid for the #time parser function.
['date-format'] = 'F Y',

-- The format of dated maintenance categories for this wiki.
-- Parameters:
-- $1: the category base, e.g. "Articles to be split"
-- $2: the formatted date, e.g. "May 2015"
-- $3: preposition joining the category base and the date, e.g. "from"
-- $4: optional suffix
['dated-category-format'] = '$1 $3 $2 $4',

-- Default preoposition to use with the category-format message.
['dated-category-format-from'] = 'from',

-- Display text for the link to the undated articles category.
['undated-category-link-display'] = 'Undated articles',

-- The format of categories containing all pages for a particular maintenance
-- task. This message is preprocessed.
-- Parameters:
-- $1: The undated category
['all-pages-category-format'] = 'All {{lcfirst:$1}}',

-- Display text for the link to the category containing all the pages. 
['all-pages-category-link-display'] = 'All articles',

-- Display text for the purge link.
['purge-link-display'] = '(refresh)',

}