Jump to content

User:Richiez: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
rm obsolete content
 
Line 22: Line 22:


[[User:Richiez/Drafts]]
[[User:Richiez/Drafts]]

==Spammers to watch ==
* http://toolserver.org/~luxo/contributions/contributions.php?user=84.184.114.9&blocks=true&lang= http://toolserver.org/~luxo/contributions/contributions.php?user=84.168.209.11&blocks=true&lang= http://meta.wikimedia.org/wiki/User:COIBot/LinkReports/unterkunft-ferienwohnung-bamberg.de

* http://www.hkbu.edu.hk/lib/electronic/libdbs/mpd/index.html http://libproject.hkbu.edu.hk/was40/search?channelid=44273

==Scripts to do automatic PMID/ISBN referencing==

This tools will take a text (local file, complete article or part of it) with inline references such <nowiki>{{pmid XXXX}} and {{isbn XXXXX}} </nowiki> and output a fully referenced text using either [[harvard referencing]] or footnote referencing. Multiple references to the same PMID or ISBN will be handled correctly, however the text is not scanned for older cite/ref citations hence some duplication can occur and must be currently handled manually. The tools currently must be installed and used locally and require a [[Ruby_%28programming_language%29|ruby]] interpreter with the basic libraries and network access. Uses [[User:Diberri]]'s tool internally to get cite templates.

This is an early version &ndash; the output will probably require manual postprocessing in many cases. Output goes to stdout.

===Footnote style version===

This will process tags of the form <tt><nowiki>{{pmid number}}, {{pmid number tag}},{{isbn number}}, {{isbn number tag}}</nowiki></tt>. The <tt>tag</tt> argument will be translated into <tt><nowiki> <ref name=tag .. > </nowiki></tt>. If an explicit tag argument is not given it will be generated automatically.

Here is the source code: [[User:Richiez/wiki-fref|wiki-fref]]

===Harvard style version===

This will process tags of the form <tt><nowiki>{{pmid number}},{{isbn number}}</nowiki></tt> as wells as the variants <tt><nowiki>{{pmid-nb number}},{{isbn-nb number}}</nowiki></tt> and <tt><nowiki>{{pmid-txt number}},{{isbn-txt number}}</nowiki></tt> for the <tt>harvnb</tt> and <tt>harvtxt</tt> variants respectively.

I found no easy way to generate <nowiki>{{citation ...}}</nowiki> templates automatically so cite templates are emitted instead and an extra anchor is generated. The links to this anchor however are generated by the Harvcol templates automagically so under unusual conditions the links will break, especially if my code and the harvcol templates do not agree on the name for an anchor. Wikiref/wikicite would be another possibility but then I could not use Harv/cite templates amd would have to do the formatting manually - at least I do not see how to do it better at the moment.

Here is the source code: [[User:Richiez/wiki-href|wiki-href]]

<hr>

Latest revision as of 20:51, 19 February 2016

Email: I am reading email but not nearly every day

Some of my watchlists: [commons] [it] [de] [el] [ru] [cz] [da] [hr] [pl] [fr] [krh] [meta]

WP Links: WP:VAN, Content Problems, WP:BLPN, Filter-Reqs, Spam-BL, Speedy-Del, Welcome Embassy H:M WP:ANI m:Steward requests/global, {{subst:MedWelcome}} Search Watcher

WP Med: MOS:MED QL PT H:MARKUP

Wikipedia:Reference desk/Science Wikipedia:Reference desk/Language Wikipedia:Reference desk/Computing Wikipedia:Reference desk/Mathematics

Quote with Refs etc: <div style="margin-left:6em; border:1px solid gray; padding:1em;"> .... {{reflist}}</div>

Warnings: WP:UW, {{subst:Uw-test1}}, {{subst:test}}, {{subst:test2}}, WP:VAN, {{subst:uw-spam1}}

User:Richiez/Medical references quick and easy

Drafts

[edit]

User:Richiez/Drafts