This is a documentation subpage for Template:Recent changes in Pharmacology. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
edit Recent changes in WP:Pharmacology |
---|
|
List overview · Updated: 2016-12-03 · This box: |
The template adds a box to a page with three or more links. Each link opens a list of Recent changes for a set of WP:Pharmacology pages.
Your options (can be set in your Preferences, tab: recent changes):
- Hide minor edits
- History length (maximum number of days)
- Length of list (e.g., 500 edits)
- ...
Add personal topics to track
editYou can add extra pages that are tracked (=presented in a Recent changes list).
Recent changes in WP:Pharmacology |
---|
|
List overview · Updated: 2016-12-03 · This box: |
- Examples
{{Recent changes in Pharmacology
|mylinks1=Paracetamol
|mylinks2=Benzedrine|label2=My topic of study
}}
|label2=
is optional.
- Four pages can be added:
|mylinks1=
,|mylinks2=
,|mylinks3=
,|mylinks4=
. With them,|label1=
–|label4=
) can be added, optionally.
- Do not skip numbers. Add the whole pagename, including the namespace.
- Setting
|sourcelink=no
hides the "(source)" link to your individual pages. Default is|sourcelink=yes
.
Style settings
edit|style=
is an optional parameter, and can set the style:
{{Recent changes in Pharmacology|style=float:left;}}
will let the box float to the left side of the page.
|state=collapsed
will set the box collapsed.
List updates
editThe template looks for "Recent changes" in blue links on a certain page. Trick is to add a useful page list to that page. Warning: these pages may be big and sloooow to open from here.
- Wikipedia:WikiProject Pharmacology/Lists of pages/Pharmacology articles (hist) (596,000 bytes)
- Wikipedia:WikiProject Pharmacology/Lists of pages/Pharmacology all pages (hist) (612,000 bytes)
- Wikipedia:WikiProject Pharmacology/Lists of pages/Infobox drug articles (hist) (316,000 bytes)
To update the lists
- Option: use WP:AWB.
- 1. Install AWB on your computer. You do not need to register for AWB-permission (you are only reading, not writing).
- 2. Create a list from
Category
, the category being Category:WikiProject Pharmacology articles (16,691). - 3. Save the List through
List|Save list...
on your desktop computer. The file contains all talkpages. - 4. These are Talkpages (category is populated through {{WikiProject Pharmacology}} on the talkpage). To list the articles, in AWB choose menu option
List|Convert from talkpages
. Now you have the article names. - 5. Open the page for editing, delete content, copy/paste the new list, save.
- 6. Done.
- Option: use WP:PETSCAN (to be researched).
Workings of "Recent changes"
editThe Recent changes special page produces a time-ordered list of edits, a bit like "Recent changes", "Watchlist" and "History" do. The specialty is that it lists only "outgoing links that are on a page." The option is in the toolbox menu in the left-hand side of this screen. When clicked, you'll see the edits listed for all links that are on this very page.
We can also feed this Special with another page's links to follow. For example, this is the Related changes list looking at talkpage WT:Pharmacology: Special page Related changes for WT:Pharmacology. This template uses the trick is that it uses another pages that has exactly all Pharmacology pages listed.
See also
edit- {{Recent changes in Medicine}} – similar for WP:Medicine, with more options