Jump to content

Template:Recent changes in Pharmacology/doc

From Wikipedia, the free encyclopedia

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

[edit]

You 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

[edit]

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.


To update the lists

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.

Workings of "Recent changes"

[edit]

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.

See also

[edit]