Testing DPL3: Difference between revisions
Clemens Radl (talk | contribs) No infoboxes = strange results? |
m Display dpl3 code |
||
| Line 9: | Line 9: | ||
Now, I want to use <code>includematch</code> to get a list of all mss. that have <code>colb</code> or <code>Colb</code> in the provenance entry (to find out, whether we prefer "Colbert" or "Colbertinus" or even the full form of the name). This works quite well, but strangely there are three mss in the results that have no matching entry. What is going on? One thing to note: all of the unexpected mss. don't have any infoboxes at all. | Now, I want to use <code>includematch</code> to get a list of all mss. that have <code>colb</code> or <code>Colb</code> in the provenance entry (to find out, whether we prefer "Colbert" or "Colbertinus" or even the full form of the name). This works quite well, but strangely there are three mss in the results that have no matching entry. What is going on? One thing to note: all of the unexpected mss. don't have any infoboxes at all. | ||
So this Code: | |||
<code><nowiki> | |||
<dpl> | |||
category=Manuscript | |||
ordermethod=sortkey | |||
include={Infobox manuscript}:provenance:normregion | |||
includematch = /provenance\s*=\s*[^|]*[Cc]olb[^|]*/s | |||
table=class="wikitable sortable",Manuscript,Provencance,Region | |||
count=3000 | |||
</dpl> | |||
</nowiki></code> | |||
produces this table: | |||
<dpl> | <dpl> | ||
Latest revision as of 17:49, 14 November 2025
Let's see what we can do here with the newly installed extension "DynamicPageList3". There is an extensive documentation about page selection, ordering, selection of content for each page. According to the documentation tabular output and selection of data from infoboxes is possible. We will see if this really works.
Strange: When I wanted to get a list of all mss. with some provenance entries (using includematch), it showed only manuscripts up to El Escorial. Some caching problem? NB: In the list of pages with category Manuscript El Escorial is around number 500. So I learnt that unless you add count=3000 (or something along these lines) the upper limit of the original SQL query will always be 500, regardless of what you have configured as the maxResultCount.
Now, I want to use includematch to get a list of all mss. that have colb or Colb in the provenance entry (to find out, whether we prefer "Colbert" or "Colbertinus" or even the full form of the name). This works quite well, but strangely there are three mss in the results that have no matching entry. What is going on? One thing to note: all of the unexpected mss. don't have any infoboxes at all.
So this Code:
<dpl>
category=Manuscript
ordermethod=sortkey
include={Infobox manuscript}:provenance:normregion
includematch = /provenance\s*=\s*[^|]*[Cc]olb[^|]*/s
table=class="wikitable sortable",Manuscript,Provencance,Region
count=3000
</dpl>
produces this table:
| Manuscript | Provencance | Region |
|---|---|---|
| London, Congregational Library, I b 14 | ||
| Paris, BnF, lat. 1452 | Le Puy Cathedral, Colbert | Southern France |
| Paris, BnF, lat. 1455 | Colbert | Eastern France |
| Paris, BnF, lat. 1568 | Biblioteca Colbertina, France | unknown |
| Paris, BnF, lat. 1711 | Colbert | Northern France |
| Paris, BnF, lat. 3836 | Colbert | Eastern France |
| Paris, BnF, lat. 3859 | Colbertinus | Western France |
| Paris, BnF, lat. 3895 | Colbertinus | Spain? |
| Paris, BnF, lat. 4280B | Colbertinus | Southern France |
| Paris, BnF, lat. 4637 | Jean-Baptiste Colbert (d. 1683) | unknown <-- manuscript cannot at present be categorized in one of our regions according to Categories for manuscripts by region. --> |
| Paris, BnF, lat. 4638 | according to Mordek: Pierre Pithou (1568); Jacques-Auguste de Thou (d. 1617); probably via de Menars to Jean-Baptiste Colbert (d. 1683) |
unknown <-- manuscript cannot at present be categorized in one of our regions according to Categories for manuscripts by region. --> |