Last modified: 2014-07-15 17:28:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70037, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68037 - Replace text after template with lang tag
Replace text after template with lang tag
Status: RESOLVED DUPLICATE of bug 67985
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
PC Windows 8.1
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-15 15:06 UTC by Sunpriat
Modified: 2014-07-15 17:28 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sunpriat 2014-07-15 15:06:15 UTC
(ru-wiki)
template text:
[[Немецкий язык|нем.]]&nbsp;''<span lang="de">{{{1}}}</span>''<noinclude>{{doc|Lang/doc}}[[Категория:Шаблоны языков|de]]</noinclude>

article text:
{{Lang-de|Ffffff}}  text text text text text text.

*press Edit
*select something (for example "ex" in first text)
*press "space"

text replaced in a loop -> text ext ext ext ext ext ext
Comment 2 Sunpriat 2014-07-15 15:08:27 UTC
    Пытаюсь воспроизвести; у меня не удаление, а последовательная (циклическая?) замена текста на повторяющуюся строку "разн"; процесс останавливается по Ctrl-Z (отмена действия). Если доотменять до начального состояния, выделение будет "поздняя разновидность"; если ещё раз нажать пробел, проблема повторится с той разницей, что заменяющая строка будет "няя " или " няя". WinXP SP3, firefox 30.0, анонимно.
    Уточнение после нескольких экспериментов: замена запускается по (любой?) алфавитно-цифровой клавише; замена двухэтапная: сначала выделенный текст заменяется на символ, сопоставленный нажатой клавише, затем этот символ заменяется на первые 4 символа с начала выделения; позиция курсора сдвигается на те же 4 символа и процесс повторяется; взаимодействие со ссылками и другим невидимым текстом неоднозначно и плохо предсказуемо; если замене подвергалась видимая часть сноски, исчезала часть предшествующего текста.
    Эксперименты с другими статьями дали следующий результат: необходимое условие проявления проблемы — нахождение выделенного текста между шаблоном lang-xx и концом абзаца. --37.147.194.106 21:17, 14 июля 2014 (UTC)
Comment 3 Andre Klapper 2014-07-15 16:07:59 UTC
Hi Sunpriat, thanks for taking the time to report this!

Where is this template exactly located?  Is there a diff on Russian Wikipedia where this problem has already happened, and could you link to it, please?
Comment 4 Sunpriat 2014-07-15 16:47:13 UTC
(In reply to Andre Klapper from comment #3)
> Hi Sunpriat, thanks for taking the time to report this!
> 
> Where is this template exactly located?  Is there a diff on Russian
> Wikipedia where this problem has already happened, and could you link to it,
> please?

From original message:
template:[[:ru:Шаблон:Lang-de]]
article: [[:ru:Фрактура]]

Example in en-wiki
*[[:en:Template:Lang-de]]
*article: https://en.wikipedia.org/w/index.php?title=User:Sunpriat/1&oldid=617068724
*dif: https://en.wikipedia.org/w/index.php?title=User:Sunpriat/1&diff=617069084&oldid=617068724
*just in VE select any character and press any key
Comment 5 James Forrester 2014-07-15 17:28:39 UTC
This is a problem with the {{lang-**}} templates, which is bug 67985 and was fixed yesterday afternoon (SF time).

*** This bug has been marked as a duplicate of bug 67985 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links