Hi everyone.
Later today, I intend to make a change to the language converter system. The language converter system is used in a couple languages, most notably zh and sr, to interpret -{ in wikisyntax. Previously, -{ }- syntax would work inside external links. Now you must put it outside external links.
For example, previously you could do:
[http://-%7Bzh-cn:foo.com; zh-hk:bar.com; zh-tw:baz.com}- mylink]
now you must do:
-{zh-cn: [http://foo.com mylink] ; zh-hk: [http://bar.com mylink] ; zh-tw:[http://baz.com my link] }-
I'm hopeful this change will not be too disruptive. If you encounter any new weird behaviour with language converter please let me know.
-- Brian Wolff
p.s. List of probably affected pages: * http://tools.wmflabs.org/bawolff/langconv/sr.txt * http://tools.wmflabs.org/bawolff/langconv/zh.txt * http://tools.wmflabs.org/bawolff/langconv/zhwiktionary.txt
I don't believe anything outside of serbian wikipedia, chinese wikipedia, and chinese wiktionary will be affected.
Is there a phab ticket or gerrit patch for this change? I'd like to look it over.
It would be nice to allow language converter syntax inside the link *title*, ie: [http://example.com -{en-uk:lift;en-us:elevator}] --scott
On Mon, Nov 13, 2017 at 3:48 PM, Brian Wolff bwolff@wikimedia.org wrote:
Hi everyone.
Later today, I intend to make a change to the language converter system. The language converter system is used in a couple languages, most notably zh and sr, to interpret -{ in wikisyntax. Previously, -{ }- syntax would work inside external links. Now you must put it outside external links.
For example, previously you could do:
[http://-%7Bzh-cn:foo.com; zh-hk:bar.com; zh-tw:baz.com}- mylink]
now you must do:
-{zh-cn: [http://foo.com mylink] ; zh-hk: [http://bar.com mylink] ; zh-tw:[http://baz.com my link] }-
I'm hopeful this change will not be too disruptive. If you encounter any new weird behaviour with language converter please let me know.
-- Brian Wolff
p.s. List of probably affected pages:
- http://tools.wmflabs.org/bawolff/langconv/sr.txt
- http://tools.wmflabs.org/bawolff/langconv/zh.txt
- http://tools.wmflabs.org/bawolff/langconv/zhwiktionary.txt
I don't believe anything outside of serbian wikipedia, chinese wikipedia, and chinese wiktionary will be affected.
Wikitech-ambassadors mailing list Wikitech-ambassadors@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors
Just to clarify, lang converter tags will indeed still be allowed inside the link text.
[http://example.com/-%7Bsr-ec:foo;sr-el:bar%7D- some text] will not work anymore, but [http://example.com/foo -{sr-ec:cryllic text;sr-el:latin text}-] should continue to work fine.
-- Brian
On Mon, Nov 13, 2017 at 8:58 PM, C. Scott Ananian cananian@wikimedia.org wrote:
Is there a phab ticket or gerrit patch for this change? I'd like to look it over.
It would be nice to allow language converter syntax inside the link *title*, ie: [http://example.com -{en-uk:lift;en-us:elevator}] --scott
As a follow-up, this is live now.
If anyone encounters any weirdness in language converter, please let me know.
On Mon, Nov 13, 2017 at 8:48 PM, Brian Wolff bwolff@wikimedia.org wrote:
Hi everyone.
Later today, I intend to make a change to the language converter system. The language converter system is used in a couple languages, most notably zh and sr, to interpret -{ in wikisyntax. Previously, -{ }- syntax would work inside external links. Now you must put it outside external links.
For example, previously you could do:
[http://-%7Bzh-cn:foo.com; zh-hk:bar.com; zh-tw:baz.com}- mylink]
now you must do:
-{zh-cn: [http://foo.com mylink] ; zh-hk: [http://bar.com mylink] ; zh-tw:[http://baz.com my link] }-
I'm hopeful this change will not be too disruptive. If you encounter any new weird behaviour with language converter please let me know.
-- Brian Wolff
p.s. List of probably affected pages:
- http://tools.wmflabs.org/bawolff/langconv/sr.txt
- http://tools.wmflabs.org/bawolff/langconv/zh.txt
- http://tools.wmflabs.org/bawolff/langconv/zhwiktionary.txt
I don't believe anything outside of serbian wikipedia, chinese wikipedia, and chinese wiktionary will be affected.
Wikitech-ambassadors mailing list Wikitech-ambassadors@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors
wikitech-ambassadors@lists.wikimedia.org