Extension:DynamicPageList2/Improvements and Changes
From MediaWiki.org
Contents |
[edit] Hack v0.7.7
Features:
- Linksto parameter
- Filtering on category headings (headingmode)
- Shows time and date (only date before this version)
- Support for magic words with (not)namespace and linksto parameters
- ordermethod=category,sortkey replaces 'category,title' and uses sortkeys from category tags to customize the order.
Other(s):
- No more warning when filters like 'namespace' or 'category' (or linksto) are not used.
[edit] Hack v0.7.1
Bugfix: bug 7361.
[edit] Hack v0.7.0
Feature(s):
- Can use 'category' param on the Uncategorized pages like a normal category.
[edit] Hack v0.6.4
Feature(s):
- New 'minoredits' parameter.
[edit] Hack v0.6.3
Features:
- New 'titlemaxlength' param. See Extension talk:DynamicPageList2#Limit_number_of_characters.
- i18n: using new plural form for 'categoryarticlecount' and 'headingarticlecount' messages
Bugfix:
- 'inline' mode can be used with inline text like it is supposed to. See Extension talk:DynamicPageList2#inlinetext.
Others:
- 'null' headingmode renamed to 'none' like for 'mode' param
[edit] Hack v0.6.2
Features:
- New parameters to add attributes to DPL-generated HTML elements: 'hitemattr' (to input attributes for html list items at the heading level), 'hlistattr' (same for the top html list element), 'itemattr' (same for sublist items or list items if no heading), 'listattr' (same for sublists or lists if no heading)
- Added newline chars at appropriate places to make the HTML output more human readable
[edit] Hack v0.6.1
Features:
- Replaced 'inlinesymbol' parameter with 'inlinetext', more generic: any wiki text can be used as inline text now, default changed to ' - ' (added enclosing spaces).
- Added warning message if an unknown parameter is used (and gives list of DPL parameters).
Bugfix:
- A param val can contain '=' (it is not chunked at second '=' if any).
[edit] Hack v0.6
Requires MediaWiki 1.7.1.
Features:
- Internationalization: added
DynamicPageList2.i18n.php - Complex 'ordermethod' values: 'category,firstedit', 'category,lastedit', 'category,pagetouched', 'category,title', 'user,firstedit', 'user,lastedit'
- 'categorymode' param replaced by 'headingmode', more general, e.g. not only for category headings but also for user headings (with new ordermethod=user,...), with 'H2', 'H3', 'H4' values replacing 'section', 'subsection', etc. and 'null' for no heading
- New extension variable to customize options:
$wgDPL2Options. - 'suppresserrors' param replaced by 'debug'= 0 to 3, with better debugging
- Improved error handling on parameters/options
Bugfixes:
- 'namespace' takes texts only (indices not allowed anymore) and pseudo-namespaces (negative indices, e.g. Media, Special) not allowed
$wgDPL2Min(Max)CategoryCounttakes all specified categories into account.
Others:
- Allowed DPL with no specified namespace/category.
- Optimization: uses LinkBatch/LinkCache to make good/bad links
- More comments in phpDocumentor format
[edit] Hack v0.5.1
Feature:
- Added 'notnamespace' parameter (lists pages that are not in specific namespace).
[edit] Hack v0.5
Tested on MediaWiki 1.6.7
Features:
- Added 'categorymode' option for output mode used with 'ordermethod=category' to render category items. Possible list modes: unordered, ordered, definition, section, subsection, etc.
Bugfixes:
- Fixed bug with global parser ('UNIQ????'-like errors)
Others:
- Renamed $wgDPL2MaxCategoryShortListResultCount to $wgDPL2CategoryStyleListCutoff.
[edit] Hack v0.4
Features:
- extension credit info (for
Special:Version) - support for Magic words in category names (with
categoryandnotcategoryparameters) - "ordermethod=category" (sort by category), "ordermethod=firstedit" (by creation date) and "ordermethod=pagetouched" differentiated from "ordermethod=lastedit".
- "mode=category" can be used with "ordermethod=category"
- "adduser" (resp. "addeditdate") adds author (resp. revision date) according to ordermethod=firstedit or lastedit
Bugfixes:
- Fixed bug with 'addfirstcategorydate=true'.
- Fixed bug: if 'addfirstcategorydate=true' and only one union of categories ('category= Category1|Category2|...), the 'firstcategorydate' was not added.
[edit] Hack v0.3.3
Features:
- possibility to add the date of the last change
- possibility to customize the symbol which is used for "ordermethod=inline"
Bugfixes:
- changed default ordermethod to "title" to fix a usabilitybug when ANDing multiple categories.
[edit] Hack v0.3.2
Features:
- Use the new Cache-Invalidation Trigger as described here: Extensions FAQ#How do I disable caching for pages using my extension?
Bugfixes:
- Eliminated a bug while using constructs like Cat1 AND Cat2
[edit] Hack v0.3.1
Bugfixes:
- Eliminated non-initialized variables
- works with DB prefixes now
[edit] Hack v0.3
New features:
- Possibility to use "inline" as Outputmode, this creates lists like "Item1 - Item2 - Item3".
Changes:
- No need for the DPL2UncachedPages Article anymore. Every article using DPL will unset it's cache automatically.
[edit] Hack v0.2.1
Bugfixes:
- Fixed a typo in the code which resulted in wrong queries in some configurations
[edit] Hack v0.2
New features:
- Possibility to use "old" DynamicPageList and DynamicPageList2 at the same time. The tag ist called DPL now
Changes:
- The tag you must use is <DPL> now
- The category/namespace separator is '|' now instead of ','.
- Page for uncached Sites ist DPL2UncachedPages now.
[edit] Hack v0.1
New features:
- combine categories using logical OR and AND:
category=1st,2nd,3rd
category=4th,5th
- means Articles have to be in (1st OR 2nd OR 3rd category) AND (4th OR 5th category)
- selecting several namespaces using namespace=1st,2nd,3rd... the result will have to be in namespace 1st OR namespace 2nd ...
- select articles just by namespace without using any categories
- sort by pagetitle (ordermethod=title)
- always invalidate cache on certain specified pages (kind of dirty hack, details: bugzilla:2282)
- output result categorypage-style (mode=category)
- removed a bug which made ordermethod=lastedit showing wrong results
- more logical, structured, beautiful and even smaller code :-)
Changes:
- removed the option $wgDLPMinResultCount in the code, because it made no sense to me. I don't understand how somebody should use an option 'MinResultCount' (you can delimit many results, but you can't increase results...)
- suppresserrors=true now only suppresses errors about no results, every other error will be shown
- If you don't use categories or use more than one category and use the options 'addfirstcategorydate=true' or 'ordermethod=categoryadd' an error message appears.
