Wikipedia:Village pump (technical)/Archive 102#Gadget for control of image display

{{Wikipedia:Village pump/Archive header}}

Feedback tool

Why do some articles link to the feedback tool (eg, Clifton Gardens, New South Wales, List of rice diseases) and some ask for page rating (eg, Mazeppa (opera), Quinoline-4-carboxylate 2-oxidoreductase)? SpinningSpark 18:11, 7 August 2012 (UTC)

:Articles that link to the feedback tool are either in :Category:Article Feedback 5 or :Category:Article Feedback 5 Additional Articles. You can add the 2nd category to any article you wish. Ryan Vesey 18:16, 7 August 2012 (UTC)

: Spinningspark: didi you follow "What's this?" links to WP:Article Feedback Tool (which says "deployed on almost all pages") and WP:Article feedback (which says "only about 5 percent") and found that the explanations are not clear enough? — AlexSm 18:22, 7 August 2012 (UTC)

::Since I would probably not have posted here if I had that information, then no it is not clear enough and your rhetorical question seems only to have been asked in order post the sarcasm which followed. And yes, I did follow the "What's this?" link first - it goes here and does not contain any of the information you claim. SpinningSpark 19:34, 7 August 2012 (UTC)

  • Hey guys :). So, at the moment the deciding factor is a randomised lottery; we've deployed the new version (with the feedback box) to 10 percent of articles - the rest have the old version with the page rating. We're waiting on features engineering to fix up the code a bit; they worry that if we deploy the new one to 100 percent now, bits are going to fall off the servers and explode. Okeyes (WMF) (talk) 17:53, 8 August 2012 (UTC)

Creating a map

I'm sorry, I've just joined, but would like to know how I can create map illustrations. It seems there is a standard map used to create an svg file. Where is this map and what is the recommended software? Thank you. — Preceding unsigned comment added by Kneesdata (talkcontribs) 07:52, 8 August 2012 (UTC)

:Wikipedia:WikiProject Maps is a good place to start. Secretlondon (talk) 08:04, 8 August 2012 (UTC)

:It obviously depends on the type of map. What sort of map do you want to make? Secretlondon (talk) 08:05, 8 August 2012 (UTC)

:And Inkscape for svg maps. Wikipedia:Graphic Lab/Resources/Software, but you can base them of things like free GIS data using QGis. Secretlondon (talk) 08:07, 8 August 2012 (UTC)

:Take a look at WP:USRD/MTF - it's geared towards U.S. roads, but there are some good tutorials. --Rschen7754 08:09, 8 August 2012 (UTC)

Thanks for your advice. I would like to make world and continental maps with colour codes for certain data sets, eg colouring countries with <0% growth differently from those with 0-5% and 5%+. To be honest, Wikipedia is a bit of a mystery when it comes to this sort of thing. I've occasionally edited without an account, but would like to enhance the economy sections which are often outdated. — Preceding unsigned comment added by Kneesdata (talkcontribs) 09:42, 8 August 2012 (UTC)

:We have maps that already have country outlines. Filling them with colours should be pretty easy. Obviously you'll need a source for your economic data. PS You sign your comments ~~~~ Secretlondon (talk) 09:51, 8 August 2012 (UTC)

:This might be what you are looking for. Secretlondon (talk) 09:55, 8 August 2012 (UTC)

:There's actually a tool that's really helpful with this, but I can't find it at the moment. Perhaps someone else will know? - Jarry1250 [Deliberation needed] 11:09, 8 August 2012 (UTC)

:::commons:Category:Blank SVG maps and :commons:Category:Blank maps contain more blank maps. (Kneesdata: Wikimedia Commons is the image repository of Wikipedia, which allows a single file to be used in all Wikipedias and Wikimedias. MKFI (talk) 13:19, 8 August 2012 (UTC)

Preferences/gadgets

"Preferences/Gadgets/Appearance/Add page and user options to drop-down menus on the toolbar" doesn't seem to be working properly for me today. I wanted to protect a page, but the option to do so wouldn't appear on the drop-down, only the option to unprotect the page (it was already unprotected). The behavior was inconsistent - some pages it would give me the option, and some it wouldn't.

I was trying unsuccessfully to protect List of Hollyoaks characters (2010). I had to uncheck the check box and use the option "Change protection" on the unnamed drop-down arrow to execute the action.

What's wrong?--Bbb23 (talk) 00:25, 9 August 2012 (UTC)

:Whether it says "unprotect" or "protect" it takes you to the same place, and doesn't automatically put the action through. It was saying "unprotect" because that page was move protected. But that does mean the gadget could use a better name for that option. Someguy1221 (talk) 00:35, 9 August 2012 (UTC)

::Thanks, Someguy, I appreciate the explanation.--Bbb23 (talk) 00:50, 9 August 2012 (UTC)

Template:WikiProject Public Art

Articles that use Template:WikiProject Public Art on the talk page all show categories which once existed, but have been deleted. Should these categories be created, with a caution, such as I have seen elsewhere on categories that are sometimes empty, that they should not be deleted even when empty? Or possibly, maybe the template is incorrectly done, and the categories should not exist at all. I hesitate to create the categories again, so I am posting here instead. --DThomsen8 (talk) 16:27, 9 August 2012 (UTC)

:Have you asked the person who carried out {{diff|Template:WikiProject Public Art|prev|506372357|this edit}}? --Redrose64 (talk) 16:52, 9 August 2012 (UTC)

Markblocked

Anyone have any idea why the MarkBlocked script isn't working for me anymore? I'm using Vector and Firefox 14 and the error console displays no errors when loading a page, but links to blocked accounts aren't marked for some reason. The interesting thing is that the problem seems to be limited to enwiki; the script works fine in other projects, including Commons. Has anyone else run into the same problem? Jafeluv (talk) 19:51, 9 August 2012 (UTC)

:The script works fine (I personally make sure of that) but the way you're [http://en.wikipedia.org/w/index.php?title=User:Jafeluv/vector.js&diff=506607730&oldid=505916778 trying to call it] doesn't: mw.loader needs a full URI. Follow your own instructions. — AlexSm 03:12, 10 August 2012 (UTC)

::That was actually a test edit, the actual call is in my global JS page and as I said it does work on other projects. But you're right, it's not a problem in the script. After some testing it seems a replace script in my vector.js is causing it... Jafeluv (talk) 06:26, 10 August 2012 (UTC)

New Deployment of Page Curation

A new version of the Page Curation suite has been deployed. This updates Special:NewPagesFeed and enables a new curation toolbar (which is activated when reviewing pages from the feed.--Jorm (WMF) (talk) 21:18, 9 August 2012 (UTC)

Error when deleting files: "inconsistent state within the internal storage backends"

I have run into errors when trying to deleting images :File:Mintransporte.png and :File:ClaremontDesign.png, which were both nominated at Wikipedia:Possibly unfree files/2012 August 2. The error message looks like [http://i.imgur.com/5TgR2.jpg this], and it deletes the image description page, but not the actual uploaded image. Any help? — ξxplicit 00:40, 10 August 2012 (UTC)

:We are in the process of transitioning to a new media storage backend (Swift). Some files didn't get copied over into the new system, so this error showed up when you tried to change them as the two systems must stay in sync until we git rid of the old one (NFS). The migration bug that left out some files was tracked down and those remaining files are being copied over. These errors should become rarer and then stop within a few days. Aaron Schulz 05:45, 10 August 2012 (UTC)

:Oh, I also manually re-deleted those files after the backends were synced for those files. Aaron Schulz 05:46, 10 August 2012 (UTC)

Counting all articles in a category

Is there a tool or method that will count the total number of pages in a particular category including the entire "tree" of subcategories? AWB just gives the number of articles and subcategories in the "root" category. The category I'm interested in is :Category: 2012 Summer Olympics. This question arose from the discussion at Talk:2012 Summer Olympics#Article imbalance. Thanks Roger (talk) 12:08, 10 August 2012 (UTC)

:Category (recursive) gives the number in all subcats from the tree, not just the toplevel. Fram (talk) 12:19, 10 August 2012 (UTC)

:{{EC}} You can use the PAGESINCAT magic word. For example, {{PAGESINCAT:2012 Summer Olympics}} returns {{PAGESINCAT:2012 Summer Olympics}}. {{EC|2}} Nevermind, I forgot that PAGESINCAT wasn't recursive. Reaper Eternal (talk) 12:20, 10 August 2012 (UTC)

::That only grabs the top level category. Ryan Vesey 12:20, 10 August 2012 (UTC)

:I asked this same question a couple days ago and there didn't seem to be a solution. I was dealing with maintenance categories so I just made a larger category for all the articles. That said, you might be able to use WP:Catscan and set the depth to 2 or 3 however many you need it. It will break if there are too many articles though. Ryan Vesey 12:20, 10 August 2012 (UTC)

::Oh yes, for maintenance cats (monthly ones) I usually make an "all" category as well, it is sometimes much more handy than the monthly cats. But for general cats, this isn't really a good solution of course. Fram (talk) 12:32, 10 August 2012 (UTC)

:::One of the reasons that {{PAGESINCATEGORY:}} doesn't recurse is because category loops are permitted, hence {{PAGESINCATEGORY:}} could be infinite.

:::Even if each category were counted once each, it's permitted for pages to be in two different branches of the same tree (e.g. Athletics at the 2012 Summer Olympics is in both {{cl|2012 Summer Olympics events}} → {{cl|Summer Olympics events by year}} → {{cl|Summer Olympic events}}; and {{cl|Athletics at the Summer Olympics}} → {{cl|Summer Olympic events}}), so the total could well be higher than the real figure. --Redrose64 (talk) 13:59, 10 August 2012 (UTC)

::::Is there no way to count such an article only once? Going by the title it should be obvious that it is just one article in multiple categories. Roger (talk) 14:19, 10 August 2012 (UTC)

:::::Could you create a list in AWB? That would give you a one-time view. Ryan Vesey 14:20, 10 August 2012 (UTC)

:::::(ec)With the AWB method I described above, you can generate the list of articles with the option "remove duplicates" (in the "list" drop-down menu). This gives you a list of every unique article that is part of that category tree from your starting cat until the bottom cats. If this generates a list of more than +-25000 articles, this may take long (or very long) though. Fram (talk) 14:23, 10 August 2012 (UTC)

::::::Hasn't AWB got a 25,000 cap? He'll only see greater than 25k if he's an Admin or has a bot account. - X201 (talk) 15:26, 10 August 2012 (UTC)

:::::::Will a bot account go past the cap? I could have User:Ryan Vesey Bot create that list when I get home. Ryan Vesey 16:02, 10 August 2012 (UTC)

::::::::AWB will cap it at 25000 if you just count one category, but if you specify a number or leave it open ended recursive, it will count much more than 25k. [http://toolserver.org/~magnus/catscan_rewrite.php?depth=20&categories=2012+Summer+Olympics Catscan2] can also do it, but it is currently affected by the toolserver replag, so is 411 hours behind real life, which means it probably doesn't even know the Queen can skydive yet. AWB just returned 8676 unique mainspage pages, catscan was only 1841. The-Pope (talk) 16:33, 10 August 2012 (UTC)

IPv6

Hi, does Geolocate not work for IPv6? GiantSnowman 16:28, 10 August 2012 (UTC)

:The contributions links for IPv4 users are made by {{tl|Anontools/ipv4}}. The Geolocate link goes to http://whatismyipaddress.com/ which apparently doesn't work for IPv6. The contributions links for IPv6 users are made by {{tl|Anontools/ipv6}} which currently has no Geolocate link. I don't know whether there is a service we can use. Wikipedia:WikiProject IPv6 Readiness#Open tasks includes "Find an IPv6 Geolocator". PrimeHunter (talk) 18:43, 10 August 2012 (UTC)

::There's also http://www.infosniper.net which also doesn't work on IPv6. GiantSnowman 18:50, 10 August 2012 (UTC)

WPBannerMeta categorization

Is it possible to modify the infobox cat parameter of {{t|WPBannerMeta}} so that it can support more than one category? I hope to contact various wikiprojects so articles tagged as needing infoboxes can be added to a dated category in :Category:Articles covered by WikiProject Wikify and the general :Category:All articles covered by WikiProject WikifyRyan Vesey 18:34, 10 August 2012 (UTC)

:Actually, rather than contacting each project individually, is it possible to just add the category to {{t|WPBannerMeta}} so that in addition to the default category or the category specified by the project the page is categorized in the ones mentioned above? Ryan Vesey 18:36, 10 August 2012 (UTC)

::As thing stand, {{tlx|WPBannerMeta}} provides two parameters related to this matter - {{para|infobox}} and {{para|INFOBOX_CAT}}. The latter is ignored unless the former is set to yes.

::*If {{para|INFOBOX_CAT}} is missing or blank, a default category is used (the project name plus articles needing infoboxes)

::*If {{para|INFOBOX_CAT}} is set to none there is no categorisation

::*If {{para|INFOBOX_CAT}} is set to any other value, that is taken as the category name.

::I suspect that much more than {{tlx|WPBannerMeta}} will need to be changed - {{tlx|WPBannerMeta/core}} and {{tlx|WPBannerMeta/templatepage}} for a start. Have you brought this up at Template talk:WPBannerMeta? --Redrose64 (talk) 19:18, 10 August 2012 (UTC)

:::I wanted to see how to do this before I started creating consensus to do it. Consensus shouldn't be too hard, it's just internal maintenance categorization. Ryan Vesey 19:19, 10 August 2012 (UTC)

::::Oh, and {{tlx|WPBannerMeta/note}} --Redrose64 (talk) 19:21, 10 August 2012 (UTC)

:I would see the main issue modifying WPBannerMeta to add to :Category:All articles covered by WikiProject Wikify is that WPBannerMeta is used on talk pages but all the current pages in those categories are articles, so should they be mixed together? -- WOSlinker (talk) 20:17, 10 August 2012 (UTC)

::There's actually a decent number of talk pages there due to {{t|Infobox requested}}. I don't know that I'm the biggest fan of it, but the only other option would be to put the infobox requested template on the article page. It could be slightly beneficial, if you see talk: you know the issue with that article is the lack of an infobox. Ryan Vesey 20:20, 10 August 2012 (UTC)

Reference bubble

Hello,

Now, when I fly over a reference link, I get a bubble with the ref above my mouse, and that is great !

[http://screencast.com/t/iZLDodCRyAvO But what happens when I fly over a ref link which is near the top of the view ? The reference goes above the view, where I can't see it. This is not very clever. In such case, it would be nicer to hatch the ref bubble below my mouse. Look at this screen photo.]

Thanks for improving that, and keep up the good work !

--Nnemo (talk) 04:16, 5 August 2012 (UTC)

:This is ReferenceTooltips, shown in {{myprefs|Gadgets}} as "{{MediaWiki:Gadget-ReferenceTooltips}}". It was added to the gadgets list with {{diff|MediaWiki:Gadgets-definition|prev|485565766|this edit}} (see Wikipedia:Gadget/proposals#Reference Tooltips and Wikipedia:Village pump (proposals)/Archive 87#Gadget proposal), and switched on by default with {{diff|MediaWiki:Gadgets-definition|prev|502710987|this edit}} (see MediaWiki talk:Gadgets-definition#ReferenceTooltips on by default). I believe that the discussion page for the gadget is at User talk:Yair rand/ReferenceTooltips. --Redrose64 (talk) 10:00, 5 August 2012 (UTC)

:See also [http://en.wikipedia.org/wiki/User_talk:Yair_rand#Reference_bubble this discussion].

:

:--Nnemo (talk) 10:09, 11 August 2012 (UTC)

Why is this title triggering the blacklist

I recently tried to move Delta Opioid receptor to δ-opioid receptor, but the move page tells me that the title " δ-opioid receptor" is on the title blacklist. However I'm looking through that list and it doesn't look like there are any regex rules on that page that should be triggered by the new title... Why is it getting triggered? flaming () 13:50, 10 August 2012 (UTC)

:

.*[^\P{So}¦§©®°¶№™☀-⚲✁-➾`].*  # "Other punctuation", with some exceptions (may need more, this is a huge character class); note that single-character titles are permitted by the title whitelist

:That what I get with my crude JS blacklist matching tool. — Dispenser 13:55, 10 August 2012 (UTC)

::Weird, I didn't think greek letters were in the "symbol (other)" character category... Thanks flaming () 14:08, 10 August 2012 (UTC)

:::It's very crude. I haven't seen PHP's regex extensions in any other languages and have not fix my JS tool to recognize them. You should also check the global m:Title blacklist. What's preventing a public tool is the fear vandals will test against it. — Dispenser 14:21, 10 August 2012 (UTC)

::::δ is {{unichar|03b4|GREEK SMALL LETTER DELTA}} is not in Unicode general category So but Ll (Letter, lowercase). Could it be the lc problem, can you try uc: Δ-opioid receptor and add DISPLAYTITLE to the page? -DePiep (talk) 14:59, 10 August 2012 (UTC)

:::::Ah, that page already exists (Redirect). You'll can swap pages (and add {{tlx|lowercase title}}; looked good to me in the redirect page preview). -DePiep (talk) 15:02, 10 August 2012 (UTC)

:: My less-crude PHP-based blacklist matching tool returns two rules matching that title:

(?!(User|Wikipedia)( talk)?:|Talk:)\P{L}*[^\p{Latin}\P{L}].*\p{Latin}.*  # Latin + non-Latin

(?!(User|Wikipedia)( talk)?:|Talk:)\P{L}*\p{Greek}.*[^\p{Greek}\P{L}].* # Greek + non-Greek

:: In English, moving pages to titles that contain both Latin and non-Latin letters is not allowed, as is moving pages to titles that contain both Greek and non-Greek letters. This helps prevent homoglyph attacks to evade more specific blacklist rules. Anomie 20:25, 10 August 2012 (UTC)

:::It was an uppercase/lowercase issue. The target page already existed (so it was allowed by the blacklist!). -DePiep (talk) 23:44, 10 August 2012 (UTC)

:I've made a requested move for it rather than copy-paste moving. There's already a {{tlx|lowercase}} on the page so it'll stay when it gets moved. flaming () 15:44, 10 August 2012 (UTC)

:And if neither lowercase δ nor uppercase Δ are in unicode So... and I don't see either delta character (upper or lower) on the global title blacklist... So I wonder what's triggering the blacklist? flaming () 15:47, 10 August 2012 (UTC)

::I don't think it is on the blacklist, but simply the page you wanted to move to already exists (so is clearly allowed). Probably because you typed lowercase and the check was positive on the (automatic) uppercase the message got distorted. You'll have to swap the two existing pages, which requires admin assistance. -DePiep (talk) 15:59, 10 August 2012 (UTC)

:::{{done|Moved}}, but page not otherwise edited. --Redrose64 (talk) 16:11, 10 August 2012 (UTC)

::::Isn't this a bug? -DePiep (talk) 23:45, 10 August 2012 (UTC)

{{od}}I tested this: 1. Create page delta-test (content: just the {{tlx|lowercase}} template). Looks OK, title showing in lc. 2. Try: Move to {{code|1=δ-test}}. Denied, message in red: {{code|1="Delta-test" cannot be moved to "Δ-test", because the title "Δ-test" is on the title blacklist. If you feel that this move is valid, please consider requesting the move first.}} 3. Create page δ-test (entered in lc), named Δ-test technically (uc). Accepted. Adding the lc template works fine. 4. Try (again): Move delta-test to {{code|1=δ-test}}. Same message about blacklist, and also (in red): {{code|1=The page could not be moved: a page of that name already exists, or the name you have chosen is not valid. [...]}}. Note: the blacklist is skipped for admins; I am not an admin ([http://www.mediawiki.org/wiki/Extension:Title_Blacklist mw]).

Conclusion: The title was blacklisted for moving, but not for creating. Looks like an inconsistency to me. (My testpages to be deleted). -DePiep (talk) 15:35, 11 August 2012 (UTC)

For all those who hate the new move system

{{U|Kangaroopower}} has created a script that allows you to move a page without the drop down menu. You can find it at User:Kangaroopower/ajaxMove.js and add it by adding importScript('User:Kangaroopower/ajaxMove.js'); to your common.js page. He welcomes suggested improvements. Ryan Vesey 20:28, 10 August 2012 (UTC)

:Just FYI another option is this dewiki gadget that modifies the normal MovePage to get rid of drop down menu. — AlexSm 21:27, 10 August 2012 (UTC)

::What drop down menu? --Redrose64 (talk) 21:39, 10 August 2012 (UTC)

:::There is a drop down namespace menu when you attempt to move a page. This results in problems when trying to make a cross namespace move since it defaults to your original namespace. Ryan Vesey 21:41, 10 August 2012 (UTC)

::::Oh, that. It's hardly new (see Wikipedia:Village pump (technical)/Archive 98#screwed up REDIRECT) - I think it arrived with MediaWiki 1.19 at the end of February this year, immediately before the sudden increase in page moves from User: space to Wikipedia: space. Personally I got used to it within a day or two. --Redrose64 (talk) 22:51, 10 August 2012 (UTC)

:See also the Bugzilla request to improve mediawiki.special.movePage.js to remove the namespace name when the user paste the full target name in the field. Helder 12:30, 11 August 2012 (UTC)

::What happens when they want to move to article space? Do they need to use the menu? Ryan Vesey 15:15, 11 August 2012 (UTC)

:::Yes: they need to select "(Article)", which is at the top. Those instances in March (which I believe still occur) were because relatively-newbies didn't realise that the page they've created in user space is an article, so should go there: they see the familiar-looking "Wikipedia", and select that. --Redrose64 (talk) 17:57, 11 August 2012 (UTC)

Cite_web/smart hybrid of Cite_quick

: Tangent thread from: "#Cite_quick 12x faster for short cites".

The new, experimental Template:Cite_web/smart is an attempt to totally upgrade {Cite_web} to be both faster and handle all complex {Cite} parameters known to mankind, now and in the future. The tactic is to check for rare parameters in {Cite_web/smart} and only then invoke {Citation/core}; otherwise, {Cite_web/smart} would perform like {Cite_quick} to format the parameters in the same pattern as Citation_style_1, but not really using {Citation/core} when only common parameters are used. For common parameters {Cite_web/smart} seems to run 4x faster than {Cite_web}, while for rare parameters, it runs about the same, or formatting 17 cites per second. The grand finale would be: #REDIRECT of {Cite_web} to invoke {Cite_web/smart}, for all among the 1.6 million articles which use Template:Citation/core. Note well: Although {Cite_web/smart} looks like a "fork" of {Cite_web}, it is really intended to be the next generation, perhaps ready within a few days. For people who wanted to test a template, then this is your mega-chance. It will be used in over 1 million articles (transcluded into 1,128,784 pages, June 2012), so that is why testing is so much more critical: {Cite_web/smart} is not in the little league of {Cite_quick} to be used in a few hundred slow articles. Instead, {Cite_web/smart} is the big-league replacement for {Cite_web}, which people have been wanting for years. After testing and protecting, then redirect {Cite_web} to invoke {Cite_web/smart}. Similarly, we would have a {Cite_news/smart}, etc. -Wikid77 (talk) 17:46, 11 August 2012 (UTC)

  • Already listed at TfD: The lastest round of debates at wp:TfD is for Template:Cite_web/smart, which should generate a wider discussion, and see what other people suggest:

::* TfD entry: WP:Templates_for_discussion/Log/2012_August_11#Template:Cite_web.2Fsmart

: The template already works fairly well, so I think any further tests should give mostly positive results. -Wikid77 (talk) 20:41, 11 August 2012 (UTC)

Italics (or mystical test edit)

Did I just see some test edit by Wikipedia's engineers or something? I was just looking at MOTD and saw a fellow user's signature. The end code of the italics did not work very briefly so it italicised the rest of page. i/> showed very briefly instead of ''.

Even more strangely, this does not show up in page history either. Simply south...... flapping wings into buildings for just 6 years 17:22, 11 August 2012 (UTC)

:Maybe it was rejected as invalid? The [http://www.w3.org/TR/html4/present/graphics.html#edef-I I element] is always used as an enclosure {{tag|i}} since it has no effect if used as an empty element {{tag|i|s}} --Redrose64 (talk) 20:59, 11 August 2012 (UTC)

why has www.emosdogtags.com

how come my website www.emosdogtags.com has been taken out of the external links in service animal section, I am trying to relay a comprehensive and easy way to purchase ID tags and give a little information about them in the external links section. To help people that do not understand all about service animal and emotional support animal ID tags. The site is www.emosdogtags.com

Thanks again — Preceding unsigned comment added by Fadeous1 (talkcontribs) 19:17, 11 August 2012 (UTC)

:You mean {{diff|Service animal|prev|506833209|this edit}}? Most likely because those links fail the guideline on external links. Have you asked the editor who removed them? --Redrose64 (talk) 20:28, 11 August 2012 (UTC)

Because you are a business trying to make profit and not a direct source that is of use to the definition of service animals. Quit wasting your time.

Table cell should be pushed higher

Can someone explain why or howto: the 2nd cell is not pushed larger by the font-size. Situation is that {{tlx|braille cell/core}} sets the font-size within the cell (span the text), not in wikitable code (style between pipes).

border=1 class=wikitable
A
A
style="font-size:300%;" | A
-DePiep (talk) 10:18, 10 August 2012 (UTC)

:Please? -DePiep (talk) 01:32, 11 August 2012 (UTC)

  • Look at Template:braille cell/core, for the font-size issues. A style="font-size:300%" would display 3x larger than the basic size, just as 500% would display the letter "C" as 5x larger.

::* {{Braille cell/core| type=text | character=A}} -- {{Braille cell/core| type=text | character=A}}

::* {{Braille cell/core| type=text | character=A | size=100%}} -- {{Braille cell/core| type=text | character=A |size=100%}}

::* {{Braille cell/core| type=text | character=B | size=300%}} -- {{Braille cell/core| type=text | character=B |size=300%}}

::* {{Braille cell/core| type=text | character=C | size=500%}} -- {{Braille cell/core| type=text | character=C |size=500%}}

: I guess people are unsure as to what the question is specifically. -Wikid77 (talk) 04:19, 12 August 2012 (UTC)

::He wants to know why the table cell height does not auto-adjust iteself to the font height. Edokter (talk) — 09:42, 12 August 2012 (UTC)

:::As Edokter says. I could have been more clear then. -DePiep (talk) 12:57, 12 August 2012 (UTC)

Weird pipes display issue

For background, see the discussion here between myself and User:Giants2008. He said there were a number of pipes showing up in section headers, but neither myself nor User:TheAustinMan are able to see them. Specifically, I'd like everyone to take a look at [http://en.wikipedia.org/w/index.php?title=List_of_Texas_hurricanes_%281980%E2%80%93present%29&diff=506753851&oldid=506671568 this diff] and see if there are any visible changes between edits. 24 bytes were removed, but for me, the before and after appear identical. Does anyone know what the issue is here? There are apparently similar problems in the article's references. —Torchiest talkedits 17:43, 10 August 2012 (UTC)

:Oh, and I tried viewing the difference in Chrome, Firefox, and IE, and had the same results in all three: no pipes were visible. —Torchiest talkedits 17:44, 10 August 2012 (UTC)

::My browser doesn't display them differently. I copy-pasted to the "Characters" field at http://rishida.net/tools/conversion/ (no Wikimedia affiliation) and clicked "View names". This says the previous version had one or two U+200C zero-width non-joiner before the en dash. PrimeHunter (talk) 18:24, 10 August 2012 (UTC)

:::Thanks for looking into that. I don't understand how such a bizarre character got into the section headers, and why only one editor (so far) sees it represented as a pipe. —Torchiest talkedits 18:51, 10 August 2012 (UTC)

::::I suspect not an actual pipe | but this symbol 20px which is apparently how it should be represented on keyboards. --Redrose64 (talk) 19:04, 10 August 2012 (UTC)

:::::The characters were added in [http://en.wikipedia.org/w/index.php?title=List_of_Texas_hurricanes_%281980%E2%80%93present%29&diff=504872467&oldid=504782527 this] edit by TheAustinMan. PrimeHunter (talk) 19:15, 10 August 2012 (UTC)

::::::Same issue [http://en.wikipedia.org/w/index.php?title=Template_talk:Punctuation_marks&diff=497776322&oldid=497530586] here: ZWNJ showing pipe-like in a styled text. Would like to know in which situation (browser) this happens. -DePiep (talk) 13:09, 11 August 2012 (UTC)

:::::::I know it can happen on IE, because that's the browser I use. It just looks like a pipe to me, as that's something I'm familiar with. I had never seen the ZWNJ character before today. Shows how techincally oriented I am. :-) Giants2008 (Talk) 16:17, 11 August 2012 (UTC)

::::::::Don't worry, ZWNJ is mostly for non-Latin scripts and typographic issues ;-). It just should not show. Can you give the IE version? (others here mentioned "All OK" on their IE). -DePiep (talk) 16:33, 11 August 2012 (UTC)

:::::::::OK, at Template:Punctuation marks there are two infoboxes - one being the demo of the template itself, the other is in the documentation green box. In Firefox 14.0.1 these look the same: but in IE 7.0.5730.13 the one in the doc (only) looks like this. --Redrose64 (talk) 18:34, 11 August 2012 (UTC)

::::::::::We goddim. So IE 7.0. Added a note to {{tlx|zwnj}} template /doc. Curiously, the ZWNJ was deleted from the main template [http://en.wikipedia.org/w/index.php?title=Template:Punctuation_marks&diff=505036636&oldid=504470062 July 31]. Some delay occurred, but for this catch it was welcome. At last I got a chance to see it. - DePiep (talk) 18:53, 11 August 2012 (UTC)

:::::::::::I think my version is 7.0, but I'm not 100% sure. Does seem to fit the other evidence, though. Giants2008 (Talk) 22:31, 11 August 2012 (UTC)

::::::::::::Open the "Help" menu, and select "About Internet Explorer"; this should produce a box with a row beginning "Version:". --Redrose64 (talk) 22:36, 11 August 2012 (UTC)

:::::::::::::Thanks for the advice. My version is actually 9.0, so maybe the problem is more widespread from the IE end. Giants2008 (Talk) 18:08, 12 August 2012 (UTC)

Wow, excellent detective work, everyone. Thanks for all the help figuring this out. —Torchiest talkedits 14:43, 12 August 2012 (UTC)

:Finally came across this issue after being busy for the past few days. As to how I added them in the first place, I'm not very sure. TheAustinMan(Talk|Works) 20:46, 12 August 2012 (UTC)

:::Not your fault. The browser should not show ZWNJ. Ever. -DePiep (talk) 23:24, 12 August 2012 (UTC)

::::Yeah; what Microsoft are supposed to do, and what Microsoft actually do, are two different things; and probably always will be. --Redrose64 (talk) 23:38, 12 August 2012 (UTC)

WP Editor loses main text when going to a different page

So at some point, perhaps when they did the major upgrade, the behavior of the editor changed, and it automatically refreshes upon leaving to a different page and returning with the back button, contrary to the behavior of most of the net. This means one often will lose a lot of work (as I just did) if one accidentally clicks a stray link, or as had happened, had an edit conflict and instinctively hit the back button. ♫ Melodia Chaconne ♫ (talk) 04:25, 11 August 2012 (UTC)

:All my 5 browsers keep the edit text when I return with the browser back button: Firefox, IE, Chrome, Opera, Safari. Which browser do you have? PrimeHunter (talk) 11:17, 11 August 2012 (UTC)

::FF12, which doesn't have the problem for the majority of pages, and used to be fine (or at least earlier versions of FF) for WP. And please, no "upgrade FF" comments, as I have good reason to not do that. ♫ Melodia Chaconne ♫ (talk) 13:37, 11 August 2012 (UTC)

  • MSIE formerly reset edit-buffer on backspace key not back-key: Depending on the mode, in MS Internet Explorer, the backspace key would reset a newly edited page, to erase all changes and reset the edit-buffer to the original text. For that reason, when expecting a long edit, then first edit-preview the page, such as "Show changes" (none at first diff). Currently, the backspace key acts as browser "Back" and the edited text remains in the edit-buffer after clicking a link and returning Back. I ran the test on this page, as a "WP:" project-namespace edit, but I think even editing articles should retain the edit-buffer changes. I know it is extremely frustrating, so please keep another window nearby, or text-editor, to copy-paste changes (^A^C) every few minutes. If editing multiple articles/pages together, then save the edited text for each article in a separate local file, else a power-outage (storm or pet animal hits plug), or deletion of temporary files, could lose all prior changes to all edit-buffers. Otherwise, it is scary to make long edits, and I bet some new editors have quit because they lost some long edits. I expect much disappointment when people learn the new WYSIWYG interface can lose all tedious keystroke edits (which cannot be copy-pasted), unless there is a keystroke backup file for safety. -Wikid77 (talk) 13:21, 11 August 2012 (UTC)

:But there is also work to add instant save functionality after every few keystrokes. - Jarry1250 [Deliberation needed] 16:51, 11 August 2012 (UTC)

I've been getting this from time to time as well, and it isn't browser-specific, either - just happens around these projects sometimes. Turning off the fancy js edit toolbars and other edit box gadgets seemed to resolve it at least some of the time, though, so you could try doing that. -— Isarra 06:50, 13 August 2012 (UTC)

Okay, this may seem completely random, but did the page this happened on have an editnotice? -— Isarra 07:14, 13 August 2012 (UTC)

Parser functions and newlines

Is there some way to substitute newlines in wikitext? For example,

content.{{ {{{|safesubst:}}}#ifexist:Main Page|

}}== Heading==

doesn't work, because whitespace is trimmed within template/parser function arguments. Is there a way to circumvent this? (Note: I don't want displayed line breaks, I want to substitute wikitext line breaks.) — This, that, and the other (talk) 05:12, 11 August 2012 (UTC)

:There are various techniques, but they all rely on there being no whitespace at the start or end of the parser function's output. For example, you could move the full stop and the first equal inside it; if doing this, you'd also need to ensure that the "else" case is catered for:

content{{ {{{|safesubst:}}}#ifexist:Main Page|.

=|.=}}= Heading==

:of course, this does mean that there is a small amount of duplication. --Redrose64 (talk) 14:02, 11 August 2012 (UTC)

  • Could use dummy tags around newline: Another technique is to place dummy HTML tags (such as "<b/>") at the start/end of the newline, to prevent removal of the newline during parsing of the if-structure. So:

:::

Text here.{{ {{{|safesubst:}}}#ifexist:Main Page|

:::

}}More text here.

:::Result:
Text here.{{ {{{|safesubst:}}}#ifexist:Main Page|

:::}}More text here.

: However, there are some users who detest inserting dummy tags, so that could be a problem, such as issues of wp:Accessibility for screen readers. Use of "<b/>" is probably ok, but beware complaints. -Wikid77 (talk) 16:57, 11 August 2012 (UTC)

::I considered (and tried) that method: but for the specific case given, it doesn't work, because ==Heading== must occur at the very start of the line - dummy tags like {{tag|b|s}} kill it:

==Heading==

::so it appears as plain text. --Redrose64 (talk) 18:48, 11 August 2012 (UTC)

:* That is a good point, and using "<br>" for a newline also fails to trigger the "==Header==" so there is no direct general solution without placing the lead "=" inside the specific ifexist-structure. I would change the MediaWiki software to treat "<nl>" or such as a newline character within parameter text. -Wikid77 (talk) 19:57, 11 August 2012 (UTC)

:::I would like that wikicode "keep newline" solution. I can never trust my own whitespaces. (eg in template & table rows) -DePiep (talk) 20:28, 11 August 2012 (UTC)

::::While that would be useful for general use, the parserfunctions extension also really shouldn't be trimming out whitespace with comments at the ends as well, should it? That seems a little silly. -— Isarra 17:49, 13 August 2012 (UTC)

Closer Toolserver integration (or abusing iframes/javascript for fun and profit)

I've often wondered why there hasn't been any closer integration of toolserver tools and Wikipedia itself. The lack of integration often results in unnecessary duplication, and often clumsy workarounds (e.g. creating an account for acc, then having to manually verify that your are who you say you are). Other-times, the tool requires that you enter information that Mediawiki would already know.

While this has worked pretty well so far, I think looking towards the future, we should try and build a system that is better integrated . As an example, think something like facebook apps, but for Wikipedia. In order to give you an idea of what I'm thinking, I've created a user script that demos it. What the script does is, use javascript to create a fake special page, and then use an iframe to load the toolserver tool. For the rest of this post, I'll assume you have importScript('User:Chris G/fake toolserver apps.js'); in your Special:Mypage/vector.js.

= Basic Integration =

The simplest form of this, is just using the iframe and having no other data passed. Imagine something like Special:EditCount/Chris G (or for IP addresses WHOIS data). What benefits does this have? Well, it looks nice, and gives a better browsing experience (rather than hopping back and forth between Wikipedia and the toolserver).

= More personalised integration =

Using URL parameters we can pass information to the app, via the iframe (e.g.