This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
When there is just one region it works fine. When there are two regions and I compare it using the PAPI Placeholder or your own $wgregionname it is not working in 50% of the cases.
There are two regions: nordin, rathaus_stadt
My Code:
- '$Script$%if%nordin==$wgregionname'
== looks for the exact same result, if the string cointains "nordin, rathaus_stadt" , nordin should also contain "nordin, rathaus_stadt". Use .contains instead of ==
Ok, I will try it next time. I reduced the size of one region, so that they don't interfere anymore.
To post a comment, please login or register a new account.