Wikipedia:WikiProject Pharmacology/ImageIndex


 * 1) IMAGE logid index for User:CheMoBot
 * 2) Syntax is as follows:
 * 3)   * EVERY line with a "#" character is disregarded
 * 4)   * Every non-blank line is in the format "filename=logid"
 * 1)   * EVERY line with a "#" character is disregarded
 * 2)   * Every non-blank line is in the format "filename=logid"


 * 1) To get the logid of a page:
 * 2)   * Find the name of the image as is used here
 * 3)     * e.g. on Demeclocycline there is 'image = Demeclocycline.png -> remember the 'Demeclocycline.png'
 * 4)   * copy paste the following url in a new browser window:
 * 5)        http://commons.wikimedia.org/w/api.php?action=query&list=logevents&letype=upload&letitle=File:
 * 6)     and APPEND the filename you want to find, 'Demeclocycline.png' (replace ALL spaces with an underscore '_')
 * 7)     your URL will look now like:
 * 8)        http://commons.wikimedia.org/w/api.php?action=query&list=logevents&letype=upload&letitle=File:Demeclocycline.png
 * 9)   * press enter, go, whatever, so that the results load.  You will see something like:
 * 10)     
 * 11)             
 * 12)   * From the FIRST line that starts with '<item' (here '<item logid="9968101" pageid="9387666" ...') you take the number after logid
 * 13)     Here that is 9968101
 * 14)     Next, you need the page that the image is used on, and add that after the index, separated by a '@'
 * 15)        (again, replace spaces with an underscore ('_'))
 * 16)   * Edit this page, and add:
 * 17)     Demeclocycline.png=9968101@Demeclocycline
 * 1)   * From the FIRST line that starts with '<item' (here '<item logid="9968101" pageid="9387666" ...') you take the number after logid
 * 2)     Here that is 9968101
 * 3)     Next, you need the page that the image is used on, and add that after the index, separated by a '@'
 * 4)        (again, replace spaces with an underscore ('_'))
 * 5)   * Edit this page, and add:
 * 6)     Demeclocycline.png=9968101@Demeclocycline


 * 1) NOTE: list ONLY images hosted on Commons used in a 'drugbox' here