Last modified: 2012-08-12 09:44:34 UTC
Vector edit toolbar do not support local magic words. When user inserting redirect, should insert translation of "#REDIRECT", not English version. For example in Polish, in Monobook toolbar we have "#PATRZ [[Nazwa artykułu docelowego]]", ugly Vector have "#REDIRECT [[Nazwa strony docelowej]]".
See http://meta.wikimedia.org/wiki/2010_Wikimedia_design_and_feature_change/Feedback#REDIRECT_button for a vector.js-based solution.
Rephrasing summary to include other magic words, moved to new WikiEditor component. A few ideas / possible solutions: * If available through a messagekey, the appropiate message keys can be added to the registry of WikiEditor's ResourceLoader module * If not available through messagekey we could create a startup-like module in WikiEditor that is created through PHP and populates an object (or an instance of mediaWiki.Map) with the localized versions of the magic words in the *content* language.
see also Gerrit change #9053 I added a file dialog to the wikieditor, and for using the localised magic words ("thumb", "right", "left" etc...) I had to expose the magic words to javascript. On the way it also fix this bug
fix merged.