Talk:Wiki

From OpenStreetMap Wiki
Jump to navigation Jump to search

If you have ideas for the wiki, you can generally just do them, by editing the wiki! Big restructuring can be discussed in relation to WikiProject Cleanup, but in general we would encourage you to be bold.

If you have ideas for technical improvements to the way the wiki works, e.g. extensions we should install, you might add them here. For adding extensions, once discussed and consensus is present, a wiki admin should be requested to add the suggestion as an issue to openstreetmap/operations/issues/. ([1])

Older requests can be found in archives, see yellow box below this line, on the right side of the page.

Much older requests can be found in trac (raised as 'component=wiki'): https://trac.openstreetmap.org/query?status=new&status=assigned&status=reopened&component=wiki&order=priority



Visual editor isn't usable because of {{Fa}} template

By putting the {{fa}} template at beginning of Farsi pages, content of the page will be wrapped into it, and so, Visual editor doesn't allow direct editing, but we should edit the content via an interface like text editor.

I found out if I put direct HTML of the template instead of the template itself, visual editor will work.

An example page that uses the {{fa}} to make the page RTL, and the same page that uses the following HTML directly (HTML code from template):

<div lang="fa" dir="rtl" class="mw-content-rtl" style="direction:rtl;text-align:initial;font-family:'Noto Naskh Arabic',Noto,'Segoe UI','Iranian Sans',Tahoma,sans-serif;font-size:initial;line-height:1.6">

My question: is there any solution to avoid using this long piece of HTML code and at the same time visual editor work properly? iriman (talk) 13:15, 22 May 2019 (UTC)

What formatting and templates (if any) do multilingual WMF wikis such as Wikimedia Commons, meta.wikimedia.org and Mediawiki.org use? Does the Visual editor work there? --Andrew (talk) 19:09, 22 May 2019 (UTC)
seems they don't have visual editor as we have here. It's a translate functionality. but on commons there is some templates, for example main page in persian wikimedia commons has a template that uses langcode parameter, however I couldn't find visual editor. iriman (talk) 13:37, 23 May 2019 (UTC)

I tried out a workaround so that for using it without a parameter we should use <div {{fa}}> instead of bare {{fa}}. Apparently it works. Please take a look at my draft. iriman (talk) 14:22, 23 May 2019 (UTC)

I want to modify {{Fa}} as its sandbox version. Then change all instances of {{fa}} to <div {{fa}}> on all pages of this wiki (~300 pages) with a comment for users who are following those pages.
This will not hurt inline ones {{fa|some text}}, as you can see in my draft mentioned on previous message.
I cannot do this task manually, and willing someone do it automatically.
After that we also need to update {{Ltr}} (~50 pages). iriman (talk) 14:51, 24 May 2019 (UTC)
Regarding your question: WM Commons seems to use the page content language property. According to the MediaWiki documentation, changing the page language wraps the content area in <div lang="xyz" dir="ltr/rtl" class="mw-content-ltr/rtl">page content</div>. So, in this case it would be <div lang="fa" dir="rtl" class="mw-content-rtl">.... This solution looks a bit more professional for me, but it would not necessarily include the additional style definitions by {{Fa}}. Is that an issue? (from a technical POV, we would need to request the system administrators to carry out some configuration changes and it may take a few days to review.) --Tigerfell This user is member of the wiki team of OSM (Let's talk) 18:08, 24 May 2019 (UTC)
There is no Special:PageLanguage here though. --Andrew (talk) 08:44, 25 May 2019 (UTC)
That is what I meant with "configuration changes". First of all, they would need to enable setting languages for individual pages using $wgPageLanguageUseDB and then they need to assign the pagelang permission to some user group. I'd suggest either user or autoconfirmed (most of us are a member of both groups). The special page will then appear. The procedure for changing the page language would then work similar to changing the page content model using Special:ChangeContentModel. BTW, we could save the rest of the markup of {{Fa}} in MediaWiki:Common.css. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 10:57, 25 May 2019 (UTC)
@Tigerfell Definitely your solution is more professional. Font of the page and line height are important but not as important as page direction. With your solution if we'll have visual editor, I think we would be comfortable with it. iriman (talk) 11:24, 25 May 2019 (UTC)

@Iriman: The feature was added in openstreetmap/chef/pull/239. I already tried it out in my sandbox. Regarding the rest of the formatting, I would suggest you make an edit request at MediaWiki talk:Common.css for all RTL languages' formatting. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 20:52, 4 June 2019 (UTC)

Nice! Many thanks for following up on this issue. Ok, I will make a request there, thanks for the link! iriman (talk) 23:39, 4 June 2019 (UTC)
@Yurik: Is it possible to set this for all pages with language prefixes in their names by bot? --Andrew (talk) 06:21, 5 June 2019 (UTC)
Yes, it would be a fairly simple bot that would call action=setpagelanguage, but I am not sure how the bot will know the current language of the page - I couldn't find the api for that. Perhaps the bot will just keep a list of pages it has already modified. --Yurik (talk) 18:46, 5 June 2019 (UTC)
All pages except for those changed recently (after the configuration change) are in English (default language for this wiki). --Tigerfell This user is member of the wiki team of OSM (Let's talk) 20:10, 5 June 2019 (UTC)
+1. Also we need to remove {{Fa}}, {{Ar}}, etc. from beginning of those pages. But note that there may be some of these templates currently explicitly transcluded in block mode {{fa}}...</div> or inline mode {{fa|...}}. They should remain as they are now. iriman (talk) 19:01, 5 June 2019 (UTC)
Actually currently we may have {{fa}}...</div> or inline mode {{fa|...}} in other namespaces that are ltr. not an issue here. iriman (talk) 08:16, 6 June 2019 (UTC)
Long term maintenance could be done various ways, for instance putting a warning message and tracking category in the language template if the language set in Mediawiki differs from the one inferred from the page name. Populating the language tags in the first place is the tedious bit. --Andrew (talk) 07:36, 6 June 2019 (UTC)
Why do we need to have the correct language setting for all pages? It would be obviously nice to know and a good info for search engines and the like, but apart from that? --Tigerfell This user is member of the wiki team of OSM (Let's talk) 17:23, 6 June 2019 (UTC)
It could be useful for language-specific formatting, for example font face (since it's a common need between all languages). This is a possibility only. Users of a language may need it, or not if default configuratuon satisfies them. For Fa, Ar, He, etc. currently we have font settings on our templates {{fa}}, {{ar}}, {{he}}, etc.iriman (talk) 10:59, 8 June 2019 (UTC)

By use of @Wynndale: idea, I put a general notice on {{Fa}} template for a somehow long term maintenance on Farsi wiki. iriman (talk) 15:21, 13 June 2019 (UTC)

Hi again, could someone please take this issue in hand: Setting the page content language for new wiki pages automatically on page creation iriman (talk) 05:51, 17 June 2019 (UTC)

Redirects for linking from Taginfo

The page Key:jetski:rental saw some reverts recently and that is why I would like to know if there is some common opinion about creating redirects for supporting links from taginfo to the wiki.

Background information: Taginfo searches for wiki pages with the format Key:abc or Tag:abc=def. Sometimes the second page does not exist because the tag page includes all information already or the information is trivial such as yes. Some users then create a page Key:abc=yes which redirects to Tag:abc while others dislike that and mark the page for deletion.

I would like to formulate some guideline, so that the reverting stops. Are there any objective reasons why one option might be preferable? --Tigerfell This user is member of the wiki team of OSM (Let's talk) 15:26, 4 January 2020 (UTC)

If anyone is willing to code a fix for Taginfo issue 248 this argument goes away because Taginfo would no longer need to use documentation pages.--Andrew (talk) 17:03, 4 January 2020 (UTC)
I need to, but will be happy if someone else would tackle that. I will be happy to consult. Ping me on OSM slack (user nyurik), or can do a video chat. --Yurik (talk) 19:01, 4 January 2020 (UTC)
@Wynndale: That is even better! Are the Taginfo maintainers willing to merge such code? I am skeptical, because I emailed System-users-3.svgJoto (Jochen Topf on osm, edits, contrib, heatmap, chngset com.) on 26 November and asked him to unlock the conversation, but I never received a reply. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 17:48, 5 January 2020 (UTC)
Changing Taginfo to stop using OSM Wiki and replacing it with data items is a terrible idea. Mateusz Konieczny (talk) 08:30, 13 January 2021 (UTC)
I would say that such redirects are useful only if redirects leads to a different key Mateusz Konieczny (talk) 08:30, 13 January 2021 (UTC)

Transition to use data items when this can be done without loosing information

Hi I have experienced an editor who claims that we have not decided to start using the data items. https://wiki.openstreetmap.org/w/index.php?title=Tag:amenity%3Dshelter&diff=next&oldid=1944254 In this edit the user reverted my edit resulting in a net loss of information because the data item have a lot more combinations: combination: shelter_type bench table drinking_water water_source floor:material building access image fireplace mattress locked distance_from_road year_of_construction water_source bin wikidata capacity

I therefore suggest that we discuss here and later vote about start using the data of our fantastic data items when no data is lost doing so as in the example case above.--PangoSE (talk) 10:56, 15 January 2020 (UTC)

This specific case is a separate issue, for example distance_from_road=* seems to be dubious at best and in my opinion it should not be used at all. I will start a discussion on the tagging mailing list to get wider opinions Mateusz Konieczny (talk) 11:08, 15 January 2020 (UTC)
No, you did not mention this at all in you revert. You also did not discuss this in the talk page of either the tag in question nor the discussion page of the data item.--PangoSE (talk) 11:18, 15 January 2020 (UTC)
Yes, initial revert was done with justification "relying on fetch data from wikidata data items is not desirable". I am disputing claim that it resulted in "net loss of information". I will add further comments about what I consider as mistakes on Item talk:Q5007 (starting from wikidata and image tags). Mateusz Konieczny (talk) 11:27, 15 January 2020 (UTC)
For what it's worth, I was also going to revert the change, but I see Mateusz Konieczny got to it before me. --Jeisenbe (talk) 13:33, 15 January 2020 (UTC)
Also I'm not in favor of fragmentating the discussion away from this wiki. Please urge wherever you share this that they contribute here.--PangoSE (talk) 11:20, 15 January 2020 (UTC)
Certainly, any external notification should mention that it is 100% invitation and that comments elsewhere are going to be ignored. Mateusz Konieczny (talk) 11:24, 15 January 2020 (UTC)
For more general issue - I have several problems with data items. Main ones for me are
  • Adding data item to the Watchlist means that it gets filled with "used added translation in Hungarian/Korean/etc" or in other language that is 100% unfamiliar to me where I am unable to distinguish correct edit from clear vandalism, AFAIK it is impossible to avoid it and makes easy to miss edits that I can review
  • Watchlist is filled with things like Item talk:Q5007‎‎. I really prefer to not use database identifiers as titles, especially in cases where obvious human-rememberable titles are available
  • As a direct result of watchlist issues - quality of data in data items is significantly lower than data specified in the article text (including template parameters)
  • poor page titles (compare Item:Q5007 and Tag:amenity=shelter), naming collision with the main Wikidata (see https://www.wikidata.org/wiki/Q5007 )
  • Editing interface requires JS, page loads for far longer and interface elements jump around as page continues to load
  • Inability to copy content, edit it outside browser as text and copy it back
  • Tying OSM Wiki to one more third-party system and relying on it, one more part that may break
  • Making editing Wiki more complex, now people need to edit in two different places
  • Overall, due to UI issues I am not a fan of data items and oppose migrating to them
Mateusz Konieczny (talk) 11:24, 15 January 2020 (UTC)
Thanks for taking the time to write this. I like your arguments and I'm somewhat surprised that we have rolled out a system and encourage people to used it but when they do, the community cannot accept the information to be displayed in the wiki.--PangoSE (talk) 15:02, 15 January 2020 (UTC)
PangoSE I'm very unhappy with changes you made. Some tools use wiki and not data items (for ex taginfo). Removing stuff from wiki destroy usefull information for those tools. Keeping it in the wiki without editing the data item allow all info to be used by both wiki-based and dataitems-based tools.
in fact I'm unhappy with the write acces to data items that has been done too early, all major tools must first be migrated to the dataitems.
unfortunately for the moment the data items lead to a desyncronization of the information according to the method used to access it, which is the opposite of the arguments used for the experiments.
Marc marc (talk) 12:03, 15 January 2020 (UTC)
Hi Marc, based on the other answers here, maybe the data items should as you suggest be read-only until wider adoption is agreed. Personally I would rather transition to a wikibase-only solution parsed from the wiki and the wiki deprecated, instead of this half-half solution that is brittle/confusing/not agreed on. I like the wikibase-editing approach and consistency better, but this is my subjective taste.--PangoSE (talk) 15:02, 15 January 2020 (UTC)
I also oppose this idea. Editing the data items is more difficult than adding the text-based templates and maintenance is harder. It is nearly impossible to follow the changes to a data item, because each change is recorded separately. Right now you can understand the whole history of a Tag: or Key: page, which describe the basic features in Openstreetmap, just by looking at the page history. If we instead switch to pull everything from the wiki data item, you will have to look at 2 pages histories to understand what has happened. I don't see any benefits to outweigh these problems, especially for the English language pages. --Jeisenbe (talk) 13:33, 15 January 2020 (UTC)
I disagree that it is harder than templates and text - I personally dislike wiki-templates if the data is suitable to model in a wikibase instead (which it is in this case IMO). This is the reason I edited the combination-property on the item instead of the wiki-infobox, I remind you that I saw nothing anywhere discouraging me from doing this. I agree that having both side by side is confusing and not a good idea. Wikipedia and Wikidata work because they are not side by side and it is quite clearly define what goes where. It seems we don't have the contributor base or manpower to succeed in copying this WMF wikidata-way at the moment and the result is bad. What about uninstalling the wikibase from the wiki and create a wholly separate OSMbase website where the bot can run loose and whoever want can contribute? This would as I see it solve all the problems in one go: no more confusion, no more editing items instead of wiki and we can choose to copy information from the OSMbase site if we want to and reference properly.--PangoSE (talk) 15:02, 15 January 2020 (UTC)
I agree with Mateusz and Jeisenbe, the complexity added with the wikidata items makes it harder to understand what is going on, and while I follow quite some wikipages with respect to their changes, I do not do it for our wikidata items because of too much noise. —Dieterdreist (talk) 18:49, 15 January 2020 (UTC)

@Mateusz Konieczny: I appreciate you spelling out in detail the pain points you're experiencing with data items. I hope we can chip away at these problems without making data items read-only or shunting them onto a less integrated site, so that OSM can continue to benefit from increased software integration (that isn't bottlenecked by taginfo) and improved translation coverage.

I think I misunderstood you the other day when you asked how to filter your watchlist in Slack. Here are some possible solutions to the noise that you're experiencing on Special:Watchlist. These solutions also work equally well on Special:RecentChanges and Special:RecentChangesLinked:

  • To filter out changes to data items associated with the wiki pages you're watching, uncheck the "Show data item edits in your watchlist" setting in your watchlist preferences. (The watchlist page itself also has a checkbox in the "Filter changes" dropdown to filter them out temporarily.) The checkbox was misleadingly labeled "Show OpenStreetMap Wiki edits in your watchlist" until just now. There are many such messages that refer to the {{WBREPONAME}} variable. I've fixed all the messages I could find, but only in English. This GitHub issue tracks changing the MediaWiki configuration to resolve the ambiguity across all languages.
  • To filter out all edits to data items, click the  Namespaces button in the filter panel, check "Item", and click "Exclude selected". You can click the bookmark button to save the filters for next time.
  • To filter out only changes to labels, descriptions, or aliases on data items, click the  Tags button in the filter panel, check "Data item terms", and click "Exclude selected". You can click the bookmark button to save the filters for next time. I just set up an "abuse filter" to automatically tag incoming edits going forward. (Edit: This filter is temporarily disabled due to a configuration issue.)
  • If you need to track edits to descriptions in a particular language but not the other languages, I could create a dedicated abuse filter for your language, but we should limit such tags to the most widely used languages to avoid unnecessary load on the server. That said, I hope the existing filter and tag are enough for your needs; to me, an inability to filter on specific languages would be similar to the situation with translatable templates.

@Yurik: has been working on some enhancements to this wiki's interface that will integrate data item editing into the main wiki reading interface. That should result in more intuitive editing than the existing template system without the excessive clicking that the default Wikibase interface currently requires.

I think it's fair to say that editing either the wiki pages or the data items is still too confusing to inexperienced wiki editors (which is to say, inexperienced and experienced mappers alike). I value data items but also think we should make sure they coexist with key/tag description pages for now, rather than coopting them. Data redundancy isn't ideal, but we already flag some inconsistencies through maintenance categories such as Category:Mismatched onNode. If these inconsistencies become too overwhelming to resolve manually, we could have bots like Yurikbot do the gruntwork of automatically synchronizing the data items with pages or vice versa. This kind of synchronization is impractical if we rely solely on wiki pages and translations of wiki pages, as evidenced by the 1,278 keys and tags that are documented inconsistently among wikitext translations.

 – Minh Nguyễn 💬 19:11, 15 January 2020 (UTC)

I would want to ability to exclude from watchlist edits for labels, except specified languages (Polish and English in my case). Weird setups like filtering RSS or abuse filters are not really solving the root problem with watchlist. Note that watchlist pollution affects everybody, not just me and this is a basic tool in wiki. Solution to this problem should be accessible to normal users. Mateusz Konieczny (talk) 19:15, 16 January 2020 (UTC)

I agree, we can do more to improve the ergonomics. Using abuse filters in the manner described above is not uncommon with MediaWiki instances, but it does require some adjustments to the default configuration.

At a certain point of granularity, we’re really talking about the ability to query changes based on arbitrary criteria, which is beyond MediaWiki’s built-in capabilities regardless of the page’s content model. Such querying is relatively straightforward with tools like Quarry. But if the primary requirement is that the tooling is 100% built into MediaWiki, then there’s no good workaround for the fact that translations live on the same page as each other. This same limitation applies to various templates around here, to the extent that anyone cares to watch templates.

On the other hand, keeping translations together means they’re less likely to get out of sync, and sharing untranslatable properties among translators keeps our tagging system from fragmenting between language communities. If hypothetically we were to abandon data items, we would still need a solution for these problems. But an alternative translation solution, the Translate extension, has gone nowhere. Meanwhile, if we were to require that every key/tag infobox draws its data from a shared template instead, I’m not sure that would be any more ergonomic, except for the few of us who are comfortable hacking on templates. (As it is, even the infobox parameters being discussed above require plenty of clicking around in the visual editor, which is enabled by default.)

This is also a good opportunity to examine the practical problems with relying on non-core tools. (I hesitate to call something run entirely by OSM contributors, often on OSM infrastructure, “third-party”.) If filtering the watchlist were to require a user script or potentially a lightweight tool that uses the MediaWiki API, would that be any more unusual than our reliance on taginfo for analyzing OSM tag usage or OSMCha for supplementing the OSM website’s changeset history functionality?

If the concern is about learning curve and discoverability for new contributors, then the solution is to embed these tools in the wiki, which we can do by writing gadgets. If the concern is that only a limited subset of the mapping community has the wherewithal to contribute to data items or tooling around them, then I would just take a look at the limited number of people who maintain our templates today as a counterpoint. The power of a wiki is its openness to new contributors being bold with new ideas, but that flexibility has long been hamstrung by concerns about compatibility with screen scrapers used by taginfo and OSMBC, neither of which are actively maintained, making it difficult to revamp poorly architected templates.

I think the ultimate goal should be that every mapper should be able to improve our documentation and shape the community’s understanding of our tagging system without having to learn a foreign language (human or computer). None of our schemes accomplishes that, not even close. But a system that has localization and programmatic access built in is far superior to a system that can only be localized or parsed thanks to layers of templating hacks and unmaintained regular expressions.

Finally, since Gmane is down and I can’t respond directly to the mailing list thread about this discussion, it should be noted that data items are an approach to managing documentation about tags; its adoption is completely orthogonal to the inclusion of Wikidata QIDs in the OSM database.

– Minh Nguyễn 💬 23:46, 16 January 2020 (UTC)

Re: "...[it] keeps our tagging system from fragmenting between language communities. If hypothetically we were to abandon data items, we would still need a solution" - this is assuming that allowing tags to be used differently in other countries and language communities is a problem that must be stamped out, rather than a normal result of a global project which is adapted to local conditions in many different countries and language areas.
The watchlist is currently an automatic way of maintaining the wiki pages: anyone who edits a page is signed up to get notifications about any changes that happen. That's why I am watching almost all of the Tag: and Key: pages listed in Map Features: I have edited most of them at one time or another, and I now am aware if they are changed. There are a dozen other users that are being notified of each change for the same reason, and this prevents vandalism and mistakes. But watching the wiki data items is nearly impossible: there are far too many email notifications to manage as less than a full-time job, since every individual change in every language is a notification.
Re: "I think the ultimate goal should be that every mapper should be able to improve our documentation and shape the community’s understanding of our tagging system without having to learn a foreign language (human or computer)" - in this case we should remove the ability to directly edit wiki data items and use get things like the "combinations=", "see also=", "requires=" and "onNode, onArea" from the plain text of the wiki page by using a natural language parser. This could still use the wiki data items as a back-end, but it should be designed in a way that does not require any maintenance. Perhaps it is better if tools like taginfo can do this step automatically. I don't know if algorithmic language processing is anywhere near good enough for this purpose, but the goal should be encouraging human-readable, well-written wiki page text (plus some relevant images). All of this data item distraction is taking up time that could be used improving the human-written, human-readable documentation that should be in the main text of the wiki pages, not in a secondary database. --Jeisenbe (talk) 02:46, 17 January 2020 (UTC)

Ignoring its potential to the wider OSM project beyond the wiki, Wikibase is a tool for managing the content of infoboxes. Just as infoboxes aren't a replacement for body text, data items aren't a replacement for body text either. As things stand, everything in a data item should already be shown in the key or tag description page's infobox. Eventually, I hope you'll be even able to click a edit button next to each row in the infobox, type the new value inline, and save without ever leaving the page. But there will always be a place for human-written, human-readable documentation regardless of data items. The body text is a great place to explain the real-world phenomenon expressed by the tag, how to find such things on foot or in imagery, common mistakes to avoid and how to fix them, external resources for learning more about the topic, and so on. For example, very little of the body text in Tag:emergency=siren or Tag:service=driveway overlaps with the infoboxes.

Some variability is inevitable and preferable in such a global yet hyperlocal project as OSM. However, most of the interlanguage discrepancies on this wiki are unintentional. (This list links to items for which inconsistencies were identified when seeding the original data items with data parsed from key and tag description pages and their translations, minus the inconsistencies that have since been resolved thanks to the data items bringing them to light.) Indeed, the few intentional differences seem to conflate languages with countries. The rest are symptoms of the decentralized management of infobox data – inconsistencies that are just as problematic to mappers as they are to any validator, editor, or data consumer that would be built upon the wiki's documentation. After all, most people who edit an infobox won't think to synchronize all the other languages' infoboxes. In the days before Wikibase, someone might've proposed that the infobox in Tag:amenity=telephone and all its translations be populated by the contents of a shared Template:Tag:amenity=telephone. Then maybe someone would've proposed a boilerplate template you could fill out, and then localized versions of that boilerplate template. Wikibase formalizes this functionality for all tags without the overhead of countless error-prone templates.

I'm a bit puzzled by your suggestion about natural language processing. My point was that Wikibase and the data items' properties are already fully localizable, and many languages now enjoy translated tag descriptions in iD because the barrier to creating a translation is so low compared to standard wiki pages. If the problem is that this Wikibase installation is half-baked in any way, yet-to-be-written NLP software isn't a solution. Nor is less sophisticated screen scraping: there's no point to a freeform, human-readable wiki page if it has to be formulated a certain way for a parser to pick it up. Anyways, no one is suggesting that body text be generated from data items, only that the infoboxes draw from data items (which are fully localized) instead of template parameters (which require not only English language skills but also potentially wikitext skills). Even then, I would caution that there's no need to rush and remove template parameters until the tooling around editing and watching data items becomes more mature.

 – Minh Nguyễn 💬 06:28, 17 January 2020 (UTC)

@Jeisenbe: I take it that you enabled the "Email me when a page or a file on my watchlist is changed" and "Add pages and files I edit to my watchlist" preferences? If you're receiving e-mail about every granular change to a data item, I can definitely understand that frustration. Have you considered disabling watchlist e-mails in favor of Special:Watchlist, which can group repeated changes to the same page or data item (as long as you keep "Use non-JavaScript interface" disabled)? I'm currently watching about 500 data items, but the automatic grouping keeps the noise down, and I'm trying to get the translation filter back up and running. If you prefer e-mail or a feed reader, perhaps you could configure your client to filter out notifications about data items. – Minh Nguyễn 💬 06:46, 17 January 2020 (UTC)
"Have you considered disabling watchlist e-mails in favor of Special:Watchlist, which can group repeated changes to the same page or data item (as long as you keep "Use non-JavaScript interface" disabled)?" - I am using solely Special:Watchlist and it is also not capable of handling data items (unable to exclude translation edits in languages that are unfamiliar to me and show other edits). I am unable to keep them on watchlist as label-translation edits to them lead to an unreasonable spam. I never used email notifications Mateusz Konieczny (talk) 10:22, 17 January 2020 (UTC)

Hi @PangoSE: and thank you to have started this discussion. It seems we'll have to discuss, contribute and wait a bit more before DataItems be adopted as wide as wiki is currently in a large variety of tools. WikiData, DataItems, @Yurik: and other contributors works bring here a lot to samentical information quality and benefits will surely be far more important than preserving wikicode edition on a long term basis. As few concerns raise about how such tools are deserving mappers comunity, I find myself each time more surprised on how changes are first of all critisized and pretty not understood. As a wikieditor I just can't wait for a better DataItem integration in as many tool as possible. For instance, it's currently under discussion with JOSM team to take the good of this solution to produce useful and translated presets. Let's keep going with this good work and positive feelings. Fanfouer (talk) 20:00, 15 January 2020 (UTC)

I never liked the "Wikibase" related changes to our wiki and felt this was driving things away from a relatively simple schema accessible to everyone, into an expert-only realm that required much more domain knowledge to actually make a change. I do not want wiki editing to be (even) more complex than mapping is; most steps in the "Wikibase" direction seemed to me to complicate things, or at least rely on some experts to make some things available that are easy to use (but if you want something else it's template madness). I usually kept quiet because I didn't want to ruin the fun for the Wikibase advocates as long as the "normal" use of the Wiki was not hindered too much, but if people start treating the "Wikibase" part as the master system and everything else as "derived content", and you are forced to understand the "Wikibase" stuff to participate, then the buck stops for me and I am in favour of throwing out the lot. --Woodpeck (talk) 14:51, 17 January 2020 (UTC)

Same remarks apply to wikicode and templates. It is retricted to a small community mastering the edition of wikicode to change anything. Let's call it the OSM community. Fanfouer (talk) 16:05, 17 January 2020 (UTC)
I agree with Fanfouer here. I think much of this discussion is based on an unmerited bias towards wikicode. Lets face the facts:
  1. wikicode as technology is +20 years old and besides adding Lua not much has changed
  2. Wikicode might look pretty but it is notoriously hard to parse and a bad choice if that is your top priority
  3. Wikibase is a fairly new technology with much improved data consistency and interoperability.
  4. wikibase items can be improved from e.g. inside josm if we would like that
  5. improvements to the documentation in items reach everyone, improvements in the wiki might only reach a minority understanding that language
I have the impression that with well documented items with qualifiers - I'm not so sure we need the body text anymore to explain use of tags. People in doubt can ask on a mailing list or on the talk page of an item. This might cause a steeped learning curve, or might not because the presets in both josm and ID are very nice and helpful and ease my memory so that I font have to remember a lot of tags. With data items we can have a mouse over popup that defines any tag the user sees on the screen. This is wonderful!--PangoSE (talk) 21:19, 17 January 2020 (UTC)
  1. "not much has changed" - I consider it as a strong benefit. It means that there is much larger pool of people familiar with it. Old technologies are often worse than new technologies, but "X is an old technology, without breaking changes for a long time, familiar to many" is a strength, not a weakness
  2. easy to edit, hard to parse - again, I consider this tradeoff as a strength. OSM Wiki is already hard to edit. Making it even harder, just to make parsing of data easier seems a bad change. Especially as data in the infobox templates is parseable and is already used, for example in taginfo!
  3. I agree that keeping data in one place rather than in several is an improvement. But I am not convinced that it is so significant to make data items net positive.
  4. Why we would want to allow editing summary of the article (template parameters/data items) without looking at the article? It will just encourage mismatch between article text and article summary
  5. Can you give an example of some data item that without translation gives useful info? More than image + usage on way/node/area/relation + in use/de facto/deprecated/approved status already displayed by an infobox? I would expect that it is not enough to understand or use the tag.
I am pretty sure that qualifiers are not enough to replace entire article text, though it could be interesting to see this in action. Can you give examples of some complicated tag documentation article and its full replacement in the data item? (BTW, thanks for presenting your arguments!)Mateusz Konieczny (talk) 10:06, 18 January 2020 (UTC)
@Jeisenbe: -- RE: "Re: "...[it] keeps our tagging system from fragmenting between language communities. If hypothetically we were to abandon data items, we would still need a solution" - this is assuming that allowing tags to be used differently in other countries and language communities is a problem that must be stamped out, rather than a normal result of a global project which is adapted to local conditions in many different countries and language areas.
You are equating regions and languages. The language of the wiki should not be the deciding factor of what should be used where. I could be a Russian-speaking person living in Brooklyn/New York (huge community there, with older generation not speaking any English), or Russia (many different locales), or any other place. Portuguese is spoken in Portugal and Brazil - very different mapping communities. Regions on the other hand could have different rules. But those differences must be documented, hopefully in every language, to make sure everyone understands them including all the data consumers. So far I only know of one case like this -- Key:noexit is allowed on ways, but DE:Key:noexit prohibits it. Most other cases are the result of stale documentation - thus a huge documentation problem. Please see storing geographical differences and the following section about locales. --Yurik (talk) 05:04, 19 January 2020 (UTC)

I find myself disagreeing both with those who want to abandon data items and with those who want to abandon ordinary prose on wiki pages. I think we're all going to talk past each other ad nauseam if we only consider extreme measures. On the one hand, it's ironic that that we're mappers who spend much of our time literally making the world machine-readable through tags, yet we can't accept some structured metadata as a complement to our tag documentation. On the other hand, anyone who thinks we can replace prose mapping documentation with data items should click on Special:RandomInCategory/Tag descriptions a bunch of times and try porting all the body text to the corresponding data item – I think you'll be mired in proposing new properties and qualifiers in Talk:Data items for some time to come.

The issue of unintentional discrepancies between infobox translations is actually a significant problem. If the wiki is internally inconsistent on basic facts like whether a particular tag can be used on an area – in hundreds of cases – can validator and editor developers trust the wiki? Or will they be forced to march to their own tune and bring mappers along with them? Wikibase carries the potential to make the wiki more relevant and harder for tool developers to ignore. Isn't that good for the wiki? But imagining that Wikibase had never been installed, would you favor factoring out each English tag description page's infobox code into a template such as Template:ValueDescription/amenity=telephone, to centralize language-agnostic details like |onArea = and |implies =? What about the English template and parameter names – would we rename the parameters to be panlingual or insert comments in every language? Or should everyone learn English in order to contribute to the infoboxes?

The guide for creating a translation of a tag description page is full of wiki jargon and glosses over lots of things that make it difficult to understand the text that one would be copy-pasting. The Wikibase interface also uses some jargon like "statement" and "qualifier", but all those terms are translated, and a translator doesn't have to bother with anything but the description anyways. It's little wonder that, for instance, there are 1,538 feature description pages in Polish but 2,017 data item descriptions in the same language. (It's even more pronounced in other languages: 41 times more descriptions than pages in Vietnamese.) I look forward to the Polish community eventually writing up full-fledged mapping how-tos for the remaining 479 data items and any others that get Polish descriptions in the meantime, but let's not make perfect the enemy of the good.

Taginfo has been brought up many times in this discussion, but it rather proves the point that this wiki needs structured metadata. Taginfo's wiki scraper is quite involved, but it can't deal with slight variations in wiki syntax or the annotated lists of valid values or related tags that often appear in the page body. [2][3] Validators can't use the taginfo API to flag usage of deprecated tags, so every editor has its own logic. [4] I don't mean to disparage taginfo: its specialty is analyzing the OSM database, not making the wiki more digestible. But the scraper does keep us from modernizing templates like {{ValueDescription}}. We can't for instance remove the redundant "File:" from |image = and |osmcarto-rendering-area = or automatically derive |key = and |value = from the page title without having to also hack on Ruby code.

@Mateusz Konieczny: You might see the constant hum of data item changes in your watchlist as nothing more than noise, but to me it's evidence that the wiki is growing beyond what it was before, becoming more relevant to a larger swath of the OSM community. I feel bad saying you have to put up with daily inconveniences for the sake of this growth. As an administrator, I view it as my responsibility to collaborate on solutions for the inconveniences you're experiencing. Your claim that data items are more difficult to edit than infobox templates is intriguing. So far, all I can surmise is that there's a lot more clicking, and that you need to keep other tabs open for context while you edit the data item. If these or other usability problems have soured you on Wikibase, then we should explore each of those problems, perhaps in new sections of Talk:Data items where the focus can be on improvement rather than elimination.

(Sorry for not responding to each of your above bullet points one by one. It's difficult to do so in this talk page format. In my opinion, the mailing list would've been a less confusing place to quote and reply.)

 – Minh Nguyễn 💬 07:03, 19 January 2020 (UTC)

"wiki is growing beyond what it was before" the difference is that with wiki pages I am intentionally not watchlisting for example German translation page. Data items are forcing me to watchlist all translations. That is why I am using Special:Watchlist, not Special:RecentChanges, Maybe data items have overall better UI and people prefer structured interface. Even at cost of horribly long loading time and slower editing speed. But is there any evidence that data items are overall more accessible or used more? Mateusz Konieczny (talk) 14:54, 21 January 2020 (UTC)
"So far, all I can surmise is that there's a lot more clicking, and that you need to keep other tabs open for context while you edit the data item." - horrible load time, each change must be saved separately, changes now require editing both description and a completely separate page Mateusz Konieczny (talk) 14:54, 21 January 2020 (UTC)
"the mailing list would've been a less confusing place to quote and reply" - I am not going to defend talk page interfaces in mediawiki, this is a clearly horrible hack that really deserves to be replaced. Though for OSM Wiki specific discussing it on Wiki seems a much better idea that using a separate forum like mailing list. Mateusz Konieczny (talk) 14:54, 21 January 2020 (UTC)

Data items - displaying P16 in Wiki lists

More and more data items are translated in other languages (e.g. German). Due to the translation of the label it is difficult to recognize the nativekey behind it in the Wiki, at least working in the Wiki is no longer comfortable. This is especially true for special pages like "Recent changes" or "Watchlist". Therefore I would like to see that these pages in the Wiki always show or list the permanent key P16 instead of the label in the respective display language. - Is there any way to change this? Where would I have to ask this? In the meantime, the only solution is to change the display language to English. Regards --Chris2map (talk) 16:16, 5 June 2020 (UTC)

What you mean by nativekey and P16? (in my case "solution" is to not add data items to watchlist and treat them as separate project, unrelated to real OSM Wiki - though it would not help if someone wants to have data items on a watchlist) Mateusz Konieczny (talk) 16:40, 5 June 2020 (UTC)
You could move the labels of the items concerned to be aliases instead. @Yurik: Any other ideas? --Andrew (talk) 16:54, 5 June 2020 (UTC)
OK I could ignore data items and exclude the namespace :item from watchlist. But if we gonna ignore them, who cares (maintains) about them? - Don't get me wrong. I'm not keen on it. - I think a further separation of the data items from the Wiki must be avoided. Otherwise there will be 2 competing wikis for OpenStreetMap and it is not clear anymore which one will apply. So improving integration or wiping away data items. --Chris (Chris2map (talk) 18:21, 5 June 2020 (UTC))

CAPTCHA

I've noticed OSM Wiki uses Google reCAPTCHA which I've been almost hit with trying to create my user page. (By "almost" I mean I have Google's domains blocked so my browser cannot download the captcha)

There are automated tools specializing in solving Google's captcha (Buster captcha solver is a freely available example) and I've used some to fully automate jDownloader and similar workflows. Hence reCAPTCHA leaves a lot to be desired in fighting off automated spam.

Moreover, all such tools don't prevent reCAPTCHA's code from running, they simply automate the typing and clicking-through behavior. ReCAPTCHA's code analyzes and attempts to fingerprint your OS and computer. In effect reCAPTCHA de-anonymizes to Google the users of every site which requires its users to solve it. In addition to obvious privacy concerns, as Google is OSM's main competitor, I'd argue doing this to OSM's own contributors is unwise.

I would suggest replacing this with another captcha system, such as Wikipedia's captcha. Rostaman (talk) 03:21, 18 January 2020 (UTC)

See https://github.com/openstreetmap/operations/issues/19 for some context. "I switched to FancyCaptcha for awhile and got shouted at because blind users were unable to complete the captcha.". I am unfamiliar with Wikipedia's captcha (is it usable by us?), but you may try opening a new issue there proposing such change Mateusz Konieczny (talk) 10:12, 18 January 2020 (UTC)
Yeah it seems Wikipedia's captcha has the same problem. I wonder if it could be possible to create some sort of fallback where people can choose to solve Google's captcha if they can't solve the one that doesn't have audio fallback. Rostaman (talk) 02:45, 22 January 2020 (UTC)
It is probably one of cases that are in category of "will be not fixed without someone willing to write necessary code/configuration updates, current contributors are unlikely to have time for that" Mateusz Konieczny (talk) 10:04, 22 January 2020 (UTC)

I wonder if the amount of spam would increase significantly, if we would switch off this CAPTCHA. @Rostaman: Is there any way to get the number of actions denied by reCAPTCHA? --Tigerfell This user is member of the wiki team of OSM (Let's talk) 13:43, 25 January 2020 (UTC)

I don't know, I've never served reCAPTCHA on a website, only solved them. You might want to ask Google or whoever has set up reCAPTCHA on this wiki. I'd say that Wikipedia, despite using a simpler Captcha, doesn't seem to have a large problem with automated spam. They also have nofollow set for links from user pages (see https://meta.wikimedia.org/wiki/Nofollow ) - reading that page, this might already by in place here too since this wiki appears to use MediaWiki too. Rostaman (talk) 05:39, 27 January 2020 (UTC)

Yes, please remove the Google Captcha immediately!.--Kartenziegel (talk) 15:23, 6 February 2020 (UTC)

As a follow-up, I suggested to disable CAPTCHA and check if spam increases significantly. openstreetmap/operations/issues/383 --Tigerfell This user is member of the wiki team of OSM (Let's talk) 10:57, 26 March 2020 (UTC)

Rendering sample images broken in Taglists if they include spaces or underscores

I've been about to change Template:Map_Features:aerialway and Template:Map_Features:power to taglists, but I see that the rendering samples in the taglists do not work properly. This problem is currently visible in taglists like Template:Map_Features:barrier and Template:Map_Features:military. I'm not sure if the issue is in the wiki software or in taginfo or both, but it appears we can fix this by changing the underscores to dashes instead. Geozeisig, would you be interested in trying to fix this? I know you have done a lot of work to maintain these rendering sample images. --Jeisenbe (talk) 22:37, 26 February 2020 (UTC)

Jeisenbe Can you give an example of how it is meant? I am no longer a friend of taglists because a lot of information is lost.--geozeisig (talk) 06:49, 27 February 2020 (UTC)
Well, I thought that changing the underscores to dashes would fix the problem, but now it does not appear to be working for Template:Map_Features:aerialway. Perhaps the problem is with all png files? See https://github.com/taginfo/taginfo/issues/201 and https://github.com/taginfo/taginfo/issues/223 --Jeisenbe (talk) 08:01, 28 February 2020 (UTC)
Thank you for finding the reason of not displayed pictures in Taginfo/Taglists. I noticed this behavior some time ago also for the historic=* table, see my question there at the discussion page: Talk:Key:historic#Taglist_rendering_pic_not_displayed_e.g._for_historic.3Dcastle_wall. Okay, i could help to fix it, but can't tell when i have time for it. By the way, i also struggle a bit with the newer Taginfo/Taglists system, because for some reason i can't see the preview (edit:"Show preview"-function button). The error message says LOADING TAG LIST... (If you do not see this tag list, you need to enable Javascript). Is there something i have to configure on my machine (Javascricpt seems activated for the used browser - firefox), or is this a general issue? Without working edit:"Show preview"-function i wouldn't want to switch to the taglist system. --MalgiK (talk) 11:03, 27 February 2020 (UTC)
Re: "The error message says LOADING TAG LIST..." - I see this sometimes when I have a bad internet connection, but usually if I hit the "preview" button again, it will show. I agree that it is annoying to rely on Javascript rather than having the table pre-rendered. Perhaps someone can fix this technically.
Interesting, i think i'm trying it when having a good enough internet connection and i can see the delayed situation while loading an "normal" article page Taglist-delay-aerialway-main-page-loading.gif, but it never shows the Taglists after hitting the "preview"-button [5]. --MalgiK (talk) 08:07, 1 March 2020 (UTC)
I do like that the descriptions and images are now the same on Map Features and on the wiki pages for each tag, with this system, and this means that they are more likely to be correct and up-to-date. --Jeisenbe (talk) 04:05, 28 February 2020 (UTC)


Preferences: remove option "Mark all edits minor by default"

In the Preferences for this wiki, there is an option under "Editing" to "Mark all edits minor by default". I've now seen 2 users who are rather frequent editors who have (unintentionally?) used this setting, and therefore all their major edits to pages are marked as minor. It seems to mean that this option is a bad idea: there are no wiki editors who only make minor edits 100% of the time. Is it possible to remove this option? --Jeisenbe (talk) 06:47, 13 March 2020 (UTC)

"only make minor edits 100% of the time" - and even if someone makes minor edits 99% of the time then not switching checkbox during bigger edit is still not helpful. Though I admit that I completely ignore major/minor distinction. The most problematic edits are from people willing to (deliberately or by mistake) writing incomplete/misleading edit description. Mateusz Konieczny (talk) 08:43, 13 March 2020 (UTC)
I often use this setting when I propagate a minor change on several pages (like translations or categories). Additionally, bots often make minor edits only. I also stopped using the minor edit flag as an indicator for reviewing changes. It is possible to disable the option and the English Wikipedia did this [6]. One would have to set
$wgHiddenPrefs[] = 'minordefault';
in the configuration and reset the setting for all users in the database. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 10:27, 14 March 2020 (UTC)

Requesting ban for RTFM

Due to

I am asking for a long-term or a permanent ban for RTFM.

I am considering his/her legal threats to be hilarious, and damage done by that editor was easy to fix.

But wasting time on reverts is not productive. And such legal threats may scare some other users.

I would be fine with RTFM editing wiki, as long as such problematic behavior is stopped.

Mateusz Konieczny (talk) 14:23, 30 April 2020 (UTC)

The comment with the link to advocard.de not a direct legal threat (but still not acceptable behaviour anyway). It's just general legal counselling about defamation and libel. However, the comment used on User_talk:Rtfm is a legal threat and no user on this wiki should face any in personal disputes with other users. I propose to ban his account on this wiki until he revokes this threat. Nobody should "learn" that expressing and keeping up legal threats is permitted for contributors to this wiki. --Nakaner (talk) 19:48, 30 April 2020 (UTC)
Also, he repeatedly insults the intelligence of other users, calls people who ask him not to insult others whiners, and makes claims everywhere that people are just paid editors with bad intentions. Which is semi-related to the whole sabotage thing, but a different issue IMO. Really, none of his actions should be acceptable. Especially considering the warnings and recent block (that didn't seem to help). More so though due to him making legal threats about defamation while repeatedly accusing other users of things. Which is completely ridiculous and shouldn't be tolerated. Even if there is no explicit rule about it. --Adamant1 (talk) 04:59, 1 May 2020 (UTC)
  • Pinging active moderators (checked block log and deletion log): @Lyx:, @Tigerfell:. I am not entirely sure is this thread the best solution, but I have no better idea what would be preferable. Posting on mailing list/diary seems worse, tracking down admins and contacting them privately seems to not be better (maybe it would be better). I am pretty resistant to this type of harassment, but it is slowly getting irritating to me. Mateusz Konieczny (talk) 21:41, 3 May 2020 (UTC)
I have asked User:Rtfm for a one week cooling down period to allow me time to look into this. --Lyx (talk) 22:24, 3 May 2020 (UTC)
Thank you for a quick reaction. And sorry for dumping this on moderators, hopefully I was not misrepresenting the situation. I will also avoid engaging this user (no posting further complaints on their talk page, I will try to avoid reverting their edits for now etc). Mateusz Konieczny (talk) 22:44, 3 May 2020 (UTC)
@Lyx: - sorry for bothering you, but what is the status of this thing? Mateusz Konieczny (talk) 10:40, 24 May 2020 (UTC)
Sorry for being so slow with this. A short status update: I have received comments from some people involved in this dispute as well as one of the other admins, and started to check the text on and history of the pages involved. However, I am not finished yet getting a complete picture of the situation and the events leading to it. As far as I can see all people involved acted responsible in the meantime and did not attack any of the others, thank you all for this. I know that I already needed far more time than I initially expected, but I hope you can still grant me some more time. --Lyx (talk) 19:33, 24 May 2020 (UTC)
I am perfectly fine with waiting longer, I just wanted to check is it progressing at all. I understand that it is tricky to do and the most irritating kind of drudgery for multiple reasons Mateusz Konieczny (talk) 21:23, 24 May 2020 (UTC)
@Lyx: ? Mateusz Konieczny (talk) 22:05, 23 June 2020 (UTC)
What do you think about (mass) edits like this ? https://www.openstreetmap.org/node/6895912460/history user:rtfm Rtfm (talk) 20:06, 5 June 2020 (UTC)
@Rtfm: please keep this discussion focused on wiki issues. In case of mapping issues, please contact DWG instead. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 12:06, 6 June 2020 (UTC)

I do not side with the notion of the ban. I shall give a thumbs up on Mateusz Konieczny's most recent offer of a compliment to a OSM editor as of late. No further comments. EnBoldenTexts (talk) 06:41, 24 June 2020 (UTC)

Bot request to set page language

I would like to have the page content language of pages beginning with Ro:Moldova/ and Ro:Romania/ set to Romanian. This means they still display in Romanian if the {{Place}} template is changed to use the page content language. --Andrew (talk) 06:10, 13 May 2020 (UTC)

@Wynndale: can you link manually made edit that you would expect from bot? Mateusz Konieczny (talk) 10:15, 19 March 2021 (UTC)


Followup on CAPTCHA

I've recently found out that Cloudflare has its own CAPTCHA service called hCaptcha. It's not tied into Google's surveillance network, it doesn't discriminate against non-Chrome users, it has some kind of token pass system for visually-impaired and/or privacy-positive users, and it's even currently paying webmasters for completed captchas (Google doesn't reimburse its clients for making their users do free work for its AI program). Might not be the best alternative in regards to privacy (since it still relies on a large company) but arguably better than Google. Rostaman (talk) 15:44, 30 May 2020 (UTC)

I'm surprised there isn't a viable open source non-commercial CAPTCHA system out there that could be adopted. When I randomly looked into it a while back it seemed like all the opensource options still sent information to some random server. Maybe there's one I'm not aware of though that could be used by the wiki. As I think any commercial one, Google or not, will probably compromise privacy somehow and therefore be semi-problematic. The only way around it would be to go with an open source one where the information sharing can be turned off or to create one just for OSM. --Adamant1 (talk) 11:52, 5 June 2020 (UTC)
I agree 100%. However the last time I came here with this question the message was that CAPTCHA is necessary and Google's will remain in use because nothing else satisfactory was suggested. That's why I suggest switching to Cloudflare's for the time being until a privacy-friendly software is found, since Cloudflare is a lesser evil than Google. Rostaman (talk) 13:10, 5 June 2020 (UTC)
See also https://github.com/openstreetmap/chef/issues/298. --Andrew (talk) 17:19, 5 June 2020 (UTC)
Google's Captcha is especially vicious because it punishes you for not having a Google account, deleting cookies or using Tor.
If you really want to defeat the SEO spam (NEW: use Cyrillic to fool the admins) you should just demand an OSM account with > 10 map edits as requirement for a Wiki account.--Tito (talk) 20:56, 5 June 2020 (UTC)
I don't think the wiki and main site are connected in way that would allow for the wiki to be able to tell if a user has 10 map edits. As far as I know, they are completely different logins etc. Not that they couldn't be integrated somehow to get around it. But a lot of higher up OSM people that should be able to edit the wiki lack map edits but are extremely active with the organization in other areas. Same for developers. So, arbitrary map edits as a qualifier could be kind of iffy. Although, 10 is a low bar, but it might be low enough for scammers to just map 10 objects then spam away. Which might slow them down but wouldn't stop them. Not that there aren't ways around CAPTCHA systems either though. --Adamant1 (talk) 04:06, 6 June 2020 (UTC)
Thanks for linking the issue @Andrew:. @others if you want to get in touch with the administrators to initiate a change, I suggest to comment on the GitHub issues. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 11:26, 6 June 2020 (UTC)



Discrepancies in wiki articles: can this tag be used on node? way? area? relation?

Hi everyone,

I found some discrepancies between articles. For example, in the article highway=footway, we can see in the infobox (on right) in section Used on these elements, that this tag can be used only on ways and areas. But on the other language pages (ex: FR:Tag:highway=footway), we can see that this tag can only be used on ways and not on areas. And we have the same issue on the highway=* page in the table listing all values for this tag.

And I'm pretty sure there are a lot of issues like this one.

So either we (I) will need to check every articles in every languages (very long task!) or I can create a bot.

So I want my bot to check for those issues and 'print' a report. So a regular user can try to fix those issues. I never created a bot yet, maybe I will use Pywikibot. Does anybody know if this kind of bot work on this wiki? Also, I may want to use Toolforge to run my bot, but I don't know if Toolforge can target this wiki (a wiki outside wikimedia fundation), any ideas?

Have a nide day. --Binnette (talk) 08:54, 9 October 2020 (UTC)

Ok, so it's seems that we can simply remove the parameters "onNode, onWay, onArea and onRelation" to get the 'fallback' values defined here Item:Q5015 in "use on nodes", "use on ways", "use on areas" and "use on relations". (The job is done by the module Module:DescriptionFromDataItem.)
So I'm just gonna edit highway=footway and remove the 4 parameters "onNode, onWay, onArea and onRelation".
Anybody is against my solution? --Binnette (talk) 11:37, 9 October 2020 (UTC)
BTW, we may consider to remove those 4 parameters for all tags wiki articles. So we will may be need a bot... --Binnette (talk) 11:49, 9 October 2020 (UTC)
It’s also worth checking while you’re there whether anything is in the data item is language-specific (images are not so bad but check the rest). --Andrew (talk) 20:55, 9 October 2020 (UTC)
If you delete the VD parameters ("onNode, onWay, onArea and onRelation") you will loose the taginfo displaying compatibility :-( , see on this table: https://taginfo.openstreetmap.org/tags/highway=footway#wiki --MalgiK (talk) 21:56, 9 October 2020 (UTC)
Please don't delete the parameters from the actual wiki pages. I also think that a bot is the incorrect way to do this. The right way is to check how each tag is actually being used (by looking at taginfo and overpass-turbo) and make sure the description in the wiki matches how the tag is used by most mappers. --Jeisenbe (talk)
Please don't delete any parameters at all. It is fine to edit them, but I am not OK at all with deleting such content from OSM Wiki pages and relying on this data items (there was a big discussion about this already). Note that for translation in a given language it is possible that there is agreement to give up on maintaining this and use unreliable data items. Mateusz Konieczny (talk) 08:15, 10 October 2020 (UTC)
Discussion was on this very page, see Talk:Wiki#Transition_to_use_data_items_when_this_can_be_done_without_loosing_information Mateusz Konieczny (talk) 08:26, 10 October 2020 (UTC)
"So I want my bot to check for those issues and 'print' a report. So a regular user can try to fix those issues. " - it exists already, see list of mismatches at https://wiki.openstreetmap.org/wiki/Category:Data_item_issues Mateusz Konieczny (talk) 08:18, 10 October 2020 (UTC)
For example https://wiki.openstreetmap.org/wiki/Category:Mismatched_onNode (I am not using this as in 99+% cases either translations or data item is wrong - and I do not care about data items and I edit only Polish translation, and even mismatches between PL and data items are generally data item mistakes) Mateusz Konieczny (talk) 08:20, 10 October 2020 (UTC)
@Binnette: I am not yet comparing between languages, but I nearly wrote such bot myself. See User:Mateusz Konieczny/TODO for typical output, code is at https://github.com/matkoniecz/osm_wiki_tag_api If you are interested specifically in log about conflicts between English and French Wiki entries (or maybe French OSM Wiki vs Data items conflicts) I can generate something in format that you want Mateusz Konieczny (talk) 14:43, 10 January 2021 (UTC)

Taginfo placeholders for undocumented tags

I modified the following interface messages in English to embed {{Taginfo}} about the key or tag as a placeholder for prose documentation:

It isn't the prettiest change, but the idea is to reduce reader confusion when encountering a tag that lacks its own page, despite potentially being in wide use, even documented elsewhere on the wiki as part of a broader tagging scheme. Ideally, such tags would have their own pages or at least redirects, but taginfo can serve as a stopgap in the meantime. The taginfo tag statistics box is a mainstay on standard key and tag description pages, so it should be familiar to mappers even without explanatory text.

These three messages are some of the most frequently customized messages among MediaWiki installations. Typically, administrators customize them to more closely tie a wiki to companion websites or make the wiki more user-friendly in general. For example, MediaWiki:Noarticletext would be an ideal place to link to help.openstreetmap.org or a Requested articles page, while MediaWiki:Newarticletext could link to suggestions for writing a good tag description page or offer buttons to prefill standard templates. At the same time, I personally prefer somewhat utilitarian "not found" messages, which load quickly and don't take up too much space in the visual editor's flyout panel. Does anyone have suggestions for further customizing these messages?

Unfortunately, these customizations only take effect when your interface language is set to English. I've made similar modifications to the Spanish and Vietnamese translations of this message at e.g. MediaWiki:Noarticletext/es and MediaWiki:Noarticletext/vi and can do the same in other languages if desired.

 – Minh Nguyễn 💬 23:57, 16 October 2020 (UTC)

Unfortunately the taginfo box looks quite strange when the visual editor box is shown, at least in my browser. It is off to the right side but has no white space between the text to it's left, but then there is a large gap below to the left. And the label like "key=value" is not included in the box outline, so it looks like odd text on the page rather than part of the taginfo box.
I think this change will cause more confusion than benefit. If the taginfo box could be updated to show something like "key=value at taginfo" instead of "taginfo [More...]" that would help some, but it will still look odd. --Jeisenbe (talk) 08:04, 17 October 2020 (UTC)
Yeah, floating the box to the right isn’t great in the visual editor. I had originally floated it to minimize vertical jumping in case the box takes a little too long to load. The caption is part of {{Taginfo wrapper}}, which was originally intended for a table of these boxes that could get repetitive. We can make a different wrapper that calls out taginfo explicitly. Another option would be to use the |link = parameter in {{Taginfo}} to display just a link rather than the whole box. Maybe that’s best for MediaWiki:Newarticletext, which has this layout issue in the visual editor. – Minh Nguyễn 💬 16:42, 17 October 2020 (UTC)
I changed MediaWiki:Newarticletext so that the taginfo box no longer floats to the right. – Minh Nguyễn 💬 20:01, 17 October 2020 (UTC)
Another problem: this box is being added to pages like Talk:Tag:railway=yard before they are created, even though this is a talk page, not a tag or key page. Can you fix that? --Jeisenbe (talk) 17:43, 17 October 2020 (UTC)
Fixed, thanks for spotting that. – Minh Nguyễn 💬 20:01, 17 October 2020 (UTC)
Useful improvement, thanks! Pizzaiolo (talk) 23:22, 17 October 2020 (UTC)
It is very useful, thanks! Mateusz Konieczny (talk) 14:43, 10 January 2021 (UTC)

Redesign of page not found message

As a followup to Talk:Wiki#Taginfo placeholders for undocumented tags, I've started a redesign of MediaWiki:Noarticletext at Template:Noarticletext/sandbox based on w:Template:No article text. Here are the main changes:

  • A modicum of styling distinguishes the message from a very short page, so users familiar with the wiki will immediately recognize the message.
  • The message differs slightly depending on the namespace and also for keys and tags.
  • There are links to both taginfo and a tool to look up the associated data item without having to fiddle with Special:Search's advanced options.
  • For Key: and Tag: titles, clicking "Create this page" preloads some boilerplate with instructions for creating the page. There's a different boilerplate for keys versus values.

This is a work in progress:

  • MediaWiki:Newarticletext should be redesigned at the same time. It might feature a button to optionally load the boilerplate, as in User:Minh Nguyen/preload. It also needs to fit inside the narrower flyout panel in the visual editor.
  • For now, the redesigned message and boilerplates are all in English.
  • When the boilerplate is loaded, we should replace MediaWiki:Noarticletext with instructions for working with the boilerplate. (For example, when the visual editor is enabled, you'd type below each comment, optionally deleting the comment.)

Try it out, entering a variety of page titles to see how the message adjusts to different scenarios.

 – Minh Nguyễn 💬 23:53, 17 October 2020 (UTC)

@Minh Nguyen: - thanks for developing this, how it would be deployed? As filler on text of any page not created after entering it? Filled after deliberately pushing some button? Mateusz Konieczny (talk) 07:30, 21 January 2021 (UTC)
The "try it out" link above previews what a redesigned MediaWiki:Noarticletext would look like. This is the message that shows up when you go to a page like https://wiki.openstreetmap.org/wiki/Tag:yes=no. When you click "Create this page", you're taken to a prefilled edit page, which you can fill out and preview before publishing. You can of course continue to edit the page afterwards. Users who know what they're doing can click the "Create" tab at the top of the page to get a blank edit page, or they can simply delete all the boilerplate text and start from scratch. If this is confusing, perhaps the Noarticletext message could offer both options. – Minh Nguyễn 💬 18:33, 21 January 2021 (UTC)
I am unsure about gallery by default. Problem that repeats is that page supposed to describing tag has massive gallery that ads nothing to an article Mateusz Konieczny (talk) 07:30, 21 January 2021 (UTC)
The sections included by default are by no means meant to be required, and sections that aren't needed should be deleted. Perhaps the comments should make that clearer. I was under the impression that galleries are common enough and figured that the <gallery> syntax is fairly obscure. – Minh Nguyễn 💬 18:33, 21 January 2021 (UTC)
What is the plan to make clear that user should save page so that "{{safesubst:#invoke:DescriptionFromDataItem/sandbox|preload|key={{safesubst:#invoke:OsmPageTitleParser|" will generate something? Mateusz Konieczny (talk) 07:30, 21 January 2021 (UTC)
Good question. We can add a message above the edit box (in wikitext mode) and in a flyout panel (in the visual editor) that explains what that gobbledygook does. It would take the place of the existing MediaWiki:Newarticletext message. I'd love to make the infobox code look more like an infobox in the visual editor, but I think safesubst: interferes with that. – Minh Nguyễn 💬 18:33, 21 January 2021 (UTC)
"Where to find them" section seems unusual, not sure whatever have seen it usefully used anywhere and is quite rare anyway. Why it is needed if there is both description of feature and how it is mapped? Mateusz Konieczny (talk) 07:30, 21 January 2021 (UTC)

Sometimes mappers see something in imagery and want to know how to map it, but other times they're browsing the wiki, see something interesting, and wonder if they can map any instances of it in their own area of interest. The definition doesn't always make it obvious where to find the feature, because the location may differ between regions, cultures, or levels of urbanization. Separately, many organized mapping teams have developed their own training materials to supplement the wiki; as far as I can tell, this is a common element of those training materials. In general, I would like the wiki to address the aspects that are currently exclusively covered by those training materials, so that the wiki can be more authoritative and there's less opportunity for conflict between the community and mapping teams.

You're right that this section is relatively uncommon (and sometimes titled differently), but I do think the content that has been placed within this section so far has been pretty useful. I only included "Where to find them" on the tag description boilerplate, because keys on their own don't represent features; some key description pages have an analogous section called "Rationale" or "Use cases". I'm hoping this boilerplate sparks a discussion about the "standard" sections of tag description pages from a reader perspective, but perhaps I'm trying to do too many things at once. :-)

 – Minh Nguyễn 💬 18:33, 21 January 2021 (UTC)

Usage of arearelation icons on boundaries

The use of the icons area and relation are used inconsistently across the wiki when it comes to boundaries (specifically, relations tagged with type=boundary). It is clear that area applies to relations of type=multipolygon. However, a boundaries are more complex - they are a relation of type=boundary with one or more closed ways and optionally nodes with the roles Role admin_centre and Role label. Are boundaries area, arearelation, or relation?

The table below shows the different answers given on different wiki pages.

1. Does area apply to relations of type=boundary?

Yes No

2. Does relation apply to relations of type=boundary?

Yes No

Which icon(s) should be used when describing boundaries on the wiki?

Modify the osm wiki media software to get instant access (focus) to search box after opening the main page

See title "Modify the osm wiki media software to get instant access (focus) to search box after opening main page https://wiki.openstreetmap.org".
For better understanding please compare to wikipedia main page: Go to https://www.wikipedia.org/ then the centered search box is in focus (the cursor is blinking there) and you are able to instant type in your preferred search string, same behavior would be nice for https://wiki.openstreetmap.org :-) . Or and even for the sub-pages, e.g. https://wiki.openstreetmap.org/wiki/Way --MalgiK (talk) 04:50, 9 November 2020 (UTC)

@MalgiK: The wikipedia.org multilingual portal automatically focuses the search box because it's the focal point of the UI. The downside is that the arrow keys don't initially scroll the page; you have to tab out of the search box first. Since the search box is off to the side and easy to miss, stealing focus this way isn't a great usability tradeoff.

Over on the Vietnamese Wiktionary, I wrote a simple gadget, on by default, that automatically focuses the search box when you start typing, but the initial focus is still on the overall page for things like scrolling. I think the gadget makes the most sense on wikis where search is the main way to navigate – in fact, that wiki's front page puts the search box front and center – but less sense on wikis where you spend significant time on an individual article.

I installed the gadget on this wiki, off by default, so that you can enable it in Special:Preferences#mw-prefsection-gadgets if you like accessing the search bar this way: check the "Automatically focus the search box when typing outside a textbox" checkbox.

 – Minh Nguyễn 💬 07:14, 9 November 2020 (UTC)

@Minh Nguyen: Thanks for detailed long answers. I agree the situation on the wikipedia main page is a bit different compared to our osm wiki main page. In this case I would be happy, if the osm wiki main page would have a similar design, or even at least the search box in the center and the other things around :-) Cool, i tested your/this gadget. For an older browser i use, it works not 100% well, the focus is actually send to the box, but the first letter appears twice in the box. However for the Firefox browser it works as expected. Then i was trying to write you this response by using the wiki source code editor (not the visual one) and the focus was also moved from the edit box to the search box when i did start typing. So i switched off the gadget now to be able for writing you. So the gadget isn't usable if a person who wants to use the wiki for searching pages and editing pages one after another. Any additional hint to solve this? --MalgiK (talk) 07:54, 9 November 2020 (UTC)
Yes, I was afraid the gadget wouldn't quite work here – another reason I left it off by default for now. I wrote the gadget back in 2011; both the wiki and browsers have changed quite a lot since then. Are you using the syntax highlighting option in the source code editor via the Syntax highlighting button? That editing surface is similar to the visual editor, which I haven't tested yet. (As it happens, the Vietnamese Wiktionary steers editors away from the visual editor, because each entry needs to follow a rigid, template-laden format.) I'll see if I can find some time to look into it again, but key handling is not my favorite aspect of scripting. ;^) In the meantime, hover over the search box to see a tooltip that includes the shortcut key for focusing the search box. (It depends on your operating system and potentially a browser setting.) – Minh Nguyễn 💬 08:20, 9 November 2020 (UTC)
@Minh Nguyen: Thanks a lot for additional information in this regard. Switching off the syntax highlighting option actually helps and hovering the mouse over the search-box shows key combination ALT-SHIFT-F on my machine, which also works. So it seems there are some workarounds, but i think it still would be interesting to get a central located search box on the main osm wiki page (https://wiki.openstreetmap.org) which has the focus for text input similar to wikipedia main page (https://www.wikipedia.org). If there is a todo(which)-list for the osm wiki, i would appreciate to put this request on this list. --MalgiK (talk) 10:18, 17 November 2020 (UTC)

New Taginfo Replacement

I've always been annoyed with the following limitations of the Template:taginfo boxes:

  • Awkward extra padding that you can't get rid of (due to IFRAME implementation)
  • Doesn't include the total count of nodes+ways+relations
  • Doesn't list the name of the tag in the taginfo box
  • Sometimes doesn't load

I've built a proposed replacement with the help of @Minh Nguyen: based on AJAX which fixes the issues above. It is currently installable as a user script for testing but my hope is that we could install it as a gadget. The new template is called {{taginfo2}}.

Screenshots and local-user install instructions can be found here: User:ZeLonewolf/TaginfoTest. --ZeLonewolf (talk) 01:34, 3 January 2021 (UTC)

The limitations above have also frustrated me and others over the years, so this replacement is an encouraging development. {{Taginfo wrapper}} was only a partial workaround; this reimplementation goes much further. I'd also add that {{Taginfo2}} is easily localizable (with the help of an administrator), unlike the extension-based {{Taginfo}} template, and it probably won't be difficult to add taginfo to data item pages where they'd also be useful.

I'd like to hear others' feedback about the overall concept before installing the user script as a gadget. This new implementation would only be useful if we install it as a gadget and enable it by default. I also left a code review over at Template talk:Taginfo2, where we can continue polishing the technical details.

 – Minh Nguyễn 💬 07:00, 3 January 2021 (UTC)

Is it having the same performance? Is it increasing load on taginfo servers? Mateusz Konieczny (talk) 11:54, 3 January 2021 (UTC)
I re-loaded the page a bunch of times and the performance seems basically the same. Sometimes the AJAX version loads first, and sometimes the IFRAME version loads first. I measured it in Google Chrome and I'm seeing around 200-300ms load times from the US East Coast for the first 3-4 boxes on a page and something like 100ms per box after that. That's just ballparking it from numbers in the network debugger in Chrome. The tag box makes 2 parallel calls to taginfo, and the relation box makes 3 calls. The current {{taginfo}} template+php makes a single call to the taginfo embed API. However, I am not sure how "heavy" the embed API is compared to the stats API calls. --ZeLonewolf (talk) 04:07, 4 January 2021 (UTC)
I opened https://github.com/taginfo/taginfo/issues/309 (to avoid accidental DDOS) Mateusz Konieczny (talk) 08:24, 4 January 2021 (UTC)
The solution with the IFRAME was always a bit wonky. When I built this years ago, it was the only thing we could get to work. I don't remember the details, but I believe it was too complicated then to add extra Javascript to MediaWiki or something like that. I think the new solution is much better from a design-perspective. Some points on this: 1. Having two solutions for the same thing isn't good. So the end goal should be to get rid of the "embed" stuff. Of course it will take some time, but if you start it, you should also push this through. I would also argue that a fallback for when Javascript isn't available isn't needed in this day and age. If it isn't available the box simply isn't there or empty, that's good enough. 2) I don't like the template name "taginfo2", I am sure we can come up with something better. :-) 3) There will be some extra load on the taginfo server, but I don't think this is a problem. The "expensive" part of the processing is the database lookups and they are very similar in both cases, just spread out over more http calls. To reduce load even further (and make the Javascript simpler) we can certainly discuss adding more fields to existing API calls or even adding new API calls. If you want to pursue this, please open issues on https://github.com/taginfo/taginfo/issues with your ideas what would be needed or helpful for this use case. -- Joto (talk) 08:54, 4 January 2021 (UTC)

@Joto: I think the plan is to overwrite {{Taginfo}} with the implementation in {{Taginfo2}} once we're happy with it. (For future rewrites of templates, we can use subpages like {{Taginfo/sandbox}} for clarity.) If there isn't a strong desire to maintain feature parity with JavaScript disabled (or in older browsers where MediaWiki refuses to load JavaScript), then the fallback can be a simple link to taginfo.

Unfortunately, {{Taginfo}} is not nearly the only use of the embed: the <osmtaginfo> parser hook is directly used on 480 different pages, so it'll take a bit of elbow grease to completely transition to the overwritten {{Taginfo}}. At a glance, most direct usage seems to be either for value lists that predate {{Taglist}} or for custom tag comparison tables, which ZeLonewolf is also working on improving.

Thanks for being open to extending the API. I'm excited by the opportunities for taginfo-wiki integration that this gadget will unblock.

 – Minh Nguyễn 💬 10:28, 4 January 2021 (UTC)

I would be more than happy to drop no-javascript fallbacks if there is not a need for it. It would certainly simplify the code. --ZeLonewolf (talk) 12:52, 4 January 2021 (UTC)
For tags it's better but for relations worse. I prefer the previous version for relations because it's clear what these numbers mean.
4 511 208 relations
24 535 675 members
These icons for me are not understandable.
Resolved: Relation/member text is now implemented --ZeLonewolf (talk) 20:34, 9 January 2021 (UTC)
And, if it's localizable, you must remember about decimal separators which are different in different languages. These have to be translatable as well. If it's not possible to change it, you should use space instead of comma. maro21 18:33, 4 January 2021 (UTC)
@Maro21: For consistency with the localized messages, the current implementation does format numbers according to the current interface language, which you can set using the link at the language selector at the top of every page or in Special:Preferences. For example, here's User:ZeLonewolf/TaginfoTest in Vietnamese ("352.090.855" and "81,66%"), French ("352 090 855" and "81,66 %"), and Hindi ("३५,२०,९०,८५५" and "८१%"). – Minh Nguyễn 💬 08:53, 6 January 2021 (UTC)
Resolved: localized numbers and percentages are implemented --ZeLonewolf (talk) 20:34, 9 January 2021 (UTC)
  • I feel that old "[More...]" was quite nice and it should be not missing from new one Mateusz Konieczny (talk) 21:14, 4 January 2021 (UTC)
    @Mateusz Konieczny: I suggested adding the "Powered by taginfo" attribution line to provide an explicit link to taginfo, and the links at the top go to the key/tag/relation page at taginfo. However, a user could conceivably assume those links go to the wiki page, since that's the convention everywhere else {{Tag}} is used. So maybe we can change the attribution line to "More details at taginfo" and link the whole footer to the tag page instead of the taginfo home page. Does that sound better? – Minh Nguyễn 💬 09:15, 6 January 2021 (UTC)
    Re: ""More details at taginfo" and link the whole footer to the tag page instead of the taginfo home page" - that sounds like a good idea. --Jeisenbe (talk) 05:27, 7 January 2021 (UTC)
Interesting ideas, could we use an additional separator line for cases with tagLink=yes Taginfo2 3.png --MalgiK (talk) 23:20, 4 January 2021 (UTC)
Resolved: Footer and UI have been updated with both suggestions. --ZeLonewolf (talk) 20:34, 9 January 2021 (UTC)

@ZeLonewolf: I've converted your user script into a gadget. Please remove references to your user script from User:ZeLonewolf/common.js, go to Special:Preferences#mw-prefsection-gadgets, and enable "Embed key, tag, and relation statistics boxes from taginfo". If all looks well, we can enable the gadget by default for all users by adding the default flag to the taginfo entry in MediaWiki:Gadgets-definition. – Minh Nguyễn 💬 11:44, 1 February 2021 (UTC)

Looks good here on my side! --ZeLonewolf (talk) 12:40, 1 February 2021 (UTC)
OOjs UI icon check-constructive.svg I enabled the taginfo gadget by default for all users. Please continue to test in as many browsers as you can, especially because a JavaScript error in this gadget could prevent any other gadgets or sitewide scripts (including the data item UI) from functioning. – Minh Nguyễn 💬 16:54, 1 February 2021 (UTC)

Add Structured Discussions (Flow) Extension

openstreetmap/operations/issues/496

Editing talk pages is hard for new/inexperienced users.

This can be especially frustrating/limiting when wanting to comment on a Proposal being proposed.

Adding the Structured Discussions extension provides a simple interface that allows users to respond, create, resolve, etc. topics easily.

The WikiMedia Talk Pages Project is being worked on but it doesn't look like it's available for install. Converting to this should also be a priority when it becomes available.

—Preceding unsigned comment added by Lectrician1 (talkcontribs) 00:20, 7 January 2021‎ (UTC)

If any of these tools can save us from figuring out the right combination of :::*::*:*:: to preface a comment with, then I'm sold! :-D My only concern with Flow is that it seems to be in maintenance mode as the Wikimedia Foundation has refocused its efforts on more incremental talk page improvements. My impression is that Flow isn't a particularly straightforward extension, since it changes the content model of a page irreversibly and introduces new namespaces. That said, it's a much more polished system than LiquidThreads, which Translatewiki.net is still annoyingly relying on. So if it does adapt well to a non-Wikimedia wiki, then it would make integral OSM processes like the tag proposal process more accessible to the bulk of the OSM community. – Minh Nguyễn 💬 02:26, 7 January 2021 (UTC)
(1) what would be import plan for old talk pages? Mateusz Konieczny (talk) 10:02, 11 January 2021 (UTC)
(2) is there a working export from StructuredDiscussions to standard talk pages if development on it stops? Mateusz Konieczny (talk) 10:02, 11 January 2021 (UTC)

Following up on my impression above: Flow development was put in maintenance mode in 2015 before it gained enough of a feature set to be adopted more widely. [9] Though the WMF left open the possibility of restarting work on it, the general sense in places like Wikidata Telegram is that the extension is a "technological dead end" and that it won't ever be developed any further beyond basic maintenance. At the moment, that doesn't present a practical issue for us. LiquidThreads has also been in maintenance mode for almost a decade, but Translatewiki.net uses it today. Still, I would be wary of relying on something in maintenance mode when we could wait a little longer for the new talk page improvements to mature.

@Mateusz Konieczny: Flow is opt-in: there's a special one-time UI command to convert a talk page to be Flow-enabled, and there's no going back (because the topics end up on disparate pages in a different namespace).

I'm unaware of a built-in way to bring everything back to how it used to be if we decide to uninstall Flow. Ultimately, each topic is a wiki page with a unique identifier as the page title, so it should be possible to archive these pages. However, compiling them back into a standard wiki talk page would require a bot to crawl these pages and some assumptions about how the topics fit together. I really do like the Flow interface, but it's a matter of taste and a rabbit hole that we probably shouldn't go down right now.

– Minh Nguyễn 💬 01:25, 27 January 2021 (UTC)

I've used StructuredDiscussions or Flow on the www.mediawiki.org website several times last year, assuming that's what it was. I've found it to work a lot like forums - it has the same set of issues with editing and deleting posts. I wrote a message on someone's talk page and couldn't edit it to fix a typo. Eventually I was told by an admin that nobody can edit my post anymore. I also couldn't delete my own double-post immediately after I made it, an admin had to do it. That was pretty baffling.
I've noticed that Wikipedia now has a "reply" button on talk pages, I think that equally well solves the problem of counting the ::::: and wondering where you need to place your message, without introducing the forum moderation-type problems. Hopefully they'll release it to other wikis soon. Rostaman (talk) 15:36, 28 January 2021 (UTC)
@Rostaman: The "Reply" button is part of the talk pages project that the Wikimedia Foundation is actively pursuing as an alternative to StructuredDiscussions/Flow that's much more flexible. It isn't mature enough to install here yet, but it seems quite promising. – Minh Nguyễn 💬 09:45, 6 February 2021 (UTC)

For future reference, the Reply and New Discussion tools are implemented by mw:Extension:DiscussionTools, which seems like a refreshingly simple extension: backwards-compatible, no special namespaces, and the BetaFeatures dependency is optional. The only downside is that it's currently in beta. If this is a problem, perhaps Commons:User:Jack who built the house/Convenient Discussions would be a good stepping stone, since it's nothing more than a gadget. – Minh Nguyễn 💬 18:47, 8 March 2021 (UTC)

Add CategoryWatch Extension

"The CategoryWatch extension extends watchlist functionality to include notification about membership changes of watched categories."

This would be extremely helpful to users:

  • Who want to be notified when a Proposal is added to one of the Proposals_by_status Categories. A major convenience would be for users that don't want to subscribe to the Tagging Mailing list but still want to be notified when proposals become open to voting.
  • Who monitor a Place Wikiproject's categories
  • etc.

—Preceding unsigned comment added by Lectrician1 (talkcontribs) 00:29, 7 January 2021‎ (UTC)

I second this. Would be very useful to me, who generally avoids the mailing lists. --GoodClover (talk)
+1 if this extension is not introducing some huge complexity Mateusz Konieczny (talk) 14:54, 10 January 2021 (UTC)
If I'm not mistaken I've already requested that about a year ago: openstreetmap/operations/issues/351. --Nw520 (talk) 16:02, 14 January 2021 (UTC)
Request by topic author openstreetmap/operations/issues/497 --Nw520 (talk) 16:03, 14 January 2021 (UTC)

DynamicPageList extension

A recent mailing list post by Lectrician1 got me thinking we should install the DynamicPageList extension. This simple extension adds a tag that allows any page to include a dynamic list of the contents of a category and customize some basic sorting and display options. For example, Proposal process could have a table that looks like this, populated automatically as a result of each proposal page using the {{Proposal Page}} template and sorted by the date the status was last changed:

A similar list based on Category:Key descriptions with status "de facto" could appear on the Changelog. Or these lists could even appear on Main Page to supplement {{News}}, which is very quiet (only three items for all of 2020).

The extension's official documentation includes a warning to only install it on small- to medium-sized wikis due to scalability. Fortunately, I don't think this wiki is anywhere near the scale where that issue would matter. The Vietnamese Wiktionary, one of the largest Wiktionaries about four times the size of this wiki, bravely uses it on its front page to showcase new entries. Also, I think the scalability issue is specific to performing an intersection between two categories (must be in category A and B but not C), which isn't necessary for the use case described above.

If there's agreement that this extension would be useful, we can ask the operations team to install it.

 – Minh Nguyễn 💬 02:13, 7 January 2021 (UTC)

+1 if this extension is not introducing some noticeable complexity. Is there a real risk of increased instability and poor performance if we keep enabling bunch of extensions? Here benefits seems minimal Mateusz Konieczny (talk) 10:00, 11 January 2021 (UTC)
I can't speak for the cumulative effect of many extensions being enabled, but one way of looking at it is that we have far fewer extensions installed than a typical Wikimedia wiki, while the community seems to expect a similar level of service. DynamicPageList is fortunately a relatively simple extension, befitting its relatively minimal benefits, but I think your concern is worth keeping an eye on. – Minh Nguyễn 💬 06:55, 20 January 2021 (UTC)
Symbol support vote.svg Support --Lectrician1 (talk) 15:01, 8 February 2021 (UTC)
I Symbol support vote.svg Support it. maro21 18:13, 5 May 2021 (UTC)
Symbol support vote.svg Support --Tordanik 20:52, 7 May 2021 (UTC)

Better description for tag statuses

I rewrote significantly https://wiki.openstreetmap.org/wiki/Template:ValueDescription/doc#Additional_information (and exact copy at https://wiki.openstreetmap.org/wiki/Template:KeyDescription/doc#Additional_information )

My intention was to have status values description matching actual use of statuses. Review and feedback is welcomed! Mateusz Konieczny (talk) 14:58, 10 January 2021 (UTC)

Resolved: seems to be no longer needed, I am planning to archive this section Mateusz Konieczny (talk) 10:17, 19 March 2021 (UTC)

Add TemplateStyles Extension

openstreetmap/operations/issues/509

I am looking to redoing the Main Page however I require css. This extension allows for separate stylesheets.

https://www.mediawiki.org/wiki/Extension:TemplateStyles

Any objections?

--Lectrician1 (talk) 03:52, 6 February 2021 (UTC)

Custom CSS is possible now, it just needs to be installed by an admin. I had to do this for my taginfo box replacement project. No need for a separate extension AFAIK. @Minh Nguyen: --ZeLonewolf (talk) 04:05, 6 February 2021 (UTC)
Yes, Minh and I discussed this. However I run into the issue of not being able to test the css and how it looks on a page before I commit to the actual page. I want to use my user pages to test both the Main Page Wikitext and CSS combination. Not being able to test means going through a admin is practically unreasonable. It's also nice to have publicly-available css stylesheets for easy reference and changes. All Wikimedia projects have this extension and it's been very handy to work with in the past before. --Lectrician1 (talk) 05:03, 6 February 2021 (UTC)
That doesn't make any sense, I had no problem testing my CSS without any special extension. --ZeLonewolf (talk) 05:19, 6 February 2021 (UTC)
Following up from our private conversation, hopefully your browser's built-in developer tools provide the facilities you need to prototype style rules for the main page. TemplateStyles is a nice extension to have, but it is already technically possible to implement something similar without TemplateStyles by writing a user stylesheet that an administrator can turn into a gadget or copy into MediaWiki:Common.css. Gadgets and sitewide stylesheets affect every page for every user, so it's important to scope style rules, for example by prefacing each ruleset with .page-Main_Page .bodyContent. Even then, there is extra overhead loading any page on the wiki, so consider inline style attributes if possible. TemplateStyles is nice to have because you can express more than style attributes but without adding overhead to unrelated pages. – Minh Nguyễn 💬 09:35, 6 February 2021 (UTC)
How can other users see the programmed css for a page after an admin has added it. What if they wanted to redo the main page after me in the future and reference the old css?
In my opinion, using browser tools is going to be much more of hassle for me than just having the easily-installable TemplateStyles.
I also just thought of another conflict I might run into. If I'm using templates on the main page that rely on their own css, will the css I program for the template and main page show up? Templates render based on their source page and if the source page has no css, I'm not sure this will work. The template won't be able to pick up any css references either since it's only coded presence on the main page will be {{Frame}}.
--Lectrician1 (talk) 13:53, 6 February 2021 (UTC)
Okay I tested my "possible problem" and turns out css does work for templates that are transcluded on another page.
However, can we please just add the extension out of convenience?
Evey time I want to change the wikitext, I have to copy and then reinsert the css into into my browser developer panel. There is a lot of Wikitext I'm going to have to change for the main page. This is going to be a big hassle.
Also, as I noted before, it's nice to have the css stored in a file everyone can easily reference, rather than wherever an admin has to store it ingrained in the page. --Lectrician1 (talk) 23:26, 12 February 2021 (UTC)


@Lectrician1: Any reasons to do that? Enabling all extensions possible is asking for a trouble. Also, can you finish FAQ project where useful info was lost/hidden before starting a new one? Also, please do not spam extension requests on openstreetmap/operations - posting there about every single extension you found will just make more likely that OSM-wiki related requests will be ignored in bulk. In general, feel free to start 24387427248427842784287 projects - I am also guilty of that - but, please, avoid opening issues on for example openstreetmap/operations until there is confirmation that it is a good and necessary idea. Mateusz Konieczny (talk) 10:41, 23 February 2021 (UTC)

@Mateusz Konieczny: I'm still thinking about FAQ. I also gave this 2 weeks after the last piece of discussion on this before posting an issue on the operations repo. That was plenty of time for people to respond, in my opinion. Also, this is not being implemented is limiting me from doing something on the Wiki, so I felt it was important to post it. --Lectrician1 (talk) 16:16, 23 February 2021 (UTC)

Give auto-confirmed after 2 days, not 4?

I just run in case of a mapper (User:Cartographer10) unable to upload files, unable to move their own proposal because their wiki account has no autoconfirmed status. Maybe give this right quicker?

It appears to be defined at https://github.com/openstreetmap/chef/blob/dfc631109a486788a18b57da696c06339368993e/cookbooks/mediawiki/templates/default/LocalSettings.php.erb#L248-L250

I propose to give it after 2 days, not 4.

Mateusz Konieczny (talk) 09:27, 6 February 2021 (UTC)

  • Symbol support vote.svg Support I see no vandalism on the Wiki anyways so unless this change ends up causing it, then we should be okay. --Lectrician1 (talk) 13:41, 6 February 2021 (UTC)
  • Symbol support vote.svg Support Never really any spam onwiki, changing it wouldn't cause any harm. Berrely (TC) 14:56, 6 February 2021 (UTC)
  • There is spam occasionally, but it gets deleted quickly. --Jeisenbe (talk) 19:52, 6 February 2021 (UTC)
  • Oppose I am not necessarily against the proposal, but the timing is very unfortunate. We just changed the configuration with your support, Mateusz Konieczny. As of now, there is a solution and I would prefer if we try that out first instead of approaching the sysadmins once a week and discussing the same topic over and over again.
    BTW, the linked user account is currently autoconfirmed and has not uploaded any files. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 19:44, 14 February 2021 (UTC)
    • Files were uploaded by someone else, based on their request. And note "unable to move their own proposal" part - is it also solved by this recent change? Mateusz Konieczny (talk) 07:56, 17 February 2021 (UTC)
Yes, confirmed users can move pages. There is a list of permissions at Special:UserGroupRights. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 19:13, 17 February 2021 (UTC)
I have to admit that there is a flaw in the configuration which I just noticed after writing the previous comment. As you can see from Special:UserGroupRights#confirmed, confirmed users have to solve the CAPTCHAs. Additionally, they can not fix transcoding errors. The major objective of the previous configuration change is still fulfilled, but I guess my argument is void if you mind the CAPTCHAs and all of the problems they cause. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 14:21, 20 February 2021 (UTC)
As a side effect, openstreetmap/chef/pull/400 aims to fix the shortcomings of the current configuration, but it will not change the autoconfirmation period, because the pull request targets namespaces, and I was asked not to combine unrelated changes into one pull request. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 14:59, 20 March 2021 (UTC)

Authentication from osm.org

openstreetmap/operations/issues/507

OAuth login to Wiki is a Top Ten Task

PluggableAuth looks like a suitable extension for this.

I'm surprised this hasn't been implemented yet because the configuration for this is quite simple.

You're probably going to have to read into the specifics on your own since the various options for how users can log in can be a bit confusing.

Either way, this works and should be implemented. Here is an example of a Wiki that uses it.

--Lectrician1 (talk) 21:39, 8 February 2021 (UTC)

Enabling OAuth2 authentication between osm.org and the wiki should be the #1 priority for new features to the Wiki. The lack of this seamless authentication is often cited as a barrier to entry for participation in tagging discussions. Issues that need to be addressed:
  • What is the process for linking existing wiki usernames to osm.org usernames in a way that's straightforward for users and not a burden on admins?
  • Will the process be seamless for new users?
  • Do we have an issue in the case of name collisions? (in which an osm.org user and a wiki user of the same name are actually two different people)?
--ZeLonewolf (talk) 22:18, 8 February 2021 (UTC)
  • It seems that as long as an account on the Wiki and OSM have the same username and/or (not sure) email, then they can login.
  • Yes, it is seamless.
  • I think the emails being the same is the deciding factor.
--Lectrician1 (talk) 22:26, 8 February 2021 (UTC)
It would be great to eliminate this barrier for participation on the wiki, seems very promising! I've got some questions as well:
  • What does it mean that the process is seamless for new users? Can they just log in using their existing account without having to "create a wiki account" first?
Yes. If a Wiki account does not exist with the username and email that is returned by the osm.org client, then a new account for the Wiki will be created and the user can continue to use osm.org to login. --Lectrician1 (talk) 17:24, 14 February 2021 (UTC)
  • I understand that the plan for dealing with differences between the two sets of accounts is that users resolve these themselves (by changing their user name and/or email address so that they match, or creating an OSM account for wiki accounts that don't have an equivalent yet)? For that to be possible, there will be a co-existence of linked accounts and un-linked accounts at least for a transition period, right?
Correct. It is up to the users to decide when and whether they want to "link" them. They can do so at any time because the login process will remain the same always. --Lectrician1 (talk) 17:24, 14 February 2021 (UTC)
Thanks for attacking this long-standing problem! --Tordanik 14:04, 14 February 2021 (UTC)
PluggableAuth may not be sufficient to address the issue, at it is only a framework to create authentication and authorization extensions on top of it. Also, OAuth2 authentication isn't available yet on the Rails port (osm.org website), which means we cannot use plugins like OpenID Connect. Then, having an explicit link between the Wiki and osm.org (vs. an implicit one which relies on the same username across both sites) is the preferred option. Matching via username and email also wouldn't work, because we deliberately don't expose users' email addresses via any API call for privacy reasons. There's quite a bit of work involved here which goes much beyond installing a Wiki plugin. mmd (talk) 11:40, 21 February 2021 (UTC)
@Mmd: What would you suggest be the steps we should take to making this happen then? How exactly could we establish an explicit link? --Lectrician1 (talk) 07:22, 22 February 2021 (UTC)
Well, finding that out would be exactly one of the tasks of the Github issue. We probably need some Mediawiki expert and/or more research to work out possible solutions. Think of the whole topic more in terms of a project, rather than some few hour configuration task. Mmd (talk) 09:36, 22 February 2021 (UTC)
Hm ... the goal discussed in some previous conversations, and when writing that Top Ten Tasks entry, was to eventually get rid of the distinction between OSM wiki account and OSM account as far as practically possible – i.e. users would have the same name, and there would be no need (and no ability) to "create a wiki account". How would the process of establishing an explicit link look for an OSM user editing the wiki for the first time? --Tordanik 19:29, 26 February 2021 (UTC)
@Tordanik: They could sign in with osm.org and their account would be created based on the information returned by the osm.org OAuth client. This would work exactly the same as when you login/signup with Google on a site and you are able to immedeatly use it. --Lectrician1 (talk) 02:23, 27 February 2021 (UTC)

It seems that further activity would be at https://github.com/openstreetmap/operations/issues/507 - and that is solved as far as we can here, right? Mateusz Konieczny (talk) 10:13, 19 March 2021 (UTC)

Add Page Forms Extension

Page Forms allows users to create forms who's inputted information can then be formatted and inserted into a page.

I would like to use Page Forms to create forms that allow for the easy creation of proposal pages and the management of transitioning proposal stages.

For example, a Page Form could allow:

  • Each of the proposed tags and their used entities, descriptions, and examples to all be easily-inputable and displayed in a standard fashion.
  • Proposal can change stages from draft to proposed to voting to post-vote, all with the configuration of the form. This requires no editing of the proposal itself.
  • Possibly the seamless transition from copying a proposal's data from the proposal to a new page(s) for the approved tags.

Here are examples of sites that use Page Forms.

--Lectrician1 (talk) 00:41, 9 February 2021 (UTC)

"Proposal can change stages from draft to proposed to voting to post-vote, all with the configuration of the form. This requires no editing of the proposal itself." - how it would be detected?
"easily-inputable and displayed in a standard fashion" - how it deals with fact that proposal may propose one new key or new value or values or deprecate existing tag or change voting rules or introduce new key and deprecate specific value (or values) and so on? Mateusz Konieczny (talk) 07:54, 17 February 2021 (UTC)
  • @Lectrician1: - have you tested how this extension interacts with all subsets of extensions that you also proposed? And with current OSM Wiki install? Mateusz Konieczny (talk) 10:44, 23 February 2021 (UTC)
    • @Mateusz Konieczny: I'm going to setup my own install of MediaWiki and test before I suggest we move forward with actually implementing it.
      Also for, "How would it be detected". What I mean is that with Page Forms none of the raw text on the proposal has to be edited. Everything is configured through the form. Selecting an option for a proposal stage in the form should be able to automatically add the voting section to the proposal, etc.
      Form elements are also replicatable so you can setup a field to repeat itself with multiple options. For example, you can add as many tags that you want to propose addding or depreciating etc. IDK if this makes sense :P
      --Lectrician1 (talk) 16:22, 23 February 2021 (UTC)

Add Translate Extension

Bringing up this archived discussion again.

Translate Extension

Reasons

  • Direct and up-to date translation will be much easier than the current state.
  • Differences and amount translated of each page in each language is tracked.

How to use

  • Configuring pages to be translated is easy.
  • <translate></translate> tags only need to surround headers, sections of text, and other special formats.
  • The <!--T:1--> tags are auto-generated and do not need to be placed. Only the <translate></translate> tags do.

Migrating

I am personally willing to take the time to convert as many pages as possible to be translated if this is implemented.

--Lectrician1 (talk) 23:40, 13 February 2021 (UTC)

  • I am against adding this extension. It won't help anything and will only cause more problems. Besides, pages in other languages don't have to be an exact reflection 1:1 of English pages, they just shouldn't contradict. maro21 11:52, 14 February 2021 (UTC)
    • I don't think there are that many good reasons for page in different languages to significantly depart from each other. So in my opinion, it would be very valuable to have software support for translations and to keep track of untranslated/outdated sections. But unfortunately, it seems there has been no progress on the objections from the last time this extension was discussed: The large amount of special markup that would have to be added to the English text. Auto-generation doesn't help much because these tags will still burden every future editor of the English page. This is especially frustrating as it would seem easy enough to just use section headings to split the page for translation – larger restructuring of the page will almost always necessitate an overhaul of translations anyway. --Tordanik 13:19, 14 February 2021 (UTC)
      • No page needs to be "restructured". The <translate></translate> tags are simply added and you're good to go.
        Yes, the auto-generated <!--T:1--> tags can get in the way and might confuse new editors, but editors are warned when they edit a page with a message at the top of the editor that they need to use translate syntax. This message also links to tutorials that I find are very-detailed and easy-to-understand.
        Also, not-using or removing any translate-associated tags doesn't break anything. You just have to make sure every open tag is closed with a closed one (the editor will display an error if there isn't).
        If a new editor makes an addition to a page (such as a new section or paragraph) and forgets to put new translate tags around it, then the Translate extension will simply not show that it needs to be translated or show a longer section in-need-of-translating with the added text rather than the shorter, paragraph-oriented ones. Experienced editors who watch the page will likely fix this so that the translation is present and in the correct syntax.
        --Lectrician1 (talk) 17:41, 14 February 2021 (UTC)
    • It will help everything. There are so many pages that have not been kept up to date and can/should be translated. Pages should be a 1:1 translation. If OSM is a global project, shouldn't we provide the access to all resources in all languages that is up-to-date and consistent so that we don't run into mapping-convention divisions? --Lectrician1 (talk) 17:41, 14 February 2021 (UTC)
  • What is the supposed benefit of this extra code littering page text? Is it compatible with visual editor? Is it mandating that content on each page is the same? Where is its repository and its issue tracker (AKA "is it maintained or abandoned and bitrotting")? Mateusz Konieczny (talk) 07:56, 17 February 2021 (UTC)
    • Mateusz Konieczny: The extra code is used to keep track of the parts to translate. It uses a separate interface for translation that is source-code only for now (see w:phab:T55974). It is maintained and used by the WMF itself on a lot of MediaWiki, meta, and Commons docs, and the bugtracker link is something you can click the links to find out. It does partially mandate commonness, but you can: (a) cheat the system and put something else in, or (b) transclude parts of the translated page in a more flexible article.--Artoria2e5 (talk) 05:54, 20 February 2021 (UTC)
  • I am very much in favor of this thing, as it would represent a pretty big improvement from what we have right now. I do have a bit of an issue with the "marks the page for translation" process, since it often induces delays in updating back on WMF sites. I recommend opening up this position for application by autoconfirmed users so that more people can do the job. --Artoria2e5 (talk) 05:58, 20 February 2021 (UTC)
  • @Lectrician1: - have you tested how this extension interacts with all subsets of extensions that you also proposed? And with current OSM Wiki install? Mateusz Konieczny (talk) 10:44, 23 February 2021 (UTC)
    • @Mateusz Konieczny: Okay so this extension and its implementation is another reason why I need to setup my own instance of MediaWiki. Like Artoria2e5 said, administrators/people with permissions are needed to indicate if a page should be translated. That means if the Translate extension were to be implemented on this Wiki today, we wouldn't really be able to translate any of the pages with out an admin checking through each of the pages and marking them for translation. There are also other things I have to test.
      I am also going to make a tutorial video on how to set up a page for translation the formatting, actually translating etc. so that people on this Wiki knows how it works before implementing it. The tutorial video on MediWiki is too old and long so I think I'll also make the video to replace that one too.
      I don't have a lot of time right now though, so it might be another 1 or 2 weeks before I can get to this.
      --Lectrician1 (talk) 16:27, 23 February 2021 (UTC)

Short Tutorial 1: How to make a page translatable and translate a page --Lectrician1 (talk) 02:57, 28 February 2021 (UTC)

Short Tutorial 2: How to change the translatable page and re-mark it for translation --Lectrician1 (talk) 03:58, 28 February 2021 (UTC)

Media without a license

Note https://wiki.openstreetmap.org/wiki/Category:Media_without_a_license - help there would be welcomed, we have many images without a license.

Many of them are unused and can be flagged for deletion, in cases of useful or used images it is a good idea to ask uploader ( https://wiki.openstreetmap.org/wiki/User_talk:Tonyf1 is a case where I was succesfull recently :) )

BTW, is there a good way to find images not tagged with any licensing template - not even {{Unknown}}? Mateusz Konieczny (talk) 08:50, 6 March 2021 (UTC)

Well, some time ago I looked at multiple files without a license and marked a few for deletion. I can not judge if it is a huge problem to have files without a license, but if it is (as you say) we should disallow uploads without licenses before spending time on resolving the old cases. Wikimedia Commons already did that.
I have not found a mechanism to find out if an "unused" file is used in an OSM user diary or in the forum. There are Special:ListFiles containing all files, and Special:UncategorizedFiles containing all uncategorised files. Files with a valid license are definitely not uncategorised. With a script it should be possible to subtract all files in the media license categories from Special:ListFiles. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 17:16, 6 March 2021 (UTC)
Good find. We have 22 799[sic!] files without any category, so also without license template and without being marked as having no specified template. Fortunately it seems that noone was using OSM Wiki for storing copyright violations and people are clearly well intentioned - so it is probably not tragically urgent. I processed some (there is plenty of low hanging fruit, like many files clearly qualifying for {{PD-shape}}) Mateusz Konieczny (talk) 06:35, 7 March 2021 (UTC)
As I understand it: copyright violations are a problem. Image of rectangle not marked with {{PD-shape}} is not a problem, but without going through images and classifying all it is pretty hard to catch copyright violations. Not sure about well-intended files without license. And it is much easier to get licensing info from uploader day after upload rather than 10 years after upload, so it is preferable to monitor that and catch at least new ones Mateusz Konieczny (talk) 06:35, 7 March 2021 (UTC)

Bug displaying images on Discussion pages in Mobile View ?

When you switch to Mobile view, images are converted to

<img>

on normal "Page" wiki pages.
However, when you include images on a "Discussion" page, they are converted to

<span ...> </span>

. This makes them appear as whitespace.

This does not happen in "Desktop" view.

Example: Insert the following template

{{User|Bert Araali|osm=Bert Araali|m=1|noedits=1}}


the transcluded image in the template on a normal "Page" wiki page (switch to Mobile view) will be converted in HTML as:

<img alt="User icon 2.svg" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/User_icon_2.svg/18px-User_icon_2.svg.png" decoding="async" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/User_icon_2.svg/27px-User_icon_2.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/User_icon_2.svg/36px-User_icon_2.svg.png 2x" width="18" height="18">


On a "Discussion" page (in Mobile view) will be converted to:

<span class="lazy-image-placeholder" style="width: 18px;height: 18px;" data-src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/User_icon_2.svg/18px-User_icon_2.svg.png" data-alt="User icon 2.svg" data-width="18" data-height="18" data-srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/User_icon_2.svg/27px-User_icon_2.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/User_icon_2.svg/36px-User_icon_2.svg.png 2x"> </span>

.

--Bert Araali (talk) 21:41, 24 March 2021 (UTC)

Template:Languages/div Mediawiki bug

I can't open Template:Languages/div. There is no page at all, only the name of an error and date. This is the first time I've seen such a bug. maro21 22:31, 26 April 2021 (UTC)

The same for me:
[ecf673d83453ac48a248f2fa] 2021-05-03 23:11:13: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"
--Vazhnov Alexey (talk) 23:15, 3 May 2021 (UTC)
Reported openstreetmap/operations/issues/533 --Tigerfell This user is member of the wiki team of OSM (Let's talk) 17:14, 14 May 2021 (UTC)
The reply suggests that there is an issue with that wiki page. Since I do not even know what the template does I will not change it. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 10:59, 16 May 2021 (UTC)
As Template:Languages/div and Template:LanguageLink are no longer used since Minh rewrote Template:Languages and the wiki has never had any pages in Marathi the only real concern is what the underlying problem is. Has this been reported on the Mediawiki bug tracker? --Andrew (talk) 15:44, 16 May 2021 (UTC)
I can only speculate that the lack of any Marathi pages on the wiki might have triggered the error. Since I removed this language, the database error no longer occurs. Mmd (talk) 17:00, 16 May 2021 (UTC)
Looks like there is something wrong with the Marathi language in {{Languagename}} template.
See for example
{{Languagename|de}} -> Deutsch
{{Languagename|abc}} -> abc
but {{Languagename|mr}} throws an error
This template uses magic word #language but {{#language:mr}} works well.
{{#language:ar}} -> العربية
{{#language:br}} -> brezhoneg
{{#language:mr}} -> मराठी
I'm still thinking how to solve it. maro21 16:57, 18 May 2021 (UTC)
The {{Languagename}} template was used enthusiastically by, and over-engineered by, a former wiki contributor for purposes such as enabling links to Wikipedias in languages without Mediawiki support. Many (not all) uses can be (and often have been) replaced with #language; {{Languages/div}} needed it for gcf: until the current language template made it redundant. --Andrew (talk) 19:48, 18 May 2021 (UTC)
We could revisit the remaining templates with languagename and convert as many as possible to #language. --Andrew (talk) 05:50, 20 May 2021 (UTC)
I didn't say that we should get rid of the template:). There was a problem only with Marathi language but this language isn't used on this Wiki at all. I think there is a bug with the database somewhere, the template is ok. maro21 19:28, 20 May 2021 (UTC)
Wiki:Babel templates was also affected through Template:Babel list of languages, fixed by replacing Languagename with #language. --Andrew (talk) 11:40, 20 May 2021 (UTC)

WIWOSM having major errors

WIWOSM seems to be having some major errors, with a 2.8 GB error.log file. Please refer to this discussion on Wikipedia. Some help would certainly be appreciated. Sdkb (talk) 21:17, 3 December 2020 (UTC)

Discussion was moved to https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Trouble_importing_map_outlines_from_OSM where it is not present anymore. @Sdkb: Mateusz Konieczny (talk) 14:46, 10 January 2021 (UTC)
resolved - anyone who wanted to help this specific user of OSM data already did it, linked discussion is now inactive Mateusz Konieczny (talk) 08:25, 13 January 2021 (UTC)}}
I'm unarchiving (I hope that's okay) since this is still very much unsolved, as far as I'm aware. The root thing I sought was for clicking on the coordinates at a page like https://en.wikipedia.org/wiki/Scripps_College (at the upper right corner or infobox) to generate the same result (with an outline of the campus) as at e.g. https://en.wikipedia.org/wiki/Georgetown_University. I'm pretty sure I did everything I needed to on the map for the object to be defined the same way, but it's still not appearing at Wikipedia after several months. A breakdown is happening somewhere, and it's affecting potentially thousands of pages that have had their borders defined since whenever it broke. I'd be very appreciative if someone could figure out and solve the issue. Sdkb (talk) 05:17, 28 April 2021 (UTC)

Wiki Statistics

Is there any place where I can find statistics on how many pages are in a particular language on Wiki? maro21 15:51, 2 May 2021 (UTC)

Not exactly. It also depends on the mechanism to determine the language of a wiki page. There are currently two strategies. The first one uses the prefix the other one uses the page language setting at Special:PageInfo. You can list the pages with a specific prefix via Special:PrefixIndex. I have not found a mechanism to count pages using the language setting or special pages. There might be a way using the API. The language setting is mostly interesting for right-to-left (RTL) languages which would otherwise need some templates like Template:Fa. If you want to know how many pages there are with missing translations, you can use one of the subcategories of Category:Pages with missing translation. Hope this helps. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 09:48, 4 May 2021 (UTC)

Add Navbox GNSS to all pages, mentioned in it

I'm creating a navigation box for an wiki pages, connected with GNSS: User:Vazhnov_Alexey/Navbox_GNSS. I'm planing to add this navbox to all pages, mentioned in it (exception — if the page already have some navbox or special style for a page).

Any objections? Concerns? We can also discuss this in forum. --Vazhnov Alexey (talk) 23:18, 3 May 2021 (UTC)

Resolved: Created here: Template:Navbox GNSS. Adding to pages. --Vazhnov Alexey (talk) 22:37, 7 May 2021 (UTC)

Replace Simple image MediaWiki extension with MultiMaps extension

I would like to replace Simple Image extension with MultiMaps extension. Simple image extension is broken since at least 23 February 2020. Currently, the extension lacks a tile stitching service (Firefishy/SimpleMap/issues/4). There were problems with the previous service provider as well (fossgis/openstreetmap.de/issues/25 and fossgis/openstreetmap.de/issues/36). Noone is willing to provide the service. I would like to finish of this outstanding issue and get to a positive solution.

As a result, I propose an automated edit using TigerfellBot. I wrote down the details at the user page. Are there any comments or concerns? --Tigerfell This user is member of the wiki team of OSM (Let's talk) 17:35, 5 May 2021 (UTC)

So you want to replace for example:
<map lat="51.485" lon="-0.15" z="11" w="300" h="200" format="jpeg" />
with
{{slippymap|lat= 51.485|lon = -0.15|width = 300|height = 200|zoom =11}}
? maro21 18:08, 5 May 2021 (UTC)
Exactly. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 17:41, 6 May 2021 (UTC)
No concerns from me. --Chris2map (talk) 20:16, 6 May 2021 (UTC)

Category Tree extension missing

Since MediaWiki 1.31, CategoryTree extension is packaged by default, we are running version 1.35, so why is it removed. It is a standard and very nice extension to view categories as dynamic intercative trees and could improve our wiki and navigation a lot. So this is a request to leave it included.

https://www.mediawiki.org/wiki/Extension:CategoryTree and https://www.mediawiki.org/wiki/Help:Categories#Managing%20the%20category%20hierarchy.

--Bert Araali (talk) 15:16, 18 May 2021 (UTC)

The extension's files are included in MediaWiki, but one would need to enable the extension. This is not done automatically. --Tigerfell This user is member of the wiki team of OSM (Let's talk) 20:52, 19 May 2021 (UTCi
So is one of the admin's willing to enable it ? Any objections or issues against enabling it ? Bert Araali (talk) 22:12, 19 May 2021 (UTC)