[Script] WME Place Harmonizer v1.2

Thank you, thank you, thank you!

I just wanted to note that there’s no requirement that you have your language set to “US English”. However, there is a known bug that, as far as I can tell, is present if you have never changed the language in the settings – or at least not recently. Once you change it from “English” to something else, you should be able to switch to any language without issue, including back to “English”.

Feature request: According to the Wiki, parking lot areas should be locked at 3, but it seems that WMEPH is locking those at the regular state minimum lock level. Any chance that it can be adjusted so that PLAs get set to 3 when they meet the conditions where WMEPH would add the lock automatically?

Also as an additional request, Nevada lock standard has been to lock a place at 2 when it’s completed. For a while now, we prefer that emergency service providers (Hospital, Police & Fire), as well as gas station places be locked at a minimum level of 3. I don’t think that the NV wiki page says anything about that yet; I’ll have to see about that when I have a chance. :slight_smile: Is there any chance that WMEPH can be adjusted so that those types of places in Nevada are accommodated with the appropriate minimum lock rank when the existing rank is 1 or auto(1)?

Thanks.

SuperDave,
Thanks for the post. I will check on the first request. For the 2nd request, I’ll forward to the moderators for review and update.

Dave,

Nevada already had a standard of R3 for Police, Fire, Hospital and Prison in WMEPH, I’ve added Gas Station to that list.

Nevada has been set at a default lock level of R2 since the beginning of WMEPH.

If you’re not seeing these properly lock when a place is complete, let us know; they’ve been working for me. If you have any further Nevada-specific concerns, you can contact me directly.

Oh, ok, thanks for the info. I hadn’t noticed it because A] I had been not very active over the last few months, which is when I’m guessing the change in WMEPH took place, and B] The places that I was looking at were ones that I (or other editors) had already worked on and thus were already locked at 3 or higher. While I was editing today, I got to a gas station that I hadn’t dealt with before, and yup, it auto-locked at 3. I remember thinking, “Wow, that was fast!” :lol:

I’m thinking that airports should probably be at least 3, if not 4. If you agree, could you please put in the request for me to have that set at at least a 3 in WMEPH? We don’t tend to deal with airports that much, so I’m not as worried about it; if you don’t think it needs the minimum of 3, then just leave it at the current state minimum (2).

Thanks!

To follow up on this observation, I’ve been smacking my head against the keyboard as to why WMEPH wasn’t working for me, even though I did have a language set. It turns out that even though the language I had set was “US English”, somehow, somewhere, in some dark mysterious place, the localization engine in WME was returning a language code that didn’t match up with what was being used everywhere else.

2017-04-11 12_03_05-Clipboard.png

WME is looking for “en-US” and mine was oddly set to “en_US”.

The simple fix is to change language to something else, and change it back again. This might be why some people have seen it work after change languages a couple of times.

Glad you are up and running again :smiley:

Thanks jangliss. That will hopefully be addressed in the next release. Instead of using W.location.locale it will use I18n.locale, which I believe is probably what it should have been using all along. I’m not sure why W.location.locale is sometimes different – or why it’s there at all, really. Maybe just to confuse us poor script writers :wink:

:smiley: I will take most of this Greek as “You won’t have to switch languages in the next release” :smiley:

Is there a way we could add “reservations” as a button on “Personal Care” as part of the “Add Services” because we use personal care for salons and spa’s and most of those take reservations? Thank you. I know I can go in and select reservation, but having it as one of the buttons like we have for “Restaurant” would be nice.

Sean

Request for change of missing external link standards in the USA:

PLA Places - Missing External Link (google) should be a minor issue (BLUE), as 99% PLAs do not have matching Google Places, and we don’t want the PLA linked to the main Place.

non-PLA Places - Missing External Link SHOULD NOT PREVENT the automatic locking. (regardless of color)

I’m not sure of the mechanics behind the auto-save locking, but since an external link cannot be added (let alone seen) by R1 & R2 editors, there should be no reason to preventing the auto-lock to L2/L3. HOWEVER, the banner and highlighting should reflect the missing external link so L3+ can see the issue and resolve it. If RED means no auto-save lock due to incompleteness, maybe missing external links should be categorized under the YELLOW warning level.

The reasoning here is that if every standalone venue will eventually have a PLA (seems that’s where we are going), and the vast majority of these lots don’t have a matching google venue, we don’t want every single editor to have thousands of PLAs to check and whitelist.

Not only that, we also want to avoid inadvertently suggesting that a Google link should be made between PLAs and the associated businesses themselves—e.g., we do not want a “Parking - Starbucks” linked to Google’s “Starbucks” result, we want only our “Starbucks” linked to that.

Can we prevent WMEPH from applying Title Case Capitalization to the parenthetical restrictions in PLA names? For example, “Parking Lot A - Employee (permit only) - Airport” becomes “Parking Lot A - Employee (Permit Only) - Airport”.

Yes, further, IMO, it should by default ignore case on anything inside parentheses.

Or at least just give the option but not automatically title case.

I think it would be helpful if it asked if you would like to force case, as it does with other places.

First off - and I never want to take this for granted - thank you SO much for the efforts put forth in powerful tool. As I’m working on a mass quantity of place updates, I was curious if it’d be possible to facilitate keyboard shortcuts to quickly hop into the 1) phone number field, 2) hours field, and possibly 3) the Google Place link. Or is it possible to create a jump button, like you did with the street, that would open up the Google Place link field?

Yes, I definitely appreciate the helpfulness of this addon.

Would it be possible to have it adjusted, though, so that PLAs with no URL, phone number, or external provider link NOT be highlighted in blue on the area itself? It’s pretty common (at least around here) for a parking lot to only have some of those things at best, and none of those things in many cases. It would be nice to not have to constantly have to whitelist every one of those.

Thoughts?