Wikipedia:Village pump (technical)/Archive 94#MathML

{{Wikipedia:Village pump/Archive header}}

Problem in [[User:Ladsgroup/election.js]]

Hello, I wrote a tool for elections but I have problem. When I use this tool it gives me "leave-Edit warning message" I don't want it. How can I submit edits of everyone using the tool without this warning? —Preceding undated comment added 21:41, 13 October 2011 (UTC).

No more line graphs

The Edit History: Revision History Statistics pages of Wikipedia articles no longer display the line graphs normally shown under the "Edits over Time" and "Article size over time" headings. Instead, the areas load notices stating "Error loading file: [long web address]". Is it possible to know when/if this issue might be fixed?Ferox Seneca (talk) 23:27, 13 October 2011 (UTC)

:The PageStats tool is located at http://stats.grok.se, which in turn pulls the stats from http://dammit.lt/wikistats, which appears to be down. Looks like this is maintained by User:Henrik and there are discussions on his talk page about problems over the last week. ---— Gadget850 (Ed) talk 10:13, 14 October 2011 (UTC)

::The [http://stats.grok.se/en/201110/Malvern%2C%20Worcestershire Page Stats Tool] can be accesses from the link on any page history, works very fast, provides information just the way it should. I've never known it to let me down. An indispensable tooL --Kudpung กุดผึ้ง (talk) 10:26, 14 October 2011 (UTC)

:::Thanks!Ferox Seneca (talk) 01:21, 15 October 2011 (UTC)

TeX issues

When I'm logged in, using MathJax, this table looks OK:

:

\begin{array}{l||r|r|r||r|r|r}

\hline \\ \hline

L' & \Omicron & \lambda\alpha & \kappa\varepsilon & \Omicron & \alpha & \beta & \nu \\

\alpha & \alpha & \beta & \nu & \Omicron & \alpha & \beta & \nu \\

\alpha L' & \alpha & \lambda\delta & \iota\varepsilon & \Omicron & \alpha & \beta & \nu \\

\hline \\

\beta & \beta & \varepsilon & \mu & \Omicron & \alpha & \beta & \nu \\

\beta L' & \beta & \lambda\zeta & \delta & \Omicron & \alpha & \beta & \mu\eta \\

\gamma & \gamma & \eta & \kappa\eta & \Omicron & \alpha & \beta & \mu\eta \\

\end{array}

:

While not logged in and viewing it, all I see is error messages saying something failed to parse. Why? It's at User:Michael Hardy/Greek.chord.table.

:

Notice the format of one line:

: \begin{array}{l||r|r|r||r|r|r}

I had hoped that would result in two parallel vertical lines close together in two places. That actually works when LaTeX is used in a normal way on the Linux machine I'm typing this on. It doesn't work here. Is there some way to get that two work here, or, failing that, to get a thicker vertical line than in those places where one sees only a single vertical slash? Michael Hardy (talk) 23:57, 13 October 2011 (UTC)

:: OK, someone has pointed out that I'm trying to use more columns than what I've provided for.

::

:: (Some day error messages will say something other than just that something is wrong somewhere.)

:: Michael Hardy (talk) 03:09, 14 October 2011 (UTC)

:::I tried compiling this in TeXnicCenter and it gave me 13 errors, so probably a problem with your source ... -- King of ♠ 06:53, 14 October 2011 (UTC)

Two technical requests

There's two outstanding requests to edit template pages;

Due to the technical nature of them, I'm seeking help here. Thanks.  Chzz  ►  03:14, 14 October 2011 (UTC)

: Neither look particularly technical to me, just lacking in obviousness and evidence of consensus. The second even has [https://en.wikipedia.org/wiki/Special:ComparePages?page1=Template%3AJct%2Fshield%2FUSA&rev1=&page2=Template%3AJct%2Fshield%2FUSA%2Fsandbox&rev2=&action=&diffonly= a sandbox version to copy]. Anomie 03:33, 14 October 2011 (UTC)

::{{done}} -- WOSlinker (talk) 06:53, 14 October 2011 (UTC)

Compare Selected Revisions Problem

Since auto update to Firefox 7.0.1 (been a while), whenever I try to Compare Selected Revisions (hit the button), my system doesn't know what to do with the return index.php, and asks whether to save it or select the program to open it. I suspected was Firefox, but checking on IE 8.0.6001.18702 returning same error. I'm running on XP - Service Pack 3.Not a show stopper, but quite frustrating. Any suggestions for settings / installations gratefully received. Best wishes Haruth (talk) 20:55, 14 October 2011 (UTC)

:Works for me on this very page. FF 7.01, Ubuntu Linux 11.04 64-bit. Sometimes I have that issue when working on my localhost, but almost never on a live website. Weird. –Drilnoth (T/C) 21:00, 14 October 2011 (UTC)

::Drilnoth, you are a genius! Localhost was the key! I realised that as it also fails using my work computer, then it isn't any of the local settings, so had a trawl through the preferences tab, and was a bit concerned at some of the random changes that have appeared there. For some reason Use external diff by default (for experts only) was ticked, and as I amn't an expert, unticked it. Voila! Thank you kindly... (I know - scares me how it works sometimes too...:~D) Haruth (talk) 21:12, 14 October 2011 (UTC)

Image URLs and version numbers

I just found out I can link to MediaWiki images like http://bits.wikimedia.org/skins-1.18/vector/images/user-icon.png without the embedded version number; http://bits.wikimedia.org/skins/vector/images/user-icon.png. But it turns out that URL still point to the old version: http://bits.wikimedia.org/skins-1.17/vector/images/user-icon.png. I don't know the mechanics behind the URL rewrites (config?), but it seems the version-less URLs needs to be updated to point to the 1.18 branch. Edokter (talk) — 08:33, 14 October 2011 (UTC)

:Bugzilla:31711. Edokter (talk) — 09:56, 15 October 2011 (UTC)

Huggle

Hi all, this isn't a request for support I just hope someone who is technically able watch this page, so I decided to spam here a bit, instead of mediawiki irc, Huggle is a tool for dealing with vandals which is just as mediawiki completely created by volunteers. Unfortunatelly there are only 2 - 3 active developers, so I would like to notice that if there are people who understand c#, php and mediawiki and would like to participate on wikipedia dev project, we'd be happy if you join us! Please let me know in e-mail or feedback page in case you would like to join the team! Petrb (talk) 07:04, 15 October 2011 (UTC)

Reference count

Any chance there is a tool which counts the number of references wikipedia currently has and the average per article etc?♦ Dr. Blofeld 12:50, 15 October 2011 (UTC)

:With the number of ways to include a citation, this is going to be difficult. Wikipedia:Database reports/Templates transcluded on the most pages shows that {{tl|Citation/core}} is used on 1,378,239 pages; this probably includes the 941,236 uses of {{tl|cite web}} and the rest. ---— Gadget850 (Ed) talk 13:40, 15 October 2011 (UTC)

:: Based on that, it would probably be a low number, as in less than 1. That's what I would have predicted as well, anyway. Not that surprising considering how many random unreferenced stubs we have. Gary King (talk · scripts) 17:34, 15 October 2011 (UTC)

::: A crude method using AWB database scanner is to count the number of <ref or </ref> in articles dump. That includes the numerous short-long footnote style but doesn't include plain text or Harvard citation}} citations. — Dispenser 18:58, 15 October 2011 (UTC)

:The average per article isn't going to be helpful, I think. We're going to see a severe skew, with a small number of articles with large numbers of references and a large number with a small number of a references. In such cases the median is the more useful data point. --Izno (talk) 19:00, 15 October 2011 (UTC)

Reftoolbar 2.0

I'm using Reftoolbar 2.0, with the enhanced dialogues for tables, etc. enabled, on IE7. The named references and error check normally have pictures of clipboards, but they now show up as white boxes with red x's. All other images display fine, which leads me to believe the problem is with the toolbar, or the images themselves. I believe this issue started when 1.18 was implemented. Brambleclawx 21:15, 15 October 2011 (UTC)

"Page" menu letters filled in?

My drop-down menu is still visually broken after the upgrade, Help! For some reason the letter "P" and "e" are filled in (??) -- œ 04:56, 11 October 2011 (UTC)

: Which gadget has the “page” menu? — MarkAHershberger(talk) 23:35, 11 October 2011 (UTC)

::It is MediaWiki:Gadget-dropdown-menus.js. I proposed a change at User talk:Haza-w/cactions.js (another copy of the same script), but the admin who answered it said it was broken. I would appreciate if some other script-savvy users could find out what is wrong with that fix, since it works for me. — This, that, and the other (talk) 09:41, 12 October 2011 (UTC)

:Ok, here's a screenshot of what I'm seeing: [http://imagebin.org/178725] Notice the letters on the 'User' and 'Page' menus. That happened immediately after the upgrade and has never happened before, so it must be related somehow. Someone please tell me I'm not the only one seeing this. -- œ 03:44, 13 October 2011 (UTC)

:Also, I just realized the "filled in" effect is because there's extra down arrows. -- œ 03:46, 13 October 2011 (UTC)

::My suggestion is to switch back to MonoBook skin, which will move the Search box into the left-hand side and so allow more room for tabs, [//en.wikipedia.org/w/index.php?title=User:OlEnglish&action=history&useskin=monobook see here]. --Redrose64 (talk) 09:21, 13 October 2011 (UTC)

:::I finally got used to Vector and now I should switch back to Monobook? .. Wasn't exactly the solution I was looking for.. -- œ 13:34, 13 October 2011 (UTC)

:I think I see what is happening... "User" and "Page" should normally not be visible. One thing that did change with 1.18 is that the down-arrow icon was updated (it now inludes two icons). I don't know why the captions are shown, but I suspect that the tabs may be too wide because it may be conflicting with Twinkle's tab. Try turing off Twinkle to see if that resolves the problem. If so, it is indeed clashing with Twinkle. Edokter (talk) — 14:14, 13 October 2011 (UTC)

::Interesting.. disabling then re-enabling Twinkle in my preferences did indeed solve the problem. Thank you. -- œ 00:59, 17 October 2011 (UTC)

Remove this page from your watchlist?

When removing a page from the watchlist, we now get "Remove this page from your watchlist?" and an OK button. Any way to disable this? ---— Gadget850 (Ed) talk 12:24, 15 October 2011 (UTC)

:Er. I thought this might be a new feature in Vector, because I still use Monobook; but I just switched to Vector, and I don't get the question: it just spins the blue star and then unwatches as normal. --Redrose64 (talk) 12:45, 15 October 2011 (UTC)

:: A security enhancement to watching/unwatching pages was introduced; this change broke the User:Js/watchlist user script and probably was mentioned in a previous thread here. The author seems to have fixed the script (although I have not verified that by testing it myself), so please try bypassing or clearing your web browser's cache. PleaseStand (talk) 12:56, 15 October 2011 (UTC)

:::Aha! This happens when in Monobook when {{myprefs|9|Add page and user options to drop-down menus on the toolbar}} is enabled. User:Js/watchlist was 'fixed' by removing the unwatch feature. ---— Gadget850 (Ed) talk 13:31, 15 October 2011 (UTC)

:::: The script user:js/watchlist still has ajax unwatch links: your have to activate them by clicking x in the "Watchlist options" first. Or use unwatchLinksOnLoad = true; parameter in your common.js. — AlexSm 16:47, 15 October 2011 (UTC)

:::The gadget is User:Haza-w/Drop-down menus. The new messages are MediaWiki:Confirm-unwatch-top and MediaWiki:Confirm-unwatch-button. ---— Gadget850 (Ed) talk 15:55, 15 October 2011 (UTC)

::::I'm in Modern skin, and I just got the "Remove?" button, as I have been since the change over. As you mentioned up on Gadgets, the "Add page and user options to drop-down menus " wasn't checked on mine in the first place. Other than that, I'm not familiar enough with scripts to understand what you are advising. --Maile66 (talk) 20:59, 15 October 2011 (UTC)

:::::I'm glad I am not the only one confused when reading this thread. I use Monobook, and am getting the question and button. I would like to get rid of that. Can you tell me in simple instructions what I need to do? LadyofShalott 13:37, 16 October 2011 (UTC)

::::::Seems to me, the folks who brought us 1.18 should just push out a global remedy, rather than it being left up to the individual to figure out. If you go into "View and Edit Watchlist", you can remove from your watchlist without that message popping up. So, why would we need it to pop up when we mean to Unwatch from an individual page? --Maile66 (talk) 17:56, 16 October 2011 (UTC)

{{od}}

I use the Monobook skin and have {{myprefs|9|Add page and user options to drop-down menus on the toolbar}} enabled. This creates a Page tab with drop-dwn selections including Watch page/Unwatch page. When selecting Unwatch page, then the message appears. Without the gadget enable, the Unwatch tab works without the message. The gadget is User:Haza-w/Drop-down menus, and I reported the issue there.

:On Modern skin, {{myprefs|9|Add page and user options to drop-down menus on the toolbar}} is not enabled. Nonetheless, I have the drop down menus with the Watch/Unwatch. That's exactly where I get the message if I want to Unwatch. --Maile66 (talk) 18:30, 16 October 2011 (UTC)

:::::You have {{code|User:Haza-w/cactions.js}} in User:Maile66/modern.js which adds exactly the same feature via script rather than as a gadget. ---— Gadget850 (Ed) talk 18:38, 16 October 2011 (UTC)

If someone is experiencing this differently, please provide details. ---— Gadget850 (Ed) talk 18:23, 16 October 2011 (UTC)

Copying pro-forma templates

Here's [http://www.imgartists.com/?page=artist&id=674&c=2 a page with a button] which copies the main contents of the page to the user's clipboard. Could we have the some thing on template documentation, for copying blank or part-completed templates? Andy Mabbett (Pigsonthewing); Andy's talk; Andy's edits 20:18, 15 October 2011 (UTC)

:It's a chunk of javascript:

 

:The {{tag|div|o|params=id='artistContent'}} at the end is the marker for the start of the text to copy (the marker for the end of the text to copy being the matching {{tag|div|c}} later on in the page), and the {{tag|div|params=id="copyButton"}} actually displays the button. Not sure what the {{tag|div|params=id="copyButtonParent"}} is for. --Redrose64 (talk) 20:44, 15 October 2011 (UTC)

:: I prefer manipulating the template myself, so I just have a script that converts template examples to PRE forms so that they are easier to copy. Here is the script. The description I have for the script is: "Converts template examples in

 tags to