User:Annew/DPL: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
Line 1: Line 1:
:Reference: [http://semeb.com/dpldemo/index.php?title=DPL:Manual DPL Manual]
:Reference: [http://semeb.com/dpldemo/index.php?title=DPL:Manual DPL Manual]
:See also [[http://userbase.kde.org/User:Pipesmoker/Dynamic_Page_Lists|Pipesmoker's notes]]
:See also [[User:Pipesmoker/Dynamic_Page_Lists|Pipesmoker's notes]]


==To count translated pages in a specific language:==
==To count translated pages in a specific language:==
Line 65: Line 65:
   resultsheader = There are %TOTALPAGES% pages (partly) remaining in old-style translations. These are:\n
   resultsheader = There are %TOTALPAGES% pages (partly) remaining in old-style translations. These are:\n
</DPL>
</DPL>
==Pages with old i18n bar==
{{Input|1=<nowiki><DPL>
  titlematch = %
  namespace = Main
  includematch = Template:I18n/Language Navigation Bar
  columns = 3
  format = ,\n* [[%PAGE%|%TITLE%]],,
  resultsheader = There are %TOTALPAGES% pages that still display the old i18n language bar
</DPL></nowiki>}}
<DPL>
  titlematch = %
  namespace = Main
  includematch = Template:I18n/Language Navigation Bar
  columns = 3
  format = ,\n* [[%PAGE%|%TITLE%]],,
  resultsheader = There are %TOTALPAGES% pages that still display the old i18n language bar
</DPL>
{{Note|1= Why doesn't this produce 3 columns?}}
{{Note|1= Is <nowiki>"|valign=top|"</nowiki> related to this?}}

Revision as of 10:42, 10 January 2011

Reference: DPL Manual
See also Pipesmoker's notes

To count translated pages in a specific language:

<DPL>
  titlematch = %/bg
  notnamespace = Translations
  columns = 3
  format = ,\n* [[%PAGE%|%TITLE%]],,
  resultsheader = There are %TOTALPAGES% pages (partly) translated to Bulgarian. These are:\n
</DPL>

There are 43 pages (partly) translated to Bulgarian. These are:


Kopete Subpages in 3 columns

<DPL>
  titlematch = Kopete/%
  notnamespace = Translations
  columns = 3
  format = ,\n* [[%PAGE%|%TITLE%]],,
</DPL>

Akonadi Subpages in Danish

<DPL>
  titlematch = Akonadi%/da
  notnamespace = Translations
  format = ,\n* [[%PAGE%|%TITLE%]],,
</DPL>

Remaining old-style translations

<DPL>
  titlematch = %_(%)
  notnamespace = Translations
  columns = 3
  format = ,\n* [[%PAGE%|%TITLE%]],,
  resultsheader = There are %TOTALPAGES% pages (partly) remaining in old-style translations. These are:\n
</DPL>

There are 1069 pages (partly) remaining in old-style translations. These are:

Pages with old i18n bar

<DPL>
  titlematch = %
  namespace = Main
  includematch = Template:I18n/Language Navigation Bar
  columns = 3
  format = ,\n* [[%PAGE%|%TITLE%]],,
  resultsheader = There are %TOTALPAGES% pages that still display the old i18n language bar
</DPL>

There are 170686 pages that still display the old i18n language bar

Note

Why doesn't this produce 3 columns?

Note

Is "|valign=top|" related to this?