User:Dispenser/Checklinks/config
{{User:Dispenser/Checklinks/config}} instructs the Checklinks tool how refresh the caches pages on which it is transcluded. The listing is compiled into a report. Logs are found at http://dispenser.info.tm/~dispenser/logs/.
All parameters
<!-- See [[User:Dispenser/Checklinks/config/doc]] for setup instructions -->
{{User:Dispenser/Checklinks/config
| interval = daily/weekly/fortnightly/monthly/quarterly
| generator = auto/heading/list/bold/all/regex
| htmlregex = (?P<page>...)
| convert = subject/talk/none
| namespaces= 0, 100
| title = Report link title (optional)
}}
- The reports are found at http://toolserver.org/~dispenser/summary/PAGENAMEE; where PAGENAMEE is the underscore name of the target page without the namespace.
Parameters
- convert
- Convert pages to their corresponding subject (default) or talk pages. Possible values are
talk,subject, andNone. - generator
- Specify the method to generate links. If the template is placed on a category it will check the pages and sub-category pages listed there. Possible values are:
auto(default)- test the options in the order below, if valid it will be used as the generator.
heading- Links that are contained in headings. (e.g.
==[[Link]]==) list- Links that are contained in both ordered and unordered lists. (e.g.
* [[Link]]and# [[Link]]) bold- links that are in bold. (e.g.
[[link|'''title''']]) all- Link on the page including those that are transcluded.
- Note: Links do not need to be in the wikitext of the page, they can be transcluded from other pages.
- htmlregex
- If used override the generator; specifies the regular expression for title from the HTML in a page. Title are captured from "page" group, e.g.
(?P<page>...). See Python Library Reference Regular Expression Syntax. Simple examples:- Normal links:
<a href="https://profilpelajar.com/en/(?P<page>[^"]*)" title="[^"]*"> - Bold links:
(<b>)?<a href="https://profilpelajar.com/en/(?P<page>[^"]*)" title="[^"]*">(?(1)|<b>)
- Normal links:
- interval
- The time in between re-caching of the same page, this value is limited to prevent abuse. Possible values are daily, weekly, fortnightly, monthly, and quarterly (default) each with a maximum sustainable size of 22, 238, 672, 2400, and 18000 pages, respectively. Monthly or quarterly should be fine for most project, but for time critical processes such as WP:Featured article candidates weekly or daily can be used
- name
- DEPRECATED URL-encoded name of the page used if the page is transcluded elsewhere, as returned by {{PAGENAMEE}}
- namespaces
- Comma separated list of namespace numbers, default is
0(article namespace) - title
- Specify a title for the external link pointing to the Checklinks cache. If empty, no link is produced
Examples
Headings links
<includeonly>
<!-- See [[User:Dispenser/Checklinks/config/doc]] for setup instructions -->
* {{User:Dispenser/Checklinks/config
| interval = weekly
| generator = heading
| title = Checklinks
}}</includeonly>
- Used on {{FAC-instructions}} to re-caches pages linked from headers on the parent page Featured Article Candidates every 7 days.
Bold links
<!-- See [[User:Dispenser/Checklinks/config/doc]] for setup instructions -->
{{User:Dispenser/Checklinks/config
| name = Peer_review
| interval = weekly
| generator = bold
| namespaces= 0
}}
- Used on Wikipedia:Peer review re-cache pages in namespace 0 (articles) every 7 days
All links
== Tools ==
<!-- See [[User:Dispenser/Checklinks/config/doc]] for setup instructions -->
<noinclude>
* {{User:Dispenser/Checklinks/config | interval = quarterly }}
</noinclude>
- Re-caches linked pages every 90 days, note the <noinclude> tag.
Category links
<!-- See [[User:Dispenser/Checklinks/config/doc]] for setup instructions -->
:{{User:Dispenser/Checklinks/config
| interval = monthly
| title = External link status for Top Importance Louisville Articles
}}
- Re-caches pages in category every 30 days
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.