Jump to content

Wikipedia talk:WikiProject User scripts/Scripts/Set Book Source

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by CBM (talk | contribs) at 15:45, 1 January 2008 (c). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

{{editprotected}} The script has been modified to make it easier to change the redirect URL. Please see User:Lunchboxhero/monobook.js. Would an admin please update this page.

Lunchboxhero (talk)19:23, 29 December 2007 (UTC)[reply]

The code looks quite different - what is the point of the MAGICNUMBER stuff? Also, what change is being requested here - please be specific about what you would like to be changed here. — Carl (CBM · talk) 18:15, 30 December 2007 (UTC)[reply]

The code on this page is an earlier version of the script at User:Lunchboxhero/monobook.js. The point of both scripts are to rewrite ISBN links to point to the book source of the users choice, instead of the Special:Book_sources page, which has grown so large as to become nearly useless. The main difference between the version at User:Lunchboxhero/monobook.js and the older version on this page is that the current version has been modified to make it easier for the user to replace the book source url. Particularly, the later version pulls the book source url out of the loop and defines it separately as a variable. MAGICNUMBER is to make it very easy for users to cut and paste the book source urls from Wikipedia:Book_sources into this script as a the MagicURL. MAGICNUMBER is a reserved word in the Mediawiki software and is dynamically replaced with the ISBN number by the software when the Special:Book_sources is visited. All the urls for book sources on Wikipedia:Book_sources have MAGICNUMBER in them.

What I am asking is that this earlier version of the script be replaced by the updated one that can be found at User:Lunchboxhero/monobook.js.

21:18, 30 December 2007 (UTC)

 Done Tra (Talk) 14:23, 1 January 2008 (UTC)[reply]
I was more concerned about the "wikipedia08-20" part- is this sending money somewhere? — Carl (CBM · talk) 15:45, 1 January 2008 (UTC)[reply]