Template talk:Track gauge/Archive 5

2503mm gauge (proposed)
2503mm gauge (proposed) 180.199.48.216 (talk) 06:08, 14 March 2014 (UTC)
 * Metric input
 * Input: 2503mm
 * Result:
 * Imperial input
 * Input: 8ft2.5in
 * Result:
 * Source:
 * Project status: Cancelled project in Japan, then proposed project for trans-continental network linking from/to the Netherlands.
 * The source does mention the gauge size. google translation looks like it is a study, maybe by EU. Any more knowledge on how serious this is? Are eu/asian countries really gonna pay studies for a new gauge? And if it is cancelled on the island, what brought it to the mainland? -DePiep (talk) 18:37, 21 March 2014 (UTC)
 * . Not added for now, I'd like to have more sources about its seriousness. -DePiep (talk) 11:44, 3 April 2014 (UTC)
 * Complete and utter nonsense. No such plans exist in the Netherlands, they hardly manage to run the HSL-Zuid properly, the HSL-Oost was postponed and a proposed Maglev or traditional high-speed line to the north was cancelled.--Aaron-Tripel (talk) 17:04, 7 May 2014 (UTC)
 * ❌ Not a rail gauge. -DePiep (talk) 02:59, 12 May 2014 (UTC)

1384 gauge
Please add = 4' 6.5", as used in Scotland on the Dundee and Newtyle Railway  amongst others Tabletop (talk) 04:59, 30 March 2014 (UTC)
 * This one is already available, and is used in the article Dundee_and_Newtyle_Railway:
 * &rarr;
 * Or with alternative input:  &rarr;
 * Because the gauge is defined in ft-in, that is the input required and the ft-in size is placed first. I've added this to Template:Dundee and Newtyle Railway. Is this OK now? -DePiep (talk) 10:28, 30 March 2014 (UTC)
 * ✔️ -DePiep (talk) 11:46, 3 April 2014 (UTC)

Listing pages with certain gauges
Planned categorisation for Category:Articles with template RailGauge that may need attention. Intended to list all pages (article + category) with certain gauges, available for sweeping checks.
 * Will be removed from category
 * Current K, L, M, Y (760mm and 1067 mm ranges; think Bosnian and Cape)

Page will sort under letter:
 * Added
 * B -- Scotch, by metric input?
 * C -- 4 ft 6 in, Scotch
 * D -- 4 ft 6.5 in, near Scotch (& in Scotland)


 * F, , -- Irish, 'Victorian'


 * H -- 1664 mm, pre-Iberian
 * I -- 1668 mm, Iberian
 * J -- 1672 mm, pre-Iberian


 * R -- Russian 1520mm
 * S
 * T -- by metric input 1524 mm


 * X 1680mm, 1581mm, 1588mm, 5ft2.5in, 62.25in, 62.1875in (1580mm), 27.5in=699mm? -- special interest gauge (to clarify & cleanup usage)
 * ping . Planned introduction: few days from now.
 * -DePiep (talk) 22:31, 2 April 2014 (UTC)
 * Why remove K,L,M,Y?--Aaron-Tripel (talk) 07:52, 3 April 2014 (UTC)
 * Mainly because double-hits make the category less usefull for sweeps. A page that hits for K and Y may be listed in any one of those two. That means if you want to check the "K" hits, you must check the "Y" sublist too. Adding more hit values will make this worse. -DePiep (talk) 08:35, 3 April 2014 (UTC)


 *  Withdrawn deprecated, but available (no restrictions today). See the approach  below. That should serve the whole better. This category wil be abandoned later. -DePiep (talk) 08:43, 3 April 2014 (UTC)
 * ✅ Going live. It was ready for deployment, so we could do it just as well. See also no option. will follow later, for easier category checks if you have the patience (to wait for them to arrive). -DePiep (talk) 12:06, 3 April 2014 (UTC)

Categorize all

 * New plan&#x3a; each article with a RailGauge call will be categorized. And it will be categorized for each different gauge size.

The categories are named like Category:Pages that mention rail gauge 1000 mm. A category will include pages with both imperial and metric inputs for that size. The metric size is the identification. Since listing is uncritical, it must be a hidden maintenance category.

Example: inputs  and   and   all are recognized in {RailGauge}, and define the same gauge size of 610 mm. OK. Next, all articles that use any one of these inputs will be listed in category Category:Pages that mention rail gauge 0610 mm.

{RailGauge} has 12875 transclusions in all namespaces (page count). The articles will be in one of the 'mentions' categories to start with. A second, different rail gauge on that page will add that page to a second 'mentions' category. There is no overlap or mixing (after imp and met are thrown together).
 * What to expect:

There are some 290 RailGauge input entries recognized now. Because imperial and metric input can lead to a same gauge size id (see RailGauge input options), we can expect 150–200 categories. Categories can be empty (gauge size not used in articles).


 * Possible future use:
 * Editors can sweep a single category and check each article. That could clean up and improve a single gauge in the whole WP. An editor can add a page to a content category after judgement. Bring the mentionings in line.
 * Gathering sources for a gauge. Rail gauges can be better documented (sourced). This would also improve the template list itself (documentation as a central repository for gauge definition).
 * Unused gauge definitions can be detected (their category will be empty). They can be proposed for removal from the {{RailGauge} list, or otherwise be researched.


 * Todo:
 * 1) Category creation is to be automated (e.g., use a preload), a parent category must be added and it must be set hidden. Parent category can be Category:Pages that mention an explicit rail gauge.
 * 2) Pages single {RailGauge} calls can be exempted from this categories. This way sidebar track gauge on a page can be set not to categorize that page (other {RailGauge} calls on that page will).
 * 3) Subsort pages nuder "I" and "M" for imperial or metric input? Double hits = confusion alert.
 * 4) Category name be standard "0610 mm" to improve sorting.
 * 5) The list for {RailGauge} documentation and its links is to be automated (category link, target page link, all recognised options).
 * 6) Any questions?

Bets are on: how many pages articles mention standard gauge?
 * Bets

-DePiep (talk) 09:51, 3 April 2014 (UTC)
 * Good to see this plan. Standard gauge? Around 10,000.--Aaron-Tripel (talk) 10:12, 3 April 2014 (UTC)
 * Thanks for the support. I'd say sg 8k. -DePiep (talk) 10:53, 3 April 2014 (UTC)
 * ✅. See Category:Articles that mention a specific rail gauge -DePiep (talk) 23:35, 4 May 2014 (UTC)

Code changes 3 April 2014
As discussed in sections above:
 * 
 * Adding and changing individual gauges.


 * 
 * More are added, like.
 * All links are visible in the tempalte documentation


 * 
 * Code changes.
 * pages will added to Category:Articles with template RailGauge with unrecognized input‎, caused by deprecated input (no more  for 600mm, 5'6" for 5ft6in. Also, category pages are listed here, next to articles).
 * Added: no to prevent maintenance categorizing.


 * 
 * e.g. Russian gauge pages are categorized under "R", in Category:Articles with template RailGauge that may need attention.
 * For now, available for what it is worth. (Usage is cumbersome for double hits-problem).
 * This system will be deprecated in the near future (see section ).
 * In preparation to go live. -DePiep (talk) 12:02, 3 April 2014 (UTC)
 * ✅. Gone live from sanboxes. Both module:RailGauge and module:RailGauge/data. -DePiep (talk) 13:09, 3 April 2014 (UTC)

Gauge proposals, April 2014
E.g., Frimley Lodge Park Railway. Has source.
 * 3.5 in re-add (89 mm)

Was removed together with the "89 mm" gauge (does not exist as a gauge, but in 89mm from Europe film title). Since it exists, it should be available. -DePiep (talk) 14:19, 3 April 2014 (UTC)
 * In sandbox -DePiep (talk) 14:52, 9 April 2014 (UTC)

Unitless numbers for mm were removed (not recognized any more). Given their iconic use, it better be allowed for the big ones. -DePiep (talk) 07:56, 4 April 2014 (UTC)
 * Reinstall short numbers "1067" 1067, 1520, 1524, 610, 600, 750, 760, 762, ...
 * - No problematic pages any more. (~1000 were corrected). Using plain numbers is not stimulated. Not in current sandbox proposal. -DePiep (talk) 14:52, 9 April 2014 (UTC)

Disturbs the regularity that size is by imperial or metric pattern (by adding third, cultural option).
 * Victorian remove as separate entry. Cultural regional, like Cape. Check actual meaning. Irish.

-DePiep (talk) 21:29, 7 April 2014 (UTC) -refined -DePiep (talk) 05:33, 8 April 2014 (UTC)
 * - postponed, not sure how to handle such sub-definition (culturally used) -DePiep (talk) 14:52, 9 April 2014 (UTC)

These imperial input aliases (without unit) are the same as another gauge. Example, "9" (inch) input is ambiguous with existing "9" mm gauge.
 * Ambiguous number input
 * Input alias 9 (imp) from id=229 mm doubles with gauge id=9 mm
 * Input alias 12 (imp) from id=305 mm doubles with gauge id=12 mm
 * Input alias 12 (imp) from id=305 mm doubles with gauge id=12 mm
 * Input alias 18 (imp) from id=457 mm doubles with gauge id=18 mm
 * Input alias 19 (imp) from id=483 mm doubles with gauge id=19 mm
 * Input alias 22 (imp) from id=559 mm doubles with gauge id=22 mm
 * Input alias 24 (imp) from id=610 mm doubles with gauge id=24 mm
 * Input alias 30 (imp) from id=762 mm doubles with gauge id=30 mm
 * Input alias 32 (imp) from id=813 mm doubles with gauge id=32 mm
 * Input alias 33 (imp) from id=838 mm doubles with gauge id=33 mm
 * Input alias 35 (imp) from id=889 mm doubles with gauge id=35 mm
 * Input alias 3 (imp) from id=914 mm doubles with gauge id=3 mm
 * Input alias 45 (imp) from id=1143 mm doubles with gauge id=45 mm
 * Input alias 45 (imp) from id=1143 mm doubles with gauge id=45 mm
 * Input alias 4 (imp) from id=1219 mm doubles with gauge id=4 mm
 * Input alias 63 (imp) from id=1600 mm doubles with gauge id=63 mm
 * Input alias 7 (imp) from id=2140 mm doubles with gauge id=7 mm
 * Input alias 7 (imp) from id=2140 mm doubles with gauge id=7 mm

-DePiep (talk) 17:39, 8 April 2014 (UTC)

. Articles will appear int the "unrecognised" category. (These ambiguous numbers also disturb automated template documentation, now being developed). -DePiep (talk) 12:02, 9 April 2014 (UTC) -- corrected input -- corrected input
 * Removed, as in sandbox -DePiep (talk) 14:52, 9 April 2014 (UTC)
 * Will list pages in maintenance category for correction. Page edits needed. -DePiep (talk) 14:52, 9 April 2014 (UTC)

Used but not sourced: Tram track gauge and Metre gauge. Old issue.
 * 1013 mm, 3 ft $3 7/8$ in. imp or met? Metric: Sofia, Bulgaria.
 * +39+7/8 in -- check
 * Or is this a 40 in, rounding issue?
 * 40 in -- check
 * Or is this a 40 in, rounding issue?
 * 40 in -- check
 * 40 in -- check

-DePiep (talk) 11:44, 9 April 2014 (UTC)
 * In sandbox -DePiep (talk) 14:52, 9 April 2014 (UTC)

rm input options &lt;1 inch by number:0.177 0.250 0.25 0.256 0.276 0.353 0.413 0.470 0.563 0.650 0.865 0.883. Use units like  or. -DePiep (talk) 14:16, 9 April 2014 (UTC)
 * rm under-1 inch numbers

&tc. Aricles to be corrected will be listed in "unrecognised" category. -DePiep (talk) 14:52, 9 April 2014 (UTC)
 * Removed, from sandbox -DePiep (talk) 14:52, 9 April 2014 (UTC)
 * Will list pages in maintenance category for correction (add unit). Page edits needed. -DePiep (talk) 14:52, 9 April 2014 (UTC)


 * 1.5ft is 17in and 2.5ft is 30in? rm

-DePiep (talk) 16:52, 9 April 2014 (UTC)
 * - removed, sandbox. -DePiep (talk) 16:52, 9 April 2014 (UTC)
 * Will list pages in maintenance category for correction. PAge edits needed. (need to check and correct ft in measure). -DePiep (talk) 16:52, 9 April 2014 (UTC)


 * rm x.125, x.5, x.75 plain numbers with decimals.

-DePiep (talk) 19:07, 9 April 2014 (UTC)
 * Sandbox. -DePiep (talk) 19:07, 9 April 2014 (UTC)
 * Kept x.5, x.125, too much to handle. (almost every imperial size has one). -DePiep (talk) 19:48, 9 April 2014 (UTC)
 * Did rm: 62.1875, 1.125, 1.177, 1.766, 1.772, 4.75, 8.25, 22.75, 23.75, 27.75, 33.75, 40.75, 55.75, and 24.125, 37.125 -DePiep (talk) 19:48, 9 April 2014 (UTC)
 * rm from sandbox. -DePiep (talk) 19:48, 9 April 2014 (UTC)
 * Will list pages in maintenance category for correction (add unit). -DePiep (talk) 19:48, 9 April 2014 (UTC)


 * Recap. Changes in the plain numbers (numbers without unit). For most of these: in the article, add a unit to the number That is usually ft in (or ' ").
 * 1) Ambiguous numbers: removed the imperial one. eg: both "9" inch, mm gauge exist --> rm 9 for 9in (15x).
 * 2) Removed detailed numbers. E.g., "62.875" (in). No need to have those available unspecified.
 * 3) Same for: x.75, x.1256, x.177, x.258 and stranger. All these are imperial inch (40x?).
 * 4) Added: every imperial input can be done by ' " for ft in (?x).
 * 5) 1.5ft could mean 12+5 or 12+6 in, so removed them all (6x). To enter: 17in or 18in.
 * 6) General: ' and " are accepted equally as ft in input. The output will show ft and in.
 * 7) General: In the near future, plain number input can always mean the size in mm. So "1009" defines gauge "1009 mm". This will be used in automated documentation too. Of course the mm size must be in the list.
 * 8) Unchanged: regular sizes like "600", "500", "1435" (mm), "15" (in).
 * 9) All pages with issues from this will appear in Category:Articles with template RailGauge with unrecognized input
 * 10) No earlier unknown gauges should appear in the "unrecognized input" category (3.5in, 1013mm covered now).
 * -DePiep (talk) 20:41, 9 April 2014 (UTC)

Preparing /data page to go live. Module main code unchanged. -DePiep (talk) 20:41, 9 April 2014 (UTC)

✅. Module:RailGauge/data updated with /sandbox file. -DePiep (talk) 21:55, 9 April 2014 (UTC)
 * So far, less than 200 pages needed an edit. -DePiep (talk) 08:09, 10 April 2014 (UTC)

Individual gauge sizes
See List_of_track_gauges. Currently commented out. Possibly just need a flip (metric first).
 * 825 mm, 838 mm. To check.


 * -DePiep (talk) 22:01, 9 April 2014 (UTC)
 * ❌ No changes. Definition by mm would need more sources. -DePiep (talk) 20:47, 22 April 2014 (UTC)


 * 18.5 in, or 1 ft 6.5 in 670 mm.
 * A nice new catch in Travel Town Museum by Jackdude101 (Aaron-Tripel pointed to it). Sourced there as probably unique. Scales sg ~1:3.
 * 18.5 in --check
 * -DePiep (talk) 10:04, 12 April 2014 (UTC)
 * In sandbox. -DePiep (talk) 10:04, 12 April 2014 (UTC)
 * In sandbox. -DePiep (talk) 10:04, 12 April 2014 (UTC)

By imperial ft in used in Hudswell Clarke. No source there, no mentioning at all in its link Phyllis Rampton Narrow Gauge Railway Trust. Needs a source for the imperial definition. Otherwise, use metric with imp} flip. (Could be that the metric one is badly defined too).
 * 1ft9.65in or 21.65in for 550 mm


 * 21.65 in --Check
 * -DePiep (talk) 12:18, 12 April 2014 (UTC)
 * ❌ - No changes. No source that it is defined in inches. Use 550 mm. -DePiep (talk) 20:52, 22 April 2014 (UTC)


 * 3ft10in
 * In Fajardo, Puerto Rico . By.


 * Needs base.
 * -DePiep (talk) 19:19, 22 April 2014 (UTC)
 * I didn't fully investigate this gauge, it is defined in mm: Trams of the World 2013 p. 46
 * --Aaron-Tripel (talk) 19:30, 22 April 2014 (UTC)
 * I prefer need a pause too. (jee. 3ft10in or 46in is not 4ft10in.)
 * because there is also: &rarr;.
 * I suggest we wait until some Ohios "1473 mm" pages can be checked through (upcoming) "mentions" catgegory. -DePiep (talk) 19:40, 22 April 2014 (UTC)
 * A bit strange. Why don't we have  simply? -DePiep (talk) 19:46, 22 April 2014 (UTC)
 * I totally messed up. It's 46in. -DePiep (talk) 20:03, 22 April 2014 (UTC)


 * Needs source (could be in mm as user:Aaron-Tripel says).
 * Added to sandbox. -DePiep (talk) 20:03, 22 April 2014 (UTC)
 * Added to sandbox. -DePiep (talk) 20:03, 22 April 2014 (UTC)


 * German wiki states 1,166 mm, unsourced: --Aaron-Tripel (talk) 21:28, 22 April 2014 (UTC)
 * . Needs research. -DePiep (talk) 22:00, 22 April 2014 (UTC)
 * Fajardo is in Puerto Rico, so it used US units: imperial. I did not find any definition in the sources, but I assume they exist (the railway was build). The German (unsourced) calculation of 1.166 mm (?) can be dismissed.
 * All together, I think we can add the imperial size to the list (as is done in the sandbox). Better ideas are welcome as always. -DePiep (talk) 22:44, 22 April 2014 (UTC)
 * I haven't been able to find other sources. So I agree with the imperial definition.--Aaron-Tripel (talk) 06:41, 23 April 2014 (UTC)
 * Outcome:  is the source, and so is proposed (now in sandbox; imperial definition & aliases only). "1166 mm" is most likely a miscalculation. As always, future sources can bring a change. -DePiep (talk) 19:17, 23 April 2014 (UTC)
 * By the way, I'll use Fajardo, Puerto Rico as the target page (for on). This is the best way to source gauges. -DePiep (talk) 19:20, 23 April 2014 (UTC)

Conversion improvements
It appears that some conversions (in -- mm) are imprecise. The next calculations need a change. Only the calculated values are changed, not the indentifying aliases (definitions).


 * 1100 mm


 * 43+14/32 in -- live ❌
 * 43+9/32 in -- $43 9/32$
 * 43+10/32 in -- $43 10/32$ ✅
 * -DePiep (talk) 08:45, 13 April 2014 (UTC)
 * In sandbox. old $7/16$ is clearly off, a mistake. -DePiep (talk) 20:18, 22 April 2014 (UTC)


 * 8 ft


 * 8 ft -- check
 * Archive discussion. 2400 is bad rounding. 38mm off (1.5%) is too much. Can be 2440 mm. -DePiep (talk) 10:34, 13 April 2014 (UTC)
 * In sandbox: 2440 mm. Precision may be disputed further on. -DePiep (talk) 20:27, 22 April 2014 (UTC)


 * 1850 mm


 * 1850 mm -- check
 * 73 in -- check ❌
 * 72+7/8 in -- check ✅
 * The fraction looks better is more precise $72 7/8$. -DePiep (talk) 10:48, 13 April 2014 (UTC)
 * Don't know if this precision is needed. -DePiep (talk) 11:45, 13 April 2014 (UTC)
 * ❌ Doubted. -DePiep (talk) 20:36, 22 April 2014 (UTC)


 * 700mm and 2 ft 3.5 in


 * I guess we should declare them the same: 700mm gauge = 27.5in gauge. Will have to look at the sources to be safer. -DePiep (talk) 11:01, 13 April 2014 (UTC)
 * ❌ NO change. Especially a "merge definition" should be discussed. -DePiep (talk) 20:34, 22 April 2014 (UTC)


 * 1680mm
 * Gauge not sourced yet.


 * 66+5/32 in
 * 66+4/32 in --1/8 ✅
 * $66 1/8$ looks precise enough (within 0.5mm). -DePiep (talk) 11:24, 13 April 2014 (UTC)
 * In sandbox. -DePiep (talk) 20:34, 22 April 2014 (UTC)


 * 860 mm


 * 33+27/32 in
 * 33+28/32 in --$7/8$ is precise enough (within 0.5mm)
 * -DePiep (talk) 11:45, 13 April 2014 (UTC)
 * In sandbox. -DePiep (talk) 20:34, 22 April 2014 (UTC)


 * 450 mm


 * 17+23/32 in
 * 17+24/32 in -- So 17 3/4 is 0.85 mm off.
 * -DePiep (talk) 16:43, 13 April 2014 (UTC)
 * ❌ No change, should be discussed. -DePiep (talk) 20:42, 22 April 2014 (UTC)

Page links
This subsection is about pages that a gauge can link to (using on).


 * In general: every gauge should have a page link. Maybe that could be narrow gauge, broad gauge &tc. Any ideas about this?


 * Page link page for 23.5 in and 23.75 in, 24.15in
 * See Llanberis Lake Railway, Penrhyn Quarry Railway. 23.5 in and 23.75 in are made linking to Two foot and 600 mm gauge railways. Is this correct? If so, then add that page as wikilink for this gauge.


 * Original ones:


 * -DePiep (talk) 06:27, 10 April 2014 (UTC) and 06:35, 10 April 2014 (UTC)
 * Both are within or nearby the range. Will add the page link to both. -DePiep (talk) 08:12, 10 April 2014 (UTC)
 * And their metric input 597mm, 603mm. Added five in total.
 * In sandbox. -DePiep (talk) 08:18, 10 April 2014 (UTC)
 * 23.75in gauge template also has 1ft11.75in entry; 23.5in also has 1ft11.5in entry.--Aaron-Tripel (talk) 08:43, 10 April 2014 (UTC)
 * Yes, and these are caught too (because they already point to exactly the same gauge definition in our list):
 * -DePiep (talk) 09:38, 10 April 2014 (UTC)
 * Adding: for each of the metric input options, we have the freedom to add page link separately (or a different page link). As alwys, spelling variants lead to the same definition. (with metric defined first). I added the link for two metric inputs, as described above. -DePiep (talk) 10:00, 11 April 2014 (UTC)
 * Oops. Of course, if 24.125 in is considered & linked 2ft/600mm range, then its metric twin brother should be linked as well. I will add the link for 613mm. -DePiep (talk) 13:15, 12 April 2014 (UTC)
 * Oops2 again. 613 mm is not defined as a gauge at all. Nothing to link. -DePiep (talk) 13:17, 12 April 2014 (UTC)
 * Conclusion: sandbox proposal is OK. -DePiep (talk) 21:53, 22 April 2014 (UTC)
 * Oops. Of course, if 24.125 in is considered & linked 2ft/600mm range, then its metric twin brother should be linked as well. I will add the link for 613mm. -DePiep (talk) 13:15, 12 April 2014 (UTC)
 * Oops2 again. 613 mm is not defined as a gauge at all. Nothing to link. -DePiep (talk) 13:17, 12 April 2014 (UTC)
 * Conclusion: sandbox proposal is OK. -DePiep (talk) 21:53, 22 April 2014 (UTC)


 * 891 mm = Swedish 3 foot by name always
 * If I understand it well, 891 mm is Swedish three foot always. We can add named input option . Page link is to Swedish three foot gauge railways.:
 * -DePiep (talk) 10:00, 11 April 2014 (UTC)
 * In sandbox. -DePiep (talk) 10:00, 11 April 2014 (UTC)
 * In sandbox. -DePiep (talk) 10:00, 11 April 2014 (UTC)

Automated gauge documentation
Template documentation (/doc) now is automated to show the gauge data as it is in the data list. Comments are welcome. Especially, if there are target pages (to be linked to), we'd like to add them. . -DePiep (talk) 13:55, 14 April 2014 (UTC)
 * Looks good! The sections "Optional parameters" and "TemplateData" appear to be overlapping and might be merged.--Aaron-Tripel (talk) 14:09, 14 April 2014 (UTC)

Another track gauge

 * 480mm

For Permanent way (history) instead of 480 mm  instead of 480 mm Peter Horn User talk 01:12, 21 April 2014 (UTC)
 * Thanks. Has source page. That's:
 * +18+27/32 in
 * +18+28/32 in
 * +18+29/32 in
 * Applied: $18 7/8$ inch in sandbox, for going live. -DePiep (talk) 18:35, 21 April 2014 (UTC)
 * In sandbox. -DePiep (talk) 19:47, 21 April 2014 (UTC)
 * In sandbox. -DePiep (talk) 19:47, 21 April 2014 (UTC)


 * So now how do I get it put of the sandbox? Peter Horn User talk 01:03, 22 April 2014 (UTC)
 * I'll move it to the live version shortly. -DePiep (talk) 10:19, 22 April 2014 (UTC)
 * Is the precision ok?
 * Other changes need a check too. Like the "3ft10in" found and added today. -DePiep (talk) 19:22, 22 April 2014 (UTC)
 * We can and should source this fact at the base on page. -DePiep (talk) 21:26, 22 April 2014 (UTC)


 * . I have planned to add this one next Friday (May 2nd). By that same edit, we will fill a categorised overview per rail gauge size, via Category:Articles that mention a specific rail gauge. I hope you can see the usefulness. -DePiep (talk) 20:19, 29 April 2014 (UTC)
 * Check: 18+7/8 in Peter Horn User talk 22:13, 30 April 2014 (UTC)
 * ✅ -DePiep (talk) 00:41, 3 May 2014 (UTC)

New (to add)

 * Not in the {RailGauge} list yet. (Please provide source and article(s) with any proposal).


 * 63.5mm, 64mm, 2.5inch, 63mm. 63.5mm, 64mm are not the same ? 2 gauge, Nn3 scale.
 * Considered "new" for changing gauge definitons. And to reduce section clutter.

--NEM II --2 gauge

-DePiep (talk) 03:13, 12 May 2014 (UTC)
 * Oppose. This is 6.5 mm (Z gauge), not 65mm. Andy Dingley (talk) 10:02, 12 May 2014 (UTC)
 * It's more of a yes/no question: we have them defined apart, but are they really different? I've added two links; no time to check for now. -DePiep (talk) 23:50, 12 May 2014 (UTC)
 * Andy Dingley@undefined six-point-five is definitely not what I meant. See below for those six-four sizes. -DePiep (talk) 05:54, 15 May 2014 (UTC)
 * See Talk:2_gauge. Result, so far:
 * A. Remove definition "63.5mm" completely (will only appear as a conversion result)
 * B. Merge {RG} definitions "64mm" and "$2 1/2$ inch" to be the same.
 * C. Remove "63mm" altogether (not used, not sourced).
 * (It will be:, both in definition & conversion)
 * Please discuss at the talkpage linked. -DePiep (talk) 05:54, 15 May 2014 (UTC) -correction wrt 63.5mm -DePiep (talk) 06:22, 15 May 2014 (UTC)
 * Done A, B, C in data/sandbox . See the top checks for effect.
 * input has 6 in cat:mentionings; will appear in cat:unrecognised, for check & edit into "64mm" or maybe "2.5in". -DePiep (talk) 07:53, 16 May 2014 (UTC)
 * input has 6 in cat:mentionings; will appear in cat:unrecognised, for check & edit into "64mm" or maybe "2.5in". -DePiep (talk) 07:53, 16 May 2014 (UTC)


 * 89mm again: is defined in mm by NEM010 - NEM]]

--existing alias; no article link for imperial definition yet.
 * cat:Ment's

-DePiep (talk) 03:19, 12 May 2014 (UTC)
 * So it is defined by NEM in metric, but not used at all in this wiki. 3.5 inch is. -DePiep (talk) 10:06, 20 May 2014 (UTC)
 * It is mentioned the source page, but by using {convert}.
 * Re-added to sandbox the metric one, sourced by MOROP/NEM. -DePiep (talk) 10:47, 20 May 2014 (UTC)

Source in Narrow gauge railways in Sweden, defined at 28 Swedish inches. more sources in my todo list, will be used when describing individual railways in the latter article.
 * 693mm to add


 * Check: 27+9/32 in
 * added to sandbox. -DePiep (talk) 21:26, 7 May 2014 (UTC)

Alloa Waggonway and Tranent to Cockenzie Waggonway, 3ft3in, converted to 990.6mm, unsourced. Talk:Alloa Waggonway and Talk:Tranent to Cockenzie Waggonway
 * 3ft3in (990.6mm) to add and to be researched


 * Check: 991 mm -- Precise enough, no need to use decimal mm's.
 * Added to sandbox, imperial. Depending further source quality. -DePiep (talk) 21:48, 7 May 2014 (UTC)
 * Add and keep in our list until sources prove otherwise I'd say. Will link to Tranent to Cockenzie Waggonway, which hass a printed source by Philip Ransom (could be what we are looking for). Further research through the articles. -DePiep (talk) 07:36, 16 May 2014 (UTC)

Source in Narrow gauge railways in Sweden, defined at 44 Swedish inches. more sources in my todo list, will be used when describing individual railways in the latter article. Swedish interwiki to Christinehamn - Sjöändans järnväg found, is in latter article.--Aaron-Tripel (talk) 12:27, 5 May 2014 (UTC)
 * 1099mm to add


 * 43+9/32 in -- even more close, but the $1/4$ inch is still &lt;0.5 mm so that's good enough.
 * added to sandbox. -DePiep (talk) 21:37, 7 May 2014 (UTC)

Carmelit (Israel) mentions '1980 mm' with a source. This could be a calculation variant (by rounding) of definition. Needs research. --source (metric) --more precise, but not used anywhere --existing -DePiep (talk) 16:36, 4 May 2014 (UTC) Could be a situation: 'same gauge, defined different' (like  and   definition for same 3ft gauge). -DePiep (talk) 16:36, 4 May 2014 (UTC)
 * 1980 mm, 1981 mm are the same? Category:Articles that mention rail gauge size 1981 mm
 * Discussed further at Talk:Carmelit. A conclusion there can be used here for {RailGauge}. -DePiep (talk) 19:10, 4 May 2014 (UTC)

Conclusion: this quacks like a 6ft6in duck, but the current source is king: 1980mm (by metric, and not the more precise 1981mm).
 * Added "1980mm" to sandbox. (Gauge id remains 1981mm). -DePiep (talk) 22:07, 7 May 2014 (UTC)
 * Not sure we should add this. See the talkpage about the source quality. -DePiep (talk) 19:12, 9 May 2014 (UTC)
 * Add "1980mm" to mean 6ft6in. -DePiep (talk) 21:08, 14 May 2014 (UTC)

Change

 * 2140mm (Brunel gauge): remove the metric option

Brunel was never defined in metric. This input option was supposed to help editors, but it may be better to use the definbing alias: "Brunel, "7ft", 7ft0.25in" &tc. Articles that use this one will appear in category:unrecognised, for e check & an edit into imperial units. -DePiep (talk) 19:50, 17 May 2014 (UTC)
 * from sandbox. -DePiep (talk) 19:52, 17 May 2014 (UTC)

Were recently added as a shortcut alias for standard gauge (by me). It appears they are not definitions, but references to s.g. (read, "EU states that new railways must be s.g."). Sources are not that convincing. I also think an editor is not helped when these fishy "gauge names" can be used. Will not have been used much since introduction on 2 March 2014, but they may appear in cat:unrecognised for edit (into "sg"). -DePiep (talk) 10:10, 17 May 2014 (UTC)
 * EUsg, UICsg, aliases for s.g.: remove
 * from sandbox. -DePiep (talk) 10:10, 17 May 2014 (UTC)

now has its own page, therefore the lk=on parameter should be enabled: 800 mm gauge railways.--Aaron-Tripel (talk) 15:08, 22 May 2014 (UTC)
 * 800mm: apply lk=on parameter


 * . In sandbox. -DePiep (talk) 16:15, 22 May 2014 (UTC)

Unclear (to be researched)

 * The full existing category is for discussion. Not empty.

See Talk:British_narrow_gauge_railways.
 * 1029mm (40.5 inch) Category:Articles that mention rail gauge size 1029 mm (1 P)
 * See below, idea to make possible. -DePiep (talk) 08:08, 11 May 2014 (UTC)
 * No changes to the RG/data for now. -DePiep (talk) 10:02, 20 May 2014 (UTC)

--see HOe scale --page link? --page link? -- see Z-scale These are theoretical gauges from scaled modeling. For example: given a 9mm model gauge, then calculate some prototype (real life) gauge from that by applying an arbitrary scale:. (The original prototype for 9mm is standard gauge by HO scale). proposes to remove these gauges, and use instead. . -DePiep (talk) 08:47, 11 May 2014 (UTC)
 * 783mm, 857mm and 1257mm theoretical gauges (model prototypes); support?
 * For now, I'd propose too support them (keep or add, when sourced). AHving them in {RG} allows us to track & search them. The circa 60 scaled gauges we use (&lt;100mm) need a check. In that process, these theoreticals could be based. A bit similar is that we know, which has never been build. -DePiep (talk) 08:47, 11 May 2014 (UTC)
 * Breitspur is a different case as the gauge was actually defined, having a project status with engineers assigned.--Aaron-Tripel (talk) 12:39, 11 May 2014 (UTC)
 * Added for completeness: 6.52mm case. -DePiep (talk) 02:51, 12 May 2014 (UTC)
 * No changes to the RG/data for now. -DePiep (talk) 10:02, 20 May 2014 (UTC)

Scaled gauges (to research)

 * See also the and  discussion above. -DePiep (talk) 08:07, 16 May 2014 (UTC)


 * 0.470in, 0.473in, 12mm see TT scale

--now used by {convert}

-DePiep (talk) 03:44, 12 May 2014 (UTC)
 * What is my point here? ;-) -DePiep (talk) 10:06, 20 May 2014 (UTC)
 * The question is how to write the "0.473in" input definition. In this case, several calculations, roundings and modeling standards end up in neighboring gauge sizes. Some old notes are here. This needs some source searching. The page can use input "0.473in" instead of {convert}. -DePiep (talk) 11:43, 20 May 2014 (UTC)
 * Too much monkey business. Postponed for now, no changes to /data. -DePiep (talk) 11:43, 20 May 2014 (UTC)

Idle (to remove)

 * These gauges are currently defined in the RailGauge list, but have no usage in this wiki and no source. They are to be removed from the RailGauge list. Category is empty.
 * When a change is accepted, it will be done & checked in the sandbox first.


 * 63mm Category: Articles that mention rail gauge size 63 mm (0 P)
 * See related and  topic above.
 * from sandbox. -DePiep (talk) 08:01, 16 May 2014 (UTC)


 * 63.5mm Category: Articles that mention rail gauge size 63.5 mm (6 P)
 * See related and  topic above (merged definitions).
 * from sandbox. -DePiep (talk) 08:01, 16 May 2014 (UTC)

To check
 * 108mm Category: Articles that mention rail gauge size 108 mm (0 P)
 * Not used, and so not sourced. Can be deleted.
 * from sandbox. -DePiep (talk) 12:03, 9 May 2014 (UTC)

Only mentioned at "Biwater Pipes and Castings, Clay Cross" in British industrial narrow gauge railways. Source is Worldwide two foot railroad listing which states: "2' 3 1/2" which was taken from Industrial Narrow Gauge Railways in England which states: "(2ft, 3ft 0.5ins, 2ft 10.5ins gauge"
 * 699mm <- 2ft $3 1/2$in Category:Articles that mention rail gauge size 699 mm (0 P)

This Worldwide two foot railroad listing is very usefull (I even transformed it to word format a year ago) but contains a lot of errors.

Changed from one fake gauge to three different gauges, out of which 3ft0.5in isn't defined yet (Diff). Will be researched, the 699mm category can be dropped (positively not related to 700mm)--Aaron-Tripel (talk) 14:28, 5 May 2014 (UTC)
 * from sandbox. -DePiep (talk) 12:03, 9 May 2014 (UTC)
 * - Cuban Sugar usage popped up. Pause this deletion, for now. See above (699 mm). -DePiep (talk) 10:33, 14 May 2014 (UTC)
 * 3ft3.5in (699mm) to be removed, but pops up again
 * Is mentioned in List of 2 ft 3 in gauge railways; it used {convert} so we didn't see it. Has source, but that mentions another source: from Ray Walter’s ‘Narrow Gauge in Cuba’ notes for the Sixth Australian Narrow Gauge Convention, Sydney 2003. -DePiep (talk) 10:31, 14 May 2014 (UTC)
 * Is mentioned in List of 2 ft 3 in gauge railways; it used {convert} so we didn't see it. Has source, but that mentions another source: from Ray Walter’s ‘Narrow Gauge in Cuba’ notes for the Sixth Australian Narrow Gauge Convention, Sydney 2003. -DePiep (talk) 10:31, 14 May 2014 (UTC)


 * The Zelmeroz com which was referenced for this Cuban 699 contradicts itself, on this page 700mm is specified. This page clearly indicates to me that 2ft 3 1/2 inch is just a wrong rounded conversion of 700mm.--Aaron-Tripel (talk) 11:39, 14 May 2014 (UTC)
 * See alse talk there. Conclusion with current sources: metric definition, 700mm. -DePiep (talk) 13:15, 14 May 2014 (UTC)
 * Removal stands. -DePiep (talk) 13:15, 14 May 2014 (UTC)

To check. Not used, so not sourced.
 * 864mm Category: Articles that mention rail gauge size 864 mm‎ (0 P)
 * from sandbox. -DePiep (talk) 12:03, 9 May 2014 (UTC)

I think it can be removed. No proper sources, interesting history. See:Talk:Sofia Tramway--Aaron-Tripel (talk) 20:13, 5 May 2014 (UTC)
 * 1013mm Category:Articles that mention rail gauge size 1013 mm (0 P)
 * from sandbox. -DePiep (talk) 12:03, 9 May 2014 (UTC)

Mentioned in FEVE, spanish metre gauge operator together with 915mm. Probably rounding or conversion issues. No such railways found on the internet. See: Talk:FEVE.
 * 1062mm Category:Articles that mention rail gauge size 1062 mm (0 P)
 * Concluded: change to 1067mm. No uses left. -DePiep (talk) 09:37, 9 May 2014 (UTC)
 * from sandbox. -DePiep (talk) 12:03, 9 May 2014 (UTC)

To check. -DePiep (talk) 12:03, 9 May 2014 (UTC)
 * 1065mm Category:Articles that mention rail gauge size 1065 mm (1 P) (0 P)
 * Aaron-Tripel@undefined: I guess this was discussed & cleaned up already somewhere, but I can't remember where. -DePiep (talk) 12:05, 9 May 2014 (UTC)
 * Ah!: Three foot six inch gauge railways redefinition to 1,065 in South Africa--Aaron-Tripel (talk) 12:19, 9 May 2014 (UTC)
 * Talk:Railway coupling by country
 * LOL: is was 20 lines above (Merged two discussions here):
 * See Talk:Railway coupling by country. -DePiep (talk) 15:22, 8 May 2014 (UTC)
 * There: concluded to change into . -DePiep (talk) 15:31, 8 May 2014 (UTC)
 * Another question: South Africa's Cape gauge says this: "After metrication in the 1960s, the gauge was referred to in official South African Railways publications as 1065 mm instead of 1067 mm" (with source, not linked). It SAF names it to be "1065mm", why shouldn't we write "1065mm (3 ft 6 in)" (still meaning the 42 inch gauge). Seen this before. -DePiep (talk) 15:31, 8 May 2014 (UTC)
 * Reply to self: this question belongs to existing RG 3ft6in /1067mm. Not to this one: it is deleted (is not a separate RG definition).
 * from sandbox. -DePiep (talk) 13:23, 9 May 2014 (UTC)

To check -DePiep (talk) 23:01, 7 May 2014 (UTC)
 * 1410mm Category: Articles that mention rail gauge size 1410 mm (0 P)
 * Only source found for 1410mm is the German wiki page of Mount Washington Cog Railway (en) which states that gauge sources for this railway are contradicting each other.--Aaron-Tripel That particular source should be: Poor's Manual of Railroads 1931. New York: Poors Railroad Manual Company. Page 1145. (talk) 09:50, 9 May 2014 (UTC)
 * from sandbox. -DePiep (talk) 12:03, 9 May 2014 (UTC)

The only two templates in use, in the Track gauge and Track (rail transport) article, are not actual track gauges but describe track gauge tolerences for standard gauge railways. They have been replaced with conversion templates. Edits: and.
 * 1460mm Category:Articles that mention rail gauge size 1460 mm (0 P)
 * OK, 1460mm is the last broad gauge issue I found. Let the caching do its work and wait for some time before actually changing anything here.--Aaron-Tripel (talk) 21:18, 4 May 2014 (UTC) (Sorry, rv too much bold -DePiep (talk) 21:23, 4 May 2014 (UTC))
 * Keep going this way! Each RG entry can have an entry here (single point of {RG} talk is good). Works great for me. Later cache issues we will add & address here. And before any live code change, I will check this very carefully anyway. -DePiep (talk) 21:29, 4 May 2014 (UTC)
 * from sandbox. -DePiep (talk) 12:03, 9 May 2014 (UTC)

The only template in use, in the Dublin tramways article, proved to be untrue, article now properly sourced. The template and maintenance category can be deleted.--Aaron-Tripel (talk) 20:49, 4 May 2014 (UTC)
 * 1580mm Category:Articles that mention rail gauge size 1580 mm (0 P)
 * We should wait one more week or so to conclude that there really are no other uses.
 * In general: the single question is to delete from /data list. Good practice is to delete that cat:mentions logically following, later (I will). -DePiep (talk) 21:08, 4 May 2014 (UTC)
 * from sandbox. -DePiep (talk) 12:03, 9 May 2014 (UTC)

The only template in use, in the Concrete sleeper article, proved to be untrue, see edit comment:  (sais assumption, but there are really no 1680mm gauge railways in existence. The template and maintenance category can be deleted.--Aaron-Tripel (talk) 20:55, 4 May 2014 (UTC)
 * 1680mm Category:Articles that mention rail gauge size 1680 mm (0 P)
 * from sandbox. -DePiep (talk) 12:03, 9 May 2014 (UTC)

No changes (concluded)

 * Proposals that are concluded not to change the list.

See List of narrow gauge model railway scales, look for Gnine. Added by.
 * 8 in

-- just checking, not requested -DePiep (talk) 09:55, 12 May 2014 (UTC)
 * Oppose no such gauge.  This is a coincidental modelling representation produced by combining two pre-existing scales and gauges. As it's near to a real-world scale (7¼ inch), there is some interest in using the combination for modelling. However there is no real-world use of 8 inch. Andy Dingley (talk) 10:00, 12 May 2014 (UTC)
 * No problem. That's what it is here for. -DePiep (talk) 10:28, 12 May 2014 (UTC)
 * ❌ Not added, theoretical gauge only. -DePiep (talk) 21:08, 14 May 2014 (UTC)


 * 765mm Category: Articles that mention rail gauge size 765 mm (1 P)
 * Keep, was already in the list of track gauges and Matadi–Kinshasa Railway (where the gauge was listed as 763mm) corrected and added sources.--Aaron-Tripel (talk) 09:25, 9 May 2014 (UTC)
 * ❌ keep no changes. Is sourced. -DePiep (talk) 09:42, 9 May 2014 (UTC)

The only template in use, in the Huntsville and Lake of Bays Transportation Company article, proved to be untrue, article now properly sourced with explanation on the talk page. The template and maintenance category can be deleted.--Aaron-Tripel (talk) 20:43, 4 May 2014 (UTC)
 * 1130 mm Category:Articles that mention rail gauge size 1130 mm


 * Wait, Category:Articles that mention rail gauge size 1130 mm is not empty (any more... ) . There are other uses.
 * -DePiep (talk) 21:02, 4 May 2014 (UTC)
 * For example, I would not like to miss a company named London Pneumatic Despatch Company :-) -DePiep (talk) 22:02, 4 May 2014 (UTC)
 * See Talk:London_Pneumatic_Despatch_Company. Looks well sourced. Not the one mentioning in British quarrying and mining narrow gauge railways though (search '1871'). -DePiep (talk) 07:47, 8 May 2014 (UTC)
 * This category can be kept.--Aaron-Tripel (talk) 11:48, 8 May 2014 (UTC)
 * ❌ Keep, no changes. -DePiep (talk) 15:19, 8 May 2014 (UTC)


 *  1435mm keep Category: Articles that mention rail gauge size 1435 mm
 * standard gauge, intentionally empty. -DePiep (talk) 23:01, 7 May 2014 (UTC)
 * ❌ keep obviously. -DePiep (talk) 11:50, 9 May 2014 (UTC)

For Allegro instead of 1522 mm  instead of 1522 mm Peter Horn User talk 17:44, 1 May 2014 (UTC)
 * 1522mm
 * This is not a track gauge but the spacing (gauge) of the wheelsets to accommodate the difference between the Russian track and the Finnish  track. See also Russian gauge and Allegro (train). I will clarify some on the Allegro page.--Aaron-Tripel (talk) 18:52, 1 May 2014 (UTC)
 * ❌ Not a rail gauge. -DePiep (talk) 22:49, 2 May 2014 (UTC)

Numeric input reduction
Below is an overview of gauges that accept a numeric-only input alias (no unit in the input). For example, &rarr;. Of course,  produces the same output.

Using such numeric input is discouraged, because it may confuse (future) editors. I propose to remove from RG data list these options (aliases), when that RG is used rarely. For practical reason, more iconic input like "1435" can stay. I put the line for RG with up to 19 &lt;40 uses (in total; not all are numeric-only).

These numeric aliases will then be removed from the input options. Affected pages will appear in the Category:RG unrecognised input to be cleaned. This will be a few dozen at max, to be edited. -DePiep (talk) 15:54, 9 May 2014 (UTC)


 * Contains 94 rows


 * Removed from sandbox:
 * 40.5, 44.25, 47, 49.5, 350, 17, 450, 19.5, 29, 30.5, 37 (RG used 1 time)
 * 45.5, 52.5, 1350, 1500, 60.5, 1750, 1.25, 24.5, 34.5 (RG used 2 times)
 * 43.5, 44.5, 62.25, 9.5, 10, 550, 925 (3 times)
 * 49, 52, 2, 28.5, 850 (4 times)
 * 51, 1300, 38 (5 times)
 * 1450, 2.5, 38.25 (6 times)
 * 54.5, 56.25, 62, 26 (7 times)
 * 43, 28 (8x); 41.5, 32.5 (9x); 50 (10x); 58, 12.25, 16, 700 (11x); 57 (12)
 * 74, 20, 1200, 1100, 7.5
 * 56, 6, 72, 400, 40, 950, 1050, 10.25, 27, 62.5, 31.5, 800 (20-30t)
 * . Removed from sandbox: these 67 of 94 numeric aliases. Left: 27 higher-used numbers. (In other words: when the sandbox data goes live, this list will contain 27 number-only aliases) -DePiep (talk) 21:49, 9 May 2014 (UTC)
 * When sandbox data is live, each of these inputs will trigger a cat:input unrecognised listing for the page. These pages need an edit: add "in" or "mm" to the input (only one is right).
 * When that same gauge is mentioned by regular input "51in", that page is not listed as unrecognised (but it is in the counts here). So all these gauges by these numbers, together, are mentioned 615 times. Unknown how much are number-only (and so will be listed in the cat). -DePiep (talk) 21:49, 9 May 2014 (UTC)

Code changes 2 May 2014
Prepared changes:
 * data
 * Add 18.5 in, 3 ft 10 in, 480 mm to the list, see and  (April 2014, part 2).
 * Changed numeric representations (corrected roundings) for some existing rauges. See
 * Added some pagelinks (for on), see.
 * module script code
 * Add automated categorisation into Category:Wikipedia rail gauge categories. For all gauges except standard gauge. Hidden maintenance categories. Switch off option is no. Category:Wikipedia rail gauge categories.
 * Add automated gauge documentation, see RailGauge/document gauge. Used in Template:RailGauge/doc/input options. and Category:Wikipedia rail gauge categories.
 * Removed any filling of Category:Articles with template RailGauge that may need attention. Category will be abandoned & deleted. Is covered by the "mentionings" categories.
 * Add "content category" link for documentation, plus contentcat in data to allow irregular named category (e.g. named gauge). Will only show when exists.
 * prepared. -DePiep (talk) 15:26, 2 May 2014 (UTC)
 * Several changes -DePiep (talk) 22:21, 2 May 2014 (UTC)
 * ✅ data, core module. -DePiep (talk) 00:38, 3 May 2014 (UTC)
 * No disturbances seen. Category:unrecognised now empty. -DePiep (talk) 02:10, 3 May 2014 (UTC)
 * Category:Articles with template RailGauge that may need attention empty now, up for speedy deletion. -DePiep (talk) 15:11, 7 May 2014 (UTC)

RailGauge mentionings
Category:Articles that mention a specific rail gauge lists all articles that use RailGauge. This is a maintenance category (hidden on the article page for readers). Each different gauge mentioned on a page makes an article listing.

In the category names, rail gauges are in expressed mm always. By exception, articles not categorised when
 * - standard gauge
 * - no is set in

Please always add the rail gauge identification (size) -DePiep (talk) 23:08, 2 May 2014 (UTC)
 * In the future:
 * (1) Each gauge will have to be sourced.
 * (2) Gauges may be merged (rounding issue, source thing?).
 * (3) Gauges unused (empty categories) will be removed from the data list.
 * (4) And the backup catch: bad input will appear in Category:unrecognised.
 * Please always add the rail gauge identification (size)-DePiep (talk) 01:14, 3 May 2014 (UTC)
 * Added: article count per gauge

-DePiep (talk) 22:32, 10 May 2014 (UTC)

Improvements
Todo in module code:
 * Do not add a category (page) to these categories: looks like a subcategory. Better: add the category_talk page (and sort under "*" ?). -DePiep (talk) 20:43, 7 May 2014 (UTC)
 * Even better: don't list cat pages at all. -DePiep (talk) 14:05, 9 May 2014 (UTC)


 * Make public option "create category page" using default preload &tc. For new added gauges. -DePiep (talk) 20:43, 7 May 2014 (UTC)
 * Allow a table that lists pagecount per mentions-cat (sortable table). Cannot be done in big document table, would be too many expensive checks. ✅
 * Think about: gauge documentation inline (not table). -DePiep (talk) 21:55, 7 May 2014 (UTC)
 * Separate module:RailGauge (content) from module:RailGauge/autodocument (document). (Fork). ✅
 * Check for low-used plain number aliases. -DePiep (talk) 07:10, 9 May 2014 (UTC) ✅
 * Gauges that are defined both imp and metric, should be in separate categories (mentionings), to check each definition. There should be 2 sources. -DePiep (talk) 17:08, 11 May 2014 (UTC)
 * Development happens in module:RailGauge/sandbox and module:RailGauge/autodocument/sandbox code (for these topics: not in the /data). -DePiep (talk) 09:52, 11 May 2014 (UTC)


 * Add data "Mirror alias" per entry (eg for met=1435mm, add entry.mirror=56.5in. To find sibling link, when using 1). -DePiep (talk) 12:56, 20 May 2014 (UTC) ❌, solved differently (data approach). (used when disp=1 and first is *not* the defining unit. New; then that lone first one will have the article link, so even when unit shown is "met" and the definition is "imp". And vice versa). -DePiep (talk) 09:17, 27 May 2014 (UTC)
 * todo: allow in /data:  meaning: no content cat exists. To reduce expensive function calls. ✅, 28 May 2014. -DePiep (talk) 16:52, 29 May 2014 (UTC)

Gauge proposals August 2014

 * To check
 * typo in documentation, should be: (inches=" not feet=' ;-) )
 * -DePiep (talk) 21:57, 9 August 2014 (UTC)
 * ✅ - use double prime for inches, not single. -DePiep (talk) 22:01, 9 August 2014 (UTC)
 * Note: why not accept Unicode U+2033 double prime? See ditto mark. -DePiep (talk) 22:01, 9 August 2014 (UTC)
 * Note: why not accept Unicode U+2033 double prime? See ditto mark. -DePiep (talk) 22:01, 9 August 2014 (UTC)

Worth considering?
module:convert/data now has size 223,925 bytes. As a test, I removed spaces in page styling like: ["K R F"] = { combination= { "K", "R", "F" }, utype   = "temperature", }, into ["K R F"]={ combination={"K", "R", "F"}, utype  ="temperature", }, Page size went to 205,280 bytes (-18,645, or -7%)‎. Is this worth thinking about? -DePiep (talk) 01:33, 25 August 2014 (UTC)
 * Yes, I have wondered about that, and don't know... Even more aggressive space elimination is possible and would leave it reasonably readable yet 10% smaller. However, I suspect that due to caching there would be no measurable benefit. Johnuniq (talk) 05:39, 25 August 2014 (UTC)
 * - no advantages in sight. -DePiep (talk) 20:56, 25 August 2014 (UTC)

New category naming
About the subcategories in Category:Articles that mention a specific rail gauge. I am working to change all "rail gauge" into "track gauge" (following the new Track gauge name). Since all these categories have to be renamed, I am looking for a good naming pattern. Any ideas?
 * Current
 * Category:Articles that mention rail gauge size 1067 mm


 * Proposals
 * A. Category:Articles that mention track gauge 1067 mm
 * B. Category:Articles that mention track gauge size 1067 mm
 * C. Category:Articles that mention a track gauge of 1067 mm
 * D. ...

What would be best? (There are 234 subcategories; remember that they are for maintenance not content). -DePiep (talk) 18:28, 30 August 2014 (UTC)


 * A. "size" in B is tautological and the indefinite article in C implies that there could be multiple track gauges of 1067 mm! Just my 2d worth. Martin of Sheffield (talk) 10:10, 31 August 2014 (UTC)
 * Thx. These subtleties of the language I could not grasp. -DePiep (talk) 10:59, 31 August 2014 (UTC)
 * ✅, see Category:Articles that mention a specific track gauge. (thanx, I like it). -DePiep (talk) 19:58, 9 September 2014 (UTC)
 * I see that the categories have been re-named already, but think it would be good to consider another name along the lines of Category:Articles that use the Track gauge template with a value of 1067 mm. This would describe precisely why the article has been categorised. There are probably many articles that mention a specific gauge, but which do not use the Track gauge template. Robevans123 (talk) 15:13, 26 September 2014 (UTC)

Additional uses for allk=on
Could etc etc be linked to 8[Two foot and 600 mm gauge railways]]? Likewise to Three foot gauge railways etc etc by means of allk=on? Peter Horn User talk 17:11, 9 May 2014 (UTC)
 * It is already linked with the lk=on parameter. with the allk=on you also apply a name to the template output. For example, the Cripple Creek and Victor Narrow Gauge Railroad I just reverted, was already linked to Two foot and 600 mm gauge railways. I noticed that you apply the allk=on parameter on Australian rail related articles, which adds the Irish gauge name to the output, a name not commonly used in Australia (is actually Victorian Broad gauge).--Aaron-Tripel (talk) 17:23, 9 May 2014 (UTC)
 * Links with the lk=on parameter are sometimes hard to see if the link is short, especially with some imperial output like 2ft, 3ft 5ft, etc. Shouldn't we make a link, in case of the "lk" parameter, of the whole template output? (metric + imperial bluelinked). "allk" should be left unaltered, is fine at the moment.--Aaron-Tripel (talk) 17:43, 9 May 2014 (UTC)
 * for example:
 * &rarr;
 * You proposal would look like, for 2ft:
 * &rarr; Two foot and 600 mm gauge railways
 * That is a bit less nice, agree? This works for the major gauges. If you meet rail gauges that do not link this way, please note that on this page.
 * The older on and on (from: 'alternative') still works but has not been expanded. It is most helpful for named gauges:
 * I've seen many articles texts that need a slightly different result, for example "The (broad) gauge", which would need extra parameters that make the template complicated. When, after the RG template, simply typing the sentence text is at hand!
 * You mean vs. Two foot and 600 mm gauge railways
 * Even a short "2 ft" is four characters linked and so not that problematic (HTML should cover that). And in this RG case, the conversion part (...) is nothing more than that: an appendix, and not part of the definition. I even like it that only the definition is stressed this way. And esthaetically, many & long linked text in a piece does not look inviting to me (some leads do that). -DePiep (talk) 18:58, 9 May 2014 (UTC)
 * OK, I got it now. The reverse works as welll Peter Horn User talk 01:56, 10 May 2014 (UTC)
 * And so does Peter Horn User talk 02:00, 10 May 2014 (UTC)
 * Yes! By the way, the template documentation is listing all options systematically, now. These link targets we talk about are in column "Link". -DePiep (talk) 07:54, 10 May 2014 (UTC)
 * Yes! By the way, the template documentation is listing all options systematically, now. These link targets we talk about are in column "Link". -DePiep (talk) 07:54, 10 May 2014 (UTC)

Introduce {RailGauge|narrow} option?
Some railways do or did exist, but we do not know the gauge exactly. For example, Herne Bay Pier tram is about metre gauge, but we cannot find sources for the exact gauge. It may take more time to get this right. To catch these situations in a RailGauge overview, we could introduce the option  that would categorize that page for us (to be able to research that gauge). A parameter label would be added for practical reasons, see the example.

In wikicode: The Herne Bay tramway had a gauge of. Would produce:
 * The Herne Bay tramway had a gauge of about 3 ft 6 in.

The important principle is, that a group of rail gauges can be invoked, and we can track that page. The label allows for free, linked text. The page will be added to a new "mentions" category, like [&#91;Category:Articles that mention rail gauge size 'narrow']]. In which content category the article is placed, is up to the article editor (as always). That could be Category:Narrow gauge railways (again, that doesn't matter here).

A first throw on which gauge groups we could define this way in {RailGauge}: Any comments? -DePiep (talk) 10:10, 10 May 2014 (UTC)
 * scale, model
 * miniature
 * narrow
 * broad
 * unknown
 * The German NEM 010 model railway standards split to "standard", "metre", "narrow", "minimum" and "model engineer". Seems like a reasonable way to slice it (with the addition of broad gauge). Andy Dingley (talk) 11:59, 15 May 2014 (UTC)

Can we make lk=on work with 800 mm gauge railways
What additional needs to be done to make lk=on work for 800mm gauge. There is already an article to link to. -- chris_j_wood (talk) 10:00, 23 May 2014 (UTC)
 * I already requested the link yesterday: Template talk:RailGauge. Change will be released soon. --Aaron-Tripel (talk) 10:16, 23 May 2014 (UTC)
 * Already in the sandbox for testing:


 * -DePiep (talk) 11:06, 23 May 2014 (UTC)
 * Thanks -- chris_j_wood (talk) 11:49, 23 May 2014 (UTC)

✅ Live now. -DePiep (talk) 01:42, 28 May 2014 (UTC)

Two line output?
Is there any way to force a line break between the imperial and metric units? This would be useful within tables with many narrow columns. Andy Dingley (talk) 11:56, 15 May 2014 (UTC)
 * Did you try y in {RG}? That should allow a break there (when table building finds it needed. It is not enforced). Can you link to an example table? -DePiep (talk) 12:13, 15 May 2014 (UTC)
 * That removes the overall  from the two dimensions, but it doesn't force a hard line break with .  In most cases, y is what's needed (and I would personally see that as a better default behaviour for RailGauge).  In a few cases though, and table column width being the obvious one, the table column will tend to expand to fit the content within it, making the overall table wider and wider  (the end result being a scrolling window). Even if it's possible to wrap content within the table, a table with no column width specified will usually favour growing instead. If there was an explicit break, it would reduce this growth. Andy Dingley (talk) 12:36, 15 May 2014 (UTC)
 * If a large table using y is also beginning to partially wrap some of them, forcing the break would give a more consistent appearance. Andy Dingley (talk) 12:39, 15 May 2014 (UTC)
 * Yes.
 * 1. I'll add option br (and maybe br/, w/slash after the break). In general, we best follow convert in these things.
 * 2. y to be default behaviour makes more sense. Will have to look at consequences when we switch this (there are x situations where the layout depends on a nowrap, the opposite of this question).
 * 3. Talking about {RG} in tables, could we use a on option in {RG}, to add an invisible sortkey? That way the column can sort nicely & correctly by absolute size. See here. -DePiep (talk) 13:09, 15 May 2014 (UTC)
 * by the way, did you consider a two column output? Does not reduce width, but it looks much better. For example, LH column imperial and RH column metric, in table:
 * &rarr;
 * &rarr;
 * &rarr;

We can make them sort perfect too, as I said. -DePiep (talk) 15:00, 15 May 2014 (UTC)

Added: option br. Forces a line break: Also break before an alternative name:
 * &rarr;
 * &rarr;
 * Same outside of a table. Now in RailGauge/sandbox only. Expect it to be available in the live version within one week. Andy Dingley@undefined. -DePiep (talk) 12:06, 16 May 2014 (UTC)
 * Thanks, that should be great. Andy Dingley (talk) 12:26, 16 May 2014 (UTC)
 * Great. (Know what, you can encode it right now already without harm and into the blind, and then next week the pages will change while you're sleeping ;-) ).

Aaron-Tripel@Jackdude101, you have seen many pages. Would it cause damage when we swap the default behaviour? -DePiep (talk) 12:44, 16 May 2014 (UTC)
 * Next : set  by default?
 * There shouldn't be many and they should mostly be an improvement. This isn't forcing a wrap, it's merely permitting it. Permitting it means that it might wrap, only in those cases when the browser layout engine thinks that there's a cause to wrap it. Unless there are brittle layouts around where gross positioning is dependent upon component size (these are bad anyway, as they're brittle against user font size changes) then it shouldn't change anything that doesn't already need it. Andy Dingley (talk) 12:54, 16 May 2014 (UTC)


 * No damage at all. It's an improvement.--Aaron-Tripel (talk) 13:09, 16 May 2014 (UTC)
 * @Both of you, this is my thought too. I'm just checking. Will work on this. -DePiep (talk) 13:11, 16 May 2014 (UTC)
 * ✅. Live now. See RailGauge documentation -DePiep (talk) 02:05, 28 May 2014 (UTC)

Nowrap and forced line break
I have prepared nowrap and line-break options. (default will be: allow break after first measurement).

(Documentation:) Options: nowrap= (default), off, on, all disp=br

Note: "Alt name" is the addition like "Russian gauge". It may be linked.

Rules: Measurements imperial and metric are nowrap each. Always.

disp=br: forces a linebreak (&lt;br/>) between met–imp and before alt name. (nowrap=off may interfere in the alt name)

nowrap=(default): allow wrap between met and imp, and before alt name.

nowrap=off: Inline use, will allow break in the alt name. (same as: nowrap=inline)

nowrap=on: keep met and imp on one line (but allow Alt name to wrap)

nowrap=all: nowrap all.

''These are sandbox examples. They may be in live {RG} template shortly.''

-DePiep (talk) 08:12, 20 May 2014 (UTC)
 * ✅. Live now. See RailGauge documentation. -DePiep (talk) 02:05, 28 May 2014 (UTC)

Code changes 28 May 2014
The edits reported here are the first after we could use the "mentionings" categories. Also the autodocumentation for gauge definitions (the RailGauge/data list) has been available for a first time. Most changes are discussed in and elsewhere.
 * data
 * Added gauges: 693mm, 3ft3in, 1099mm.
 * Added entries to existing gauge id: 1980mm (= 6ft6in); 89mm (= 3.5in)
 * These five additions will remove current 7 pages from cat:unrecognised (the pages may need an edit).


 * Add article link ( } for 800mm.
 * Merged existing gauge definitions: 64mm = 2.5in.
 * Removed idle gauges: 63mm, 108mm, 2ft3.5in (699mm), 864mm, 1013mm, 1062mm, 1065mm, 1410mm, 1460mm, 1580mm, 1680mm. . These gauges are not used at all. Their cat:mentions are empty.
 * Removed 63.5mm/2.5in,, /2.5in topic. Category:Articles that mention rail gauge size 63.5 mm: 6 pages.
 * Pages will appear in cat:unrecognised. To be edited into "64mm" or "2.5in".


 * Removed entries: 2140mm, EUsg (from sg), UICsg (from sg).
 * Pages will appear in cat:unrecognised. To be edited into "brunel" or "sg" respectively after a check.


 * Numeric input options: 67 out of 94 numeric aliases removed. 27 left. . All from gauge entries not often used (entry in total < 40).
 * pages with these numeric input will appear in cat:unrecognised input. The number is to be edited into a size (e.g., 35in, 800mm). Max 615 pages may appear, but that number includes pages already OK (having like "35in"). [WP:AWB might help.

See also regular RailGauge documentation.
 * module code
 * br forces a linebreak between the two measurements metric and imperial. Also before any named gauge (alt name). ,
 * nowrap (new parameter): (default=) off, on, all. br overrules (see above). . ,
 * When set 1 and on and met (while entry is defined in imp), then the metric unit will link to the imperial definition page (instead of no link at all). example, for :.
 * Any text will be added as text between the values. Brackets are omitted:
 * &rarr;


 * New gauge entries can be added directly into module:RailGauge/extra. Such an edit does not affect the whole data page (or the cache for 13,000 pages). Not for changes to existing entries. Over time these new ones can be added to /data. (Concept taken from convert).

Code change from their sandboxes. Other pages may take a minor edit.
 * Modules to change
 * module:RailGauge (core program)
 * module:RailGauge/data (rail gauge definitions used)
 * module:Track gauge/autodocument (documents the /data, mostly into table; maintenance & doc only)


 * Autodocumentation of the gauge data
 * Code split: module:Track gauge/autodocument will have all code that does not belong to core RailGauge. Autodocumentation is not used in mainspace (content space).
 * Extensive code cleanup (whitespace, use tabs, table usage).
 * Column order has changed, see header.
 * Added: column size class like "narrow". Sortable.
 * Added: number of pages (articles) in the categories:mentions. Sortable; with purge link.
 * Added, optional: statistics (counters), below the table.
 * Category pages are not listed in cat:mentions any more (they appeared confusingly as subcategories).
 * cat:mentions of deleted gauges are to be deleted. (Should be empty by logic).

Below is an overview of the /data stats (countings) before and after the change.
 * Data changes

Old data (current /data). Test as of 20:29, 27 May 2014 (UTC)

Data sources: Module:RailGauge/data Listed: 3 mm – 8200 mm (225 rows) Aliases (input options): 677 Gauges (gauge by size): 225 Entries (gauge by alias): 293 Entries defined metric: 133 Entries defined imperial: 160 Gauge sizes defined both metric and imperial: 64 Gauge sizes with multiple definitions in one unit: 914 mm (3× total) 1600 mm (3× total) Entries with an article link: 62 Entries with a name: 25 (not shown in table) Categories: Content categories: 85 "Article mentions rail gauge" categories: 225 Articles listed in "mentions" categories: 8736 (not unique) Note: articles mentioning standard gauge are not categorised Size classes: 61 scaled or model gauges 29 minimum gauges 93 narrow gauges 1 standard gauge 41 broad gauges by AWB: 8736 pages = 8566 articles and 200 subcats. These 8566 are 6170 unique articles.

New data (sandbox), as of -22:42, 27 May 2014 (UTC)

Data: Sources: Module:RailGauge/data/sandbox, Module:RailGauge/extra Listed: 3 mm – 8200 mm (216 rows) Aliases (input options): 654 Gauges (gauge by size): 216 Entries (gauge by alias): 284 Entries defined metric: 129 Entries defined imperial: 155 Gauge sizes defined both metric and imperial: 64 Gauge sizes with multiple definitions in one unit: 914 mm (3× total) 1600 mm (3× total) Entries with an article link: 71 Entries with a name: 26 (not shown in table) Categories: Content categories: 87 "Article mentions rail gauge" categories: 216 Articles listed in "mentions" categories: 8730 (not unique) Note: articles mentioning standard gauge are not categorised Size classes: 59 scaled or model gauges 28 minimum gauges 90 narrow gauges 1 standard gauge 38 broad gauges by AWB: transclusion count (pages): 13783 at 06:09, 28 May 2014 (UTC)


 * todo
 * Delete idle pages & categories.
 * Document the autodocumentation.
 * Note: apart from articles appearing in cat:unrecognised (they show an incomplete gauge size; need an edit), no disturbances are expected.
 * in preparation. -DePiep (talk) 23:43, 27 May 2014 (UTC)
 * ✅ -DePiep (talk) 01:45, 28 May 2014 (UTC)
 * appears used after all, and so has been restored (imperial only). See below (June 2014 proposals). -DePiep (talk) 12:46, 31 May 2014 (UTC)
 * appears used after all, and so has been restored (imperial only). See below (June 2014 proposals). -DePiep (talk) 12:46, 31 May 2014 (UTC)

The 7-foot gauge (Brunel)
We should revisit the "Brunel gauge(s)", or rather rebuild the {RG} data definitions from scratch. Here is a discussion. Current {RailGauge} data (FWIW):
 * "7 ft" &rarr;
 * "7 ft 0.25 in" &rarr;
 * "7 ft exact" &rarr;

By sources, Brunel's gauge has had two definitions in history: it started "7 feet", and later $1/4$ inch was added (to give some freeway to wheelsets in curves): "7 feet $1/4$ inch".
 * Sources
 * The Regulating the Gauge of Railways Act 1846, that states specific gauges to be "Seven Feet".

MacDermot does not mention a time of the change, though it is not later than 1863. Quite straightforward, we will accomodate both definitions as different rail gauges.
 * Sizes
 * "7 ft" &rarr; 7 ft
 * "7 ft 0.25 in" &rarr; 7 ft 1&frasl;4 in

This way, each editor can use the right gauge definition, based on the article's source. While both gauges are used interchangeable to mean a Brunel gauge (usually), when writing the history a specific correct gauge must be used. Following this talk at MOS:NUM, we do not write the zero in $0 1/4$ inch. Straight conversion: As with all rail gauge definition conversions (when greater than 2 inch), we use smallest unit being 1 mm (and $1/32$ inch, or +0+1/32 in). This way reverse calculation reproduces the definition within the limits: (Reverse calculation shows being within half of $1/32$ inch) Target pages for on are to be 7-foot gauge railway and 7-foot-&frac14;-inch gauge railway, which can redirect to the content page & section. Spelling follows MOS:UNIT for unit names used as adjective (and as convert does), though using &frac14; for a page title. In general, using a gauge name as page name (e.g., page "Brunel gauge") will cause interpretation problems along the way. The category for content pages stays Category:7 ft gauge railways for both, untouched. We can define alias "Brunel" to point to one entry. (Currently, it produces the "7 ft 0.25 in" definition). Arbitrary, I propose to have "Brunel" mean the enlarged gauge because that is today's common mentioning the "7 ft" entry (after MacDermot). The link (allk=on) will be to the page name mentioned. After introduction into live data, we should check categories for page edits. The mentionings of "7 ft exact" are to be edited. -DePiep (talk) 12:30, 3 June 2014 (UTC)
 * Metric conversion
 * 7 ft
 * 84.25 in
 * 2134 mm; or 2134 mm
 * 2140 mm; or 2140 mm
 * Page links
 * Content category
 * Alternative (gauge name)
 * Changes to the data
 * 1) Remove "7 ft exact" entry completely: that is not a gauge definition. Aliases dropped: exact7ft, 7ftexact, 7ft0in, 7'0". When calculations are needed, one can write the measurements explicitly, and use {convert}. Checking through the mentions-category.
 * 2) Remove numeric input options ("84" for "84 in"); deprecated anyway.
 * 3) Both gauges have different id's (2134 and 2140). Their cat:mentions will be different too.
 * 4) Implement page names as described above.
 * 5) Alias "Brunel" to produce the "7 ft" entry.

By adding that quarter of an inch, knowingly and wilfully, Brunel trespassed the 1846 law that Queen Victoria herself had written. For this, and for the troubles it caused for encyclopedia authors and railway investigators ever since, CPS should consider making a case against Brunel and his legacy. -DePiep (talk) 13:17, 3 June 2014 (UTC)
 * Brunel in jail
 * Eh, what?? Queen Victoria didn't write any laws. Then, as now, they were framed by the Houses of Parliament in the form of a bill, and once the bill had passed both Houses, it then went for Royal Assent. All that Queen Victoria needed to do in order to give that was to sign the bill and affix a Seal, which transformed it into an Act of Parliament. -- Red rose64 (talk) 20:09, 3 June 2014 (UTC)
 * All I know is that she was a proficient civil engineer. She even prevented the sun going down in her empire (the rest of her activity was an inherited hobby, and didn't require much time anyway. Her private life did not produce much notability either --todo: here the Gibbons quote about 24 children & a library). And look at the writing of that law: no flaws. No quarter-inch minglings. Visionary! (Just a detail: connecting Wales with Cornwall without having to change). But anyway, this point is about I.K. Brunel, who trespassed. With a quarter of an inch. -DePiep (talk) 20:36, 3 June 2014 (UTC)

Sandbox data (proposals)
Resulting proposal:


 * &rarr; ❌ -- to be deleted

-DePiep (talk) 12:30, 3 June 2014 (UTC)
 * Changed "Brunel" alias direction: "7 ft" entry (reading MacDermot). -DePiep (talk) 12:36, 3 June 2014 (UTC)
 * Added docstats. -DePiep (talk) 20:09, 3 June 2014 (UTC)

Russian gauge: review
Let's recap.

-DePiep (talk) 21:40, 6 June 2014 (UTC)
 * Changes? -DePiep (talk) 21:40, 6 June 2014 (UTC)
 * Changed in sandbox: 5 ft redirects to Five-foot gauge railway, see central talk. -DePiep (talk) 12:31, 9 June 2014 (UTC)
 * See Talk:Russian_gauge. -DePiep (talk) 12:31, 9 June 2014 (UTC)
 * Page is moved : from Russian gauge into 5 ft and 1520 mm gauge railways. -DePiep (talk) 23:07, 9 June 2014 (UTC)
 * Adjusted the links: For the article: title says it. CAtegories: 1520mm = Russian (only), the other one is 5ft always (so Finland is in there). -DePiep (talk) 07:49, 23 June 2014 (UTC)

So: "1520 mm" is Russian gauge, and Russian gauge only. Worldwide, and ever. And so in category. While "5 ft" and "1524 mm" can be Russian gauge (depending on location and time in history), so these two we do not declare "Russian" in general. One can categorise each article as fits the facts. -DePiep (talk) 18:58, 23 June 2014 (UTC)

Code changes, 23 June 2014
- Changes listed below can make a {RailGauge} input be unrecognised (by deletion of an input option). These pages will appear in Category:Articles with template RailGauge with unrecognized input. However, we can expect dozens, not hundreds of pages.
 * Added: gauge (used here)
 * Moved from /extra to /data: 36.5in, 34in (no change for article space).
 * for individual changes.
 * Removed all numeric entries ("34"; should be input "34in"). Exception: s.g. "1435" and "56.5" remain for now. Checked using AWB, maybe a few are left (to be edited).
 * Named gauges discussed separately here:,.
 * Named gauges changed:, , , , , , , , . For these: "local names" are to be called individually, not by size (e.g., Cape). Then, their alt name (allk=on) shows. General names (worldwide defined, like "Brunel") can be called by size and will show their alt name ("7 ft").
 * Removed double definitions. Some gauges available through metric and imperial input. After a check, some have been eliminated (one unit remains). See.
 * Refined links and categories.
 * Code change:
 * Any ending ".. gauge" is ignored ("Bosnian gauge" and "Bosnian" are equal)

12:30, 23 June 2014 (UTC)
 * Before

Sources Data pages: Module:RailGauge/data, Module:RailGauge/extra Data Listed: 3 mm – 8200 mm (218 rows) Aliases (input options): 662 Entries (gauge by alias): 286 Gauges (gauge by size): 218 Entries defined metric: 131 Entries defined imperial: 155 Gauge sizes defined both metric and imperial: 64 Gauge sizes with multiple entries in one unit: 914 mm (3× total); 1600 mm (3× total); Entries with an article link: 73 Named gauges (alt names) Entries with a name (26×): 89: 3 gauge; 760: Bosnian gauge; 891: Swedish three foot gauge railways; 1000: metre gauge; 1000: metre gauge; 1009: metre gauge; 1067: Cape gauge; 1067: Cape gauge; 1372: Scotch gauge; 1435: standard gauge; 1435: standard gauge; 1473: Ohio gauge; 1473: Ohio gauge; 1495: Toronto gauge; 1520: Russian gauge; 1581: Pennsylvanian trolley gauge; 1588: Pennsylvanian trolley gauge; 1600: Irish gauge; 1600: Irish gauge; 1600: Victorian broad gauge; 1638: Baltimore streetcar gauge; 1668: Iberian gauge; 1676: Indian gauge; 1676: Indian gauge; 2134: Brunel gauge; 2140: Brunel gauge Categories Content categories: 88 "Article mentions rail gauge" categories: 218 Articles listed in "mentions" categories: 8694 (not unique) Note: category "mentions standard gauge" is kept empty Size classes 59 scaled or model gauges 28 minimum gauges 92 narrow gauges 1 standard gauge 38 broad gauges By AWB: 8694 articles, 6270 unique articles. expensive calls: ~494/500 ! WLH {RailGauge}: 13667 pages. -DePiep (talk) 12:30, 23 June 2014 (UTC)
 * After (sandbox situation 23:42, 23 June 2014 (UTC)):

Sources

Data pages: Module:RailGauge/data/sandbox, Module:RailGauge/extra/sandbox

Data

Listed: 3 mm – 8200 mm (219 rows) Aliases (input options): 641 Entries (gauge by alias): 280 Gauges (gauge by size): 219 Entries defined metric: 135 Entries defined imperial: 145 Gauge sizes defined both metric and imperial: 49 Gauge sizes with multiple entries in one unit: 914 mm (3× total); 1067 mm (3× total); 1372 mm (3× total); 1588 mm (2× total); 1600 mm (4× total); 1676 mm (3× total); Entries with an article link: 82

Named gauges (alt names)

Entries with a name (22×): 89: 3 gauge; 760: Bosnian gauge; 891: Swedish three foot; 1000: metre gauge; 1000: metre gauge; 1009: metre gauge; 1067: Cape gauge; 1372: Scotch gauge; 1435: standard gauge; 1435: standard gauge; 1473: Ohio gauge; 1495: Toronto gauge; 1495: Toronto gauge; 1520: Russian gauge; 1588: Pennsylvania trolley gauge; 1600: Irish gauge; 1600: Victorian broad gauge; 1638: Baltimore streetcar gauge; 1668: Iberian gauge; 1676: Indian gauge; 2134: Brunel gauge; 2140: Brunel gauge

Categories

Content categories: 87 "Article mentions rail gauge" categories: 219 Articles listed in "mentions" categories: 8695 (not unique) Note: category "mentions standard gauge" is kept empty

Size classes

59 scaled or model gauges (198 mentionings) 29 minimum gauges (363 mentionings) 92 narrow gauges (5721 mentionings) 1 standard gauge (0 mentionings) 38 broad gauges (2413 mentionings)

expensive calls: ~476/500

-DePiep (talk) 23:42, 23 June 2014 (UTC)
 * - Preparing. -DePiep (talk) 23:43, 23 June 2014 (UTC)
 * ✅ 4 pages (RG, RG/data, RG/extra, RG/autodocument). -DePiep (talk) 00:16, 24 June 2014 (UTC)