User talk:Octify27

How Do You Embed a Random Page from a Specific Category?
Hi, I'm trying to learn how to write a PHP tag extension. If you want to embed a random page from a specific category, how might you go about doing so (would you use MySQL, the API, or what)? Octify27 (talk) 23:31, 22 December 2011 (UTC)
 * You also asked this question in this Village Pump thread and some answers have been given there. If you have follow-up questions, I suggest you append them to that thread. -- John of Reading (talk) 17:57, 24 December 2011 (UTC)

Noinclude, includeonly, and onlyinclude tags
So, noinclude, includeonly, and onlyinclude are awesome and incredibly useful. But I feel like they can junk up a page when used in excess. However, if I make a template with the necessary tags, they seem to only take effect on that template, and not on the target page (i.e., a noinclude tag will make itself not transcluded onto the target page, rather than keeping the content on the target page from being transcluded onto another page). Is there a way to make them take effect on the target page, and not the template?

(Lemme know if that makes ANY sense haha) --Octify27 (talk) 07:46, 30 January 2012 (UTC)
 * I think this archived thread discusses this point, and the conclusion was that this isn't possible. -- John of Reading (talk) 08:16, 30 January 2012 (UTC)
 * Aw, that's unfortunate. Thank you though!--Octify27 (talk) 05:16, 31 January 2012 (UTC)

White Article Titles and Section Headings
Hi, I was wondering how to make all of the article titles and section headings of a given namespace white? I have a private wiki and I managed to give the articles of a namespace a black background, and change the font to white, but for some reason the article titles and section headings are still black.--Octify27 (talk) 15:06, 31 January 2012 (UTC)
 * Since this isn't a Wikipedia question, I think you should be asking at the MediaWiki support desk - assuming you are using MediaWiki software. -- John of Reading (talk) 16:15, 31 January 2012 (UTC)
 * Oh okay, thank you.--Octify27 (talk) 16:24, 31 January 2012 (UTC)

Vector Page Tabs
Hello, I'm editing my user style on Special:Mypage/vector.css, and I want to make the selected page tabs have the same kind of fade as the unselected tabs (but in a different color). I've managed to figure out how to edit the tabs themselves (i.e., div.vectorTabs ul li.selected a { background: #FF0000; } ), but I can't figure out how to get the selected tabs to fill only partially, just like the unselected tabs.


 * In order to do that, you need a gradient. WP uses an image for the gradient (see http://bits.wikimedia.org/skins/vector/images/tab-break.png, for instance), but most browsers can do it with just CSS.


 * I used the tool at http://www.colorzilla.com/gradient-editor/ to get this gradient, which assumes you want the tab to be green instead of blue:

""
 * Given that your user CSS file is just for you, you could leave off the rules for any browser you're unlikely to ever use.


 * It's not pretty, but it should work And of course, you can use the same tool to generate a gradient with your own preferred color scheme. Dori ☾Talk ⁘ Contribs☽ 23:06, 13 February 2012 (UTC)


 * That worked perfectly, thank you! :D

Wikipedia's Search Bar
So I've noticed that Wikipedia's search bar seems to bring up articles in order of popularity or something, rather than just alphabetical order (which is great). For example, if you type in "American", "American football" will show up before "American Civil War", despite "C" coming before "F" in the alphabet.

I'm just wondering, what makes it do that? Is it the Lucene-search extension, or something else?


 * Since Lucene powers the search here, I assume that's the case but you should probably ask at mw:Project:Support desk or another page dedicated to the software to get a definite answer. Regards  So Why  15:17, 15 February 2012 (UTC)


 * Alright, thanks

File Subpages
Just wondering, is there a reason why the File namespace doesn't allow subpages? --Octify27 (talk) 03:37, 25 February 2012 (UTC)
 * I don't know, but this looks like a question for Village pump (technical).
 * Hint: Make sure you use help me for your next question, as that's the template that attracts helpers; you used help me-helped. -- John of Reading (talk) 08:58, 25 February 2012 (UTC)
 * Alright, I'll ask there, thank you! (And sorry, my bad!)--Octify27 (talk) 00:24, 2 March 2012 (UTC)

A-Z Multipage List Template
Hey, I'm trying to figure out how to change the format of the A-Z multipage list template so that it includes symbols and numbers before the alphabet (to create the same effect as adding the parameters sym and num for the Compact ToC template), but the description for how to change the format wasn't very clear.

Is this possible, and if so, how?


 * Which template? Where did you find the unclear description?  —  Jeff G. ツ  (talk)   20:51, 20 April 2012 (UTC)


 * It was this this template and this part that was confusing:

To change this to a different format, use the  parameter. For example, if the subpages are named  ... , use



--Octify27 (talk) 21:12, 21 April 2012 (UTC) 

uses Pokèmon: A, Pokèmon: B, etc

uses Pokèmon (A), Pokèmon (B), etc. The articles / characters are only linked if the article exists... Regards, mabdul 15:56, 23 April 2012 (UTC)

Images
So it seems that when you have a big image that fills up the whole screen, text, infoboxes, other images, etc. will automatically go down to the next line. Is there a way to make it so that it will stay on the same line as the big image (causing the browser to make a horizontal scrollbar appear)?

For example, I'd want the infobox on the same line as the image, not below it:
 * Unfortunately, no - You can't do this, and generally, most people are against massive images on pages. Mdann52 (talk) 18:17, 5 September 2012 (UTC)
 * Alright, well that's fair I guess, thank you! --Octify27 (talk) 18:47, 5 September 2012 (UTC)