Difference between revisions of "Test addcategories"
From FollowTheScore
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | {{Type Test |
+ | |parameter = addcategories | ||
+ | }} | ||
− | + | == show articles and their categories == | |
<pre><nowiki> | <pre><nowiki> | ||
<dpl> | <dpl> | ||
addcategories=true | addcategories=true | ||
− | titlematch=% | + | titlematch=%ma% |
</dpl> | </dpl> | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 12: | Line 14: | ||
<dpl> | <dpl> | ||
addcategories=true | addcategories=true | ||
− | titlematch=% | + | titlematch=%ma% |
</dpl> | </dpl> | ||
− | + | == show articles and their categories, grouped by categories == | |
− | + | The following report has a bug which depends on the version of MySQL you use. | |
<pre><nowiki> | <pre><nowiki> | ||
Line 25: | Line 27: | ||
ordermethod=category,sortkey | ordermethod=category,sortkey | ||
addcategories=true | addcategories=true | ||
− | titlematch=% | + | titlematch=%ma% |
</dpl> | </dpl> | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | For some strange reason in MySQL 4.x (running on this server) the result is too large: the identical SQL statement works correctly on MySQL 5.0; maybe the reason lies in the existence of the view which is needed to support uncategorized pages (this view is not present in this web site). | ||
+ | |||
+ | <pre><nowiki> | ||
+ | <dpl> | ||
+ | debug=3 | ||
+ | namespace= | ||
+ | headingmode=H4 | ||
+ | ordermethod=category,sortkey | ||
+ | addcategories=true | ||
+ | titlematch=%ma% | ||
+ | </dpl> | ||
+ | </nowiki></pre> | ||
+ | |||
+ | == show categories as plain text == | ||
<dpl> | <dpl> | ||
− | + | titlematch=Somalia | |
− | + | mode=userformat | |
− | |||
addcategories=true | addcategories=true | ||
− | + | listseparators=,\n* [[%PAGE%|%TITLE%]] %CATNAMES%, | |
+ | reset =links | ||
</dpl> | </dpl> |
Latest revision as of 11:48, 28 January 2008
Test | addcategories |
show articles and their categories
<dpl> addcategories=true titlematch=%ma% </dpl>
- Somalia . . Categories: African Union member states | Arab League | Divided regions | East Africa | Pages with broken file links | Somalia
- Somango . . Categories: English-speaking countries | Fictitious country
- Template:Linkedimage
- Category:Germany . . Categories: Countries
- Buloma . . Categories: Place
- Test date formatting . . Categories: Test
- Test matches . . Categories: Test
- Talk:Manual - DPL parameters: Controlling output format
- 2007/05/07 take wife out for movie -- Spiderman? . . Categories: Events
- 2007/06/05 Evenement maintenance . . Categories: Events
- 2007/05/31 Bladadadmam . . Categories: Events
- Test includematch . . Categories: Test
- DPL:Manual - DPL parameters: Controlling output format . . Categories: DPL Manual
- Wgraph:Commandline arguments . . Categories: Wgraph
- DPL talk:Manual - DPL parameters: Controlling output format
- MediaWiki:Noexactmatch
- 2007-09-28 my birthday; send me many gifts! . . Categories: Calendar Templates | Events
- File:Biocpackages readable.small.png
- Wgraph:Commands h
- Template:Wgraph Command
- Wgraph:Command Reference
- Wgraph:Commands a
- Template:Wgraph Command.default
- YYYY-10-03 National Holiday in Germany . . Categories: Events | Holiday
- YYYY-12-24 Christmas Eve . . Categories: Events
- Wgraph:Commands b
- Wgraph:Commands c
- Issue:Includematch parameter regexp issue . . Categories: Issue
- Wgraph:Commands f
- Wgraph:Commands e
- Wgraph:Commands i
- Wgraph:Commands o
- Wgraph:Commands g
- Wgraph:Commands d
- Wgraph:Commands k
- Wgraph:Commands l
- Wgraph:Commands m
- Wgraph:Demo manhattan edges
- Wgraph:Commands n
- Wgraph:Commands p
- Wgraph:Commands r
- Wgraph:Commands s
- Wgraph:Commands t
- Wgraph:Commands u
- Wgraph:Commands v
- Wgraph:Commands w
- Wgraph:Commands x
- Wgraph:Commands y
- Talk:Test includematch
- Germany . . Categories: Location
- 2007-12-25 Xmas Day . . Categories: Events
- Issue:%PAGES% doesn't respect includematch
- User:Hillgentleman
- Test matrix . . Categories: Test
- Test matrix2
- DPL:Manual - dplmatrix . . Categories: DPL Manual | Test
- User:Roc michael/dplmatrix study
- Template:ECP number maker . . Categories: ECP Register System
- Issue:Include option only in the main namespace ? . . Categories: Issue
- File:Googlemaps.gif
- Holzmaden
- Template:.cat make . . Categories: Class
- Template:.class summary
- Template:.obj data template make . . Categories: CLASS?
- Template:.obj intro make
- Template:.obj preload make
- Template:.prop mandatory
- :.prop mandatory
- Class Freshman . . Categories: Class
- :Has team mate
- Category:Freshman . . Categories: Class | Student
- Template:Has team mate
- Semantic MediaWiki with Property Clusters
- Semantic MediaWiki with Property Clusters (print version)
- Semantic MediaWiki with Property Clusters 1
- Semantic MediaWiki with Property Clusters 2
- Semantic MediaWiki with Property Clusters 3
- Semantic MediaWiki with Property Clusters 4
- Template:Part of master document
- Template:.obj intro Freshman
- Template:Freshman . . Categories: Freshman
- Template:.obj preload Freshman . . Categories: Freshman
- Template:Freshman.list
- Talk:Semantic MediaWiki with Property Clusters
- Issue:Imagelinks criteria . . Categories: Issue
- File:Imageused submission.zip
- Test imagecontainer . . Categories: Test
- Issue:Add a template in the pages automatically by DPL . . Categories: Issue
- Issue:Redirects=include fails with hashmark . . Categories: Issue
- Talk:Semantic MediaWiki with Property Clusters 1
- Talk:Test date formatting
- User:Marcusperman
- User talk:Marcusperman
- Issue:Problem with count & includematch . . Categories: Issue
- Issue:Namespace=Image breaks in MediaWiki 1.14RC . . Categories: Issue
- Issue:Timezone adjust not working with UserDateFormat . . Categories: Issue
- Issue:Edit summary . . Categories: Issue
- DPL Example 007 main page 1 . . Categories: DPL Example 007 main cat | Fictitious country
- DPL Example 007 main page 2 . . Categories: DPL Example 007 main cat
- Category:DPL Example 007 main cat
- Issue:Category:New format symbols: %PREV% and %NEXT% . . Categories: Issue
- Issue talk:Namespace=Image breaks in MediaWiki 1.14RC
- Template:Comma
- Issue:Firstrevisionsince excludes too many pages . . Categories: Issue
- User talk:Shinjiman
- Category:Test Images
- User:Subfader/Examples/Images used/Template
- User:Subfader/Examples/Images used
- User:Subfader/Examples/Images used/Template/Res
- Issue:Wanted: contentmatch . . Categories: Issue
- Issue:Categorymatch=with apostrophe . . Categories: Issue
- File:Flag of Somalia.svg
- Issue:Includematch does not filter results . . Categories: African Country | Issue
- Template:Googlemap.*.dpl
- Template:Goglemap.*.dpl.default
- Template:Goglemap.*.dpl
- Issue:Title-attribut sometimes doesn't work with magic words like PAGENAME . . Categories: Issue
- Issue:Selflink is clickable except when using userformat . . Categories: Issue
- Issue:Includematch with multiple pattern . . Categories: Issue
- User:Jan Steinman
- Issue:Notimageused . . Categories: Issue
- Issue:Magic word in titlematch is not escaped . . Categories: Issue
- Template:ActivitySummary
- Issue:Incorrect categorymatch . . Categories: Issue
- Issue:Undesired vertical bar inserted in userformat mode output. . . Categories: Issue
- Issue:List separator and format . . Categories: Issue
- Issue:%PAGE% not working in image link
- Issue:%PAGE% bug in image link . . Categories: Issue
- Issue:Wiki tags «gallery» not evaluated in format . . Categories: Issue
- User:Redekopmark
- User talk:Redekopmark
- Issue:"reset" and "eliminate" should also suppress magic words . . Categories: Issue
- Issue:Class 'Image' not found . . Categories: Issue
- Template:Citation/make link
- Template:Dated maintenance category
- Issue:Titlematch with ignorecase brings no results . . Categories: Issue
- User:Subfader/ignorecase titlematch
show articles and their categories, grouped by categories
The following report has a bug which depends on the version of MySQL you use.
<dpl> namespace= headingmode=H4 ordermethod=category,sortkey addcategories=true titlematch=%ma% </dpl>
For some strange reason in MySQL 4.x (running on this server) the result is too large: the identical SQL statement works correctly on MySQL 5.0; maybe the reason lies in the existence of the view which is needed to support uncategorized pages (this view is not present in this web site).
<dpl> debug=3 namespace= headingmode=H4 ordermethod=category,sortkey addcategories=true titlematch=%ma% </dpl>
show categories as plain text
- Somalia African Union member states, Arab League, Divided regions, East Africa, Pages with broken file links, Somalia