Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove double underscores from smw-pa-property-predefined__* #58

Open
Nikerabbit opened this issue Dec 4, 2017 · 12 comments
Open

Remove double underscores from smw-pa-property-predefined__* #58

Nikerabbit opened this issue Dec 4, 2017 · 12 comments
Labels

Comments

@Nikerabbit
Copy link
Contributor

Please remove the double underscores in messages such as smw-pa-property-predefined__sci_cite_key. These are not supported by MediaWiki and cannot be customised in MediaWiki namespace. They also cause issues at translatewiki.net: https://phabricator.wikimedia.org/T181981

@mwjames
Copy link
Contributor

mwjames commented Dec 4, 2017 via email

@Nikerabbit
Copy link
Contributor Author

I can drop these keys on translatewiki.net config so that they won't cause issues, but then they cannot be translated anymore :(

@mwjames
Copy link
Contributor

mwjames commented Dec 4, 2017 via email

@Nikerabbit
Copy link
Contributor Author

-- is okay in MediaWiki.

@kghbln
Copy link
Member

kghbln commented Dec 7, 2017

Mentioned changes are not backwards compatible and therefore would require SMW 3.0 for all SMW hosted repositories!

The current system has worked for some time now but it was probably only a matter of time until something like what was reported here happened.

However, since we are breaking many other things with SMW 3.0.0 anyways it appears to be a good point in time to make these backwards incompatible changes. I believe that all extensions providing special properties are affected, i.e. SBL, SESP and SIL. These should see major version changes in the event of the fix to avoid compat issues for system adminiatrators. @mwjames Sould I open individual issues for these? I guess this will be good.

@Nikerabbit Thanks for confirming that -- is fine.

On the event of changing the message keys it will be nice if the respective messages and their existing translations can also be moved on twn at the same time. We have already lost translations on "regular" message key changes lately and here it will be a shame if this happens here too.

@Nikerabbit
Copy link
Contributor Author

We have already lost translations on "regular" message key changes lately and here it will be a shame if this happens here too.

Renames are still handled manually, so it is possible that I have missed some. Best to leave me a note if you are doing rename so that I am aware. Old renames can still be performed if you know specific keys.

@ChristianWia
Copy link

translatewiki behaviour seems ok now. Christian (Wladek92).

@kghbln
Copy link
Member

kghbln commented Dec 8, 2017

Best to leave me a note if you are doing rename so that I am aware.

Will do.

translatewiki behaviour seems ok now.

Good to hear, however this still an open window to put this on more solid ground.

@mwjames
Copy link
Contributor

mwjames commented Dec 9, 2017

These should see major version changes in the event of the fix to avoid compat issues for system adminiatrators.

No need for a major (i.e. 1.x.x to 2.x.x) because for SMW 2.5.x we don't backport any messages which means the key still fits and for 3.x those that match a key will display a description and for those who don't a standard message will be displayed until the user updates to a more recent version.

@mwjames Sould I open individual issues for these? I guess this will be good.

Probably the best.

@kghbln
Copy link
Member

kghbln commented Dec 9, 2017

No need for a major

Ah, ok, I thought the changes might be more dramatic. However we should do a minor release as soon as SMW 3.0.0 is out.

Probably the best.

Will do.

@kghbln
Copy link
Member

kghbln commented Dec 9, 2017

I have created the issues an believe to have covered all extensions using the same logic.

@kghbln
Copy link
Member

kghbln commented Dec 9, 2017

Also noted SemanticMediaWiki/SemanticMediaWiki#1365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants