Template:Recent changes in Pharmacology/doc

Usage
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
You can add extra pages that are tracked (=presented in a Recent changes list).

label2 is optional.
 * Examples:


 * 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 no hides the " (source) " link to your individual pages. Default is yes.

Style settings

 * style is an optional parameter, and can set the style:

will let the box float to the left side of the page.


 * collapsed will set the box collapsed.

List updates
The 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.
 * WikiProject Pharmacology/Lists of pages/Pharmacology articles  (0 bytes)
 * WikiProject Pharmacology/Lists of pages/Pharmacology all pages  (0 bytes)
 * WikiProject Pharmacology/Lists of pages/Infobox drug articles  (0 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, the category being.
 * 3. Save the List through  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 . 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"
The 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.