Wikibooks:Reading room/Archives/2012/December

Translation guidance and category?
I looked for something analogous to wikisource:Wikisource:Translations and wikisource:Category:Wikisource translations on Wikibooks but couldn't find anything. But there are English Wikibooks that are translations of other language Wikibooks, eg Nature/Preface. Maybe there shouldn't be, but FWIW, web search for translations wikibooks turns up Translation, which seems a less than useful page to land on for someone interested in finding translations and translation help related to Wikibooks. -Mike Linksvayer (discuss • contribs) 20:52, 8 December 2012 (UTC)

Hiding page prefixes in category
Hi there, I'm looking for en.wikibooks' way of hiding the page prefixes in category, for example in Category:Animal Behavior, the pages are not displayed Animal Behavior/Contributors, Animal Behavior/Definition, Animal Behavior/History, etc, but rather Contributors, Definition, History. How to accomplish that in other wikibooks? I copied MediaWiki:Common.js/Category.js and already include it in the common.js, but that doesn't seem to work. Categories and Help:Categories don't help either. Any assistance is appreciated. Bennylin (discuss • contribs) 15:20, 7 December 2012 (UTC)


 * I think that's taken care of automatically by BookCat, isn't it? --Pi zero (discuss • contribs) 19:10, 7 December 2012 (UTC)
 * I copied that too, but didn't seem to change anything. Bennylin (discuss • contribs) 08:02, 10 December 2012 (UTC)


 * For perspective, what specifically are you trying to do? I'm guessing if BookCat already did the specific thing you want, it wouldn't matter how it does it.


 * Wiki markup puts the current page in category foo, but with "bar" as its sort key in the category.  --Pi zero (discuss • contribs) 13:31, 10 December 2012 (UTC)


 * I want not only sortkey (as DEFAULTSORT does), but hiding the prefix of the book in the category, as I gave in the example above. If I categorize/sort Animal Behavior/Definition with, in  it will still displayed as "Animal Behavior/Definition" -- here it's only displayed as "Definition"; in category with lots of books, having "Animal Behavior/" repeated all over the page which clearly described as "Category:Animal Behavior" is redundant. This is what I'm trying to achieve. I only saw this in en.Wikibooks, didn't see it in Wikipedia or other projects. Bennylin (discuss • contribs) 05:23, 11 December 2012 (UTC)


 * Okay, now I understand what you're asking. :-)  And quite right, it's not a function of sort keys at all; for example Animal Behavior/Examples/Crayfish Escape was exhibiting this behavior in Category:Animal Behavior even though it wasn't even using BookCat, but instead hardcoded markup  (no sort key specified at all).  This is starting to stir something out of my memory; I'll have to check some things, in my copious free time.  --Pi zero (discuss • contribs) 13:47, 11 December 2012 (UTC)


 * Thanks. If you came up with an answer, or know who's the "mastermind" behind that (:>) please be so kind and notice me either at meta:User talk:Bennylin or id:User talk:Bennylin. Thanks. Bennylin (discuss • contribs)

Linking an image to a book
Hopefully I can explain this well enough. I've rooted through the help pages but they are shockingly bad and hard to navigate. I am trying to make a template (Template:WikijuniorEurope for the Wikijunior:Europe book which will be a simple navigation template for each page of the book. The idea is that users can click on the flag to be taken directly to that country page.  So if a reader clicks on the first flag (Andorra) they should be taken to Wikijunior:Europe/Andorra.  How do I do this?  Example flags can be seen on the template page mentioned before.  Another, less important, problem is getting the flags to allign because at the moment they are different sizes (mainly because flags are different sizes as can be most clearly seen by the square Swiss flag).  Your help is appreciated.--ЗAНИA talk 12:46, 24 December 2012 (UTC)
 * I finally figured out how to link the images to a page. Any suggestions about aligning the images would be appreciated.--ЗAНИA [[Image:Flag_of_Estonia.svg|15px]]talk 12:54, 24 December 2012 (UTC)


 * Add  or   to each image, if the images are outside a table or all in the same cell of a table. See mw:Help:Images for more. For example:

… …
 * --hagindaz 17:12, 24 December 2012 (UTC)
 * Thanks for the instructions. Everything worked well.--ЗAНИA [[Image:Flag_of_Estonia.svg|15px]]talk 19:36, 24 December 2012 (UTC)

Formatting external video
I'd like to use http://ia600400.us.archive.org/7/items/forging-a-nail/forging-a-nail.ogv, which has a Attribution-NonCommercial-NoDerivs license. I understand Commons won't allow it,, because of the NonCommercial constraint. My (somewhat hazy) understanding is that English Wikibooks allows Fair Use material that isn't permitted on Commons; does this policy extend to allow material that is redistributable for non-commercial purposes? If so, could someone upload it for me, as I don't have that permission. If not, is there a way to present external links in-line? Currently, I know how to present Commons videos inline: and external videos as a link: * http://archive.org/details/forging-a-nail, but the latter seems like poor style. archive.org offers an embed snippet, but I don't understand how to stop the wiki formatting from mangling that. Clearly using Commons would be ideal, but making an original video, simply to solve a style issue, seems like a poor use of time. Down'n'dirty Blacksmithing needs a lot of video to get the technique across, so I'd like to figure out the best way to leverage existing sources, thanks. --Wcoole (discuss • contribs) 02:02, 28 December 2012 (UTC)


 * Fair use does not permit license violations in case of full use of a licensed word. If the original word is used in full and has an incompatible license (the non commercial use part) then it can't be used here. (You can link to it, in the external links I can't help but believe it can't be done because it would create many licensing related issues. I use a simple icon link to youtube in some of my projects, making sure than the information in the video is not the core of the content but an extra, a aid or clarification. --Panic (discuss • contribs) 17:13, 28 December 2012 (UTC)