Template talk:Infobox Russian federal subject

Latest comment: 1 year ago by IncredibleDryMouth in topic 2021 Census
WikiProject iconInfoboxes
WikiProject iconThis template is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
WikiProject iconRussia: Human geography Template‑class
WikiProject iconThis template is within the scope of WikiProject Russia, a WikiProject dedicated to coverage of Russia on Wikipedia.
To participate: Feel free to edit the article attached to this page, join up at the project page, or contribute to the project discussion.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
Taskforce icon
This template is supported by the human geography of Russia task force.

Request edit

The template differs from some other district templates and it has some built in formatting (e.g. 2002 population census which is too old). As a result, it is not straightforward to update the census. This needs a fix. Materialscientist (talk) 00:22, 7 July 2010 (UTC)Reply

The 2002 Census data are the most recent available; there is nothing to update there. The 2010 Census has not even started yet. At any rate, this template is the next one on my list of templates to be upgraded. If you have any other suggestions, please feel free to list them here. Thanks.—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); July 7, 2010; 12:15 (UTC)
To be specific, there are new reliable population data for Moscow Oblast, but I don't see an easy way to put them into the infobox (I'll upload the expanded article in a day or so). Materialscientist (talk) 12:24, 7 July 2010 (UTC)Reply
Yes, a field with the most recent population estimate needs to be added, although it should by no means replace the census field (both figures should be reported). I'll have that taken care of when I get to re-designing the template or, if you prefer, I can slap a quick fix right away. Please let me know. Cheers,—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); July 7, 2010; 13:52 (UTC)

Timezones edit

Many instances have the parameters

| timezone1               = [[Samara Time|SAMT]]
| utc_offset1             = +4
| timezone1_DST           = [[Samara Time|SAMST]]
| utc_offset1_DST         = +5

added by User:Iwillremembermypassthistime, do we want to use or scrap these parameters? Rich Farmbrough, 22:18, 21 August 2010 (UTC).Reply

Hmm, I thought I had taken most of them out. Apparently missed a few. To answer your question, yes, these can be removed. The template generates the time zone information automatically; there is no need to require user input for this. Thanks.—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); August 23, 2010; 13:16 (UTC)

Density edit

Is the separate source for density data really needed? If there is population and area data, one can compute the density using the calculator without any special input. Artem Karimov (talk | edits) 07:27, 29 September 2010 (UTC)Reply

The density figure produced by such a calculation will only be valid if both the population and the area data came from the same source; otherwise it would be a borderline original research (admittedly, not that big of a deal in this case, but still). Also, such a calculation is not possible for Chechnya and Ingushetia, which still have unresolved border questions, which in turn leads to different area figures reported by different sources. It's always good to have a place where a sourced density figure can be put.—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); September 29, 2010; 13:27 (UTC)

Calculated population density in this template appears to rounded to the nearest integer. This leads to excessive rounding, or even zero apparent pop. density, when the result is small (e.g. Tuva Republic, Sakha Republic). Am I correct in thinking this? If so, would it be possible to use the number of significant figures in the values for population and area to choose an appropriate number of significant figures for the calculated density?

I don't know how other infoboxes deal with this (if at all), but I imagine it would be sufficient to simply subtract the number of trailing zeros from the number of digits in the population and area values, select the smaller of the two numbers that result, and subtract one from this for a fudge factor (if not already equal to 1) to produce a number of sig. fig. for the result. Is that easy to implement?

BTW - >80,000 contributions to Wikipedia, Ëzhiki? Bloody hell! (and thanks for all that hard work) RedGreenInBlue (talk) 15:17, 8 November 2010 (UTC)Reply

When you put 80+ contribs that way, it sounds kind of scary :)
Good catch on zero density showing for some places... this definitely needs to be fixed. However, this infobox template uses {{pop density km2 to mi2}} to do the calculations, and the latter is one of the few remaining home-brewed dedicated templates from the days of yore. Most other conversion templates now rely on {{Convert}}, which has the significant figures logic built in. The best way to handle this is to ask one of the conversion templates gurus to re-write {{pop density km2 to mi2}}; after that's done, this template will start showing more accurate figures automatically.—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); November 8, 2010; 15:48 (UTC)
OK, it turns out that the good template fairies already took care of this particular type of conversion. I have replaced the conversion template used in this infobox with {{convert}}. Seems to be working just fine, but let me know if you see any bugs. Cheers,—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); November 8, 2010; 19:39 (UTC)

Most recent edit edit

Here is the list of problems with this edit:

  • "Country" information is there to match other similar infoboxes; it was previously requested to be added there by at least two editors as it does help readers who only consult the infobox but not the article.
  • "Basic law type" was recently commented out by my own request, but retained there for now in case others have objections to its removal.
  • Russian should not be removed from the citations per WP:CITE#Non-English sources.
  • "Composition", as applied to the urban/rural population percentages, sounds pretty weird.
  • The rest are mostly style concerns.

Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); August 15, 2011; 15:00 (UTC)

Area citation edit

in Sakha Republic, when I click on the citation for the area it goes to a broken ref. can we fix this? until then, there is a "citation needed" in the Sakha Republic article. Frietjes (talk) 23:42, 28 October 2011 (UTC)Reply

It looks that the person who re-designed the infobox forgot about the area ref parameter altogether—the template is supposed to provide means to override the one used by default. I've fixed that. The ref used by default, however, does not seem to be broken. Could you elaborate on that, please? Thanks!—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); November 1, 2011; 19:24 (UTC)
I think it was just all the "undefined"s all over the page, and the fact that the scrollbar is missing, and that the table headers are completely scrambled on my browser. I was first alerted to it when a "cn" tag was placed on it by another user. I think the website is just unusable on many browsers. It would be could if there were another, more accessible, source. Frietjes (talk) 20:02, 1 November 2011 (UTC)Reply
Oh, you mean what you see when you go to that link; I see. I thought there was something wrong with the way the citation showed in the article. As for the page being cited, I believe it only works properly in IE. Not much we can do about it, and the ref is pretty much the best available, as the target is hosted on the official 2002 Census website. I'm sure a more accessible source can be found, but it would be inferior to this one as far as reliability goes. Hopefully when the complete 2010 Census results are released, we will be able to switch to using it (the official 2010 Census website does not seem to have any pages which only show properly in IE, at least not yet).—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); November 2, 2011; 13:12 (UTC)

latd/longd coords problem: geohack ends up with wrong zoom level, type "city". edit

I don't follow the exact reasons, but when I click on the "Coordinates" link for articles like http://en.wikipedia.org/wiki/Chechnya or http://en.wikipedia.org/wiki/Irkutsk_Oblast, and then click on one of the top choices (Google Maps or OpenStreetMap), I end up staring at a tiny region of the Russian federal subject, rather than seeing the whole thing. In other wikipedia articles and templates it is possible to specify the zoom level when giving the coordinates, but that doesn't seem possible here. GeoHack lists the "type" as a "city" which may be a major symptom of the problem. ★NealMcB★ (talk) 16:13, 24 April 2013 (UTC)Reply

Thanks for catching this. The template re-uses the coordinates code from other templates which primarily deal with the populated places, which is how this level of zoom ended up here. I have changed it to adm1st, which hopefully should take care of the problem. Thanks again.—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); April 24, 2013; 16:22 (UTC)

Where is timezone data populated from? edit

It's incorrect as of right now for the Republic of Crimea, which just jumped ahead to Moscow Time today. -Kudzu1 (talk) 21:21, 29 March 2014 (UTC)Reply

Looks like you've already found it, but for future reference of others, it's in {{RussiaTimeZone}}. Cheers,—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); March 31, 2014; 12:04 (UTC)

Nickname edit

I wanted to copy nicknames to Moscow from Russian Wikipedia to Moscow article, but looks like I can't since Template:Infobox Russian federal subject does not have "nickname" field. Could someone add required parts from Template:Infobox Settlement to this temple to make it possible? Netrat (talk) 01:43, 9 March 2016 (UTC)Reply

There really is no point in adding a bunch of parameters which will only be used in a couple of articles at most. Even with Moscow, the nicknames refer to the city, not to the federal subject, so adding them to the infobox would be doubly improper.—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); March 9, 2016; 17:48 (UTC)

Edit request edit

@Primefac, Underlying lk, Hhkohh, Pppery, Josephua, Lordtobi, and Zackmann08: Most recent editors: Would someone please be so kind as to change the hyphen in (negative) population estimates ("pop_latest") to a proper minus sign (−)? I'm afraid the code's syntax is a bit beyond me, and I'd rather not make a mistake here. —DocWatson42 (talk) 07:19, 21 July 2019 (UTC)Reply

DocWatson42, I'm afraid the minus is not set locally, it is the result of using #expr, a basic MediaWiki function, to calculate the percentage. Changing this would require a request at a higher level. Lordtobi () 08:40, 21 July 2019 (UTC)Reply
@Lordtobi: Thank you for the answer. ^_^ (I'm glad that I did not try messing around with the template's code.) —DocWatson42 (talk) 02:03, 22 July 2019 (UTC)Reply

Military district request edit

Hi. Can I ask for a request to add a Russian military districts, along with federal districts and economic regions of Russia. It would be great to for the readers to know what military district its federal subject is located at. Any consideration from that is much appreciated. Thanks Ivan Milenin (talk) 22:46, 20 February 2021 (UTC)Reply

2021 Census edit

Since the first results of the 2021 Census have been released (they can be found here) new fields for 2021 population data should be added. Juihui (talk) 22:34, 2 September 2022 (UTC)Reply

@Ezhiki:, is this something you are able to access? Seems like the 2018 estimates are built into the Infobox and cannot be removed in favor of 2021 data. IncredibleDryMouth (talk) 20:46, 4 December 2022 (UTC)Reply
The way we had this set up in the past is this. The infobox would always have two population options—one for the most recent Census figure, the other for the most recent population estimate figure (when the estimate is more recent than the Census, obviously; if the Census is the most recent set of data, then that's the only thing that's populated).
When we were updating the Census figures last time (from the 2002 Census to the 2010 Census), an additional Census option was temporarily added to the template (so both pop_2002census and pop_2010census parameters were supported). This allowed to work on adding the newer Census figures to articles without disrupting everything. Once all articles had been updated, support for the pop_2002census option was removed.
Now, that work was all done pretty much manually. I haven't been actively working on Wikipedia in years, so I don't know if a better approach currently exists. If you are interested in looking into automating this process (which would come in super handy during the next Census!), I would suggest running a bot that replaces the pop_2010census parameters with generic pop_census set of parameters, with an option to add a reference to the specific Census. If automation is not an option, then just add a set of pop_2021census parameters to the template so editors could gradually swap in more recent Census results, and once everything is updated, the pop_2010census can be removed. Cheers,—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); December 4, 2022; 21:00 (UTC)

Military districts edit

Hi. I would like to request a request to add a Russian military districts, along with federal districts and economic regions of Russia. It would be great to for the readers to know what military district its federal subject is located at. Any consideration from that is much appreciated. Thank you. (P.S. This is a revived request from last year, and thank you again.) Ivan Milenin (talk) 17:30, 15 November 2022 (UTC)Reply