Page MenuHomePhabricator

Wiki syntax highlighting beta feature does not work on ru.wikiquote (due to broken local JS?)
Closed, InvalidPublic

Description

У меня возникла проблема с русским Викицитатником. У меня не работает Бета-функция Подсветка синтаксиса вики-текста. Прошу разобраться


Translation:
I have a problem at the Russian Wikiquote: the syntax highlighting beta feature doesn't work. Please fix.

Event Timeline

MaxSem updated the task description. (Show Details)
MaxSem changed the visibility from "Custom Policy" to "Public (No Login Required)".
MaxSem subscribed.

Спасибо за баг-репорт. Какой браузер? Когда перестало работать?

Привет! Использую Яндекс Браузер. Использую это функцию в руВП и всё нормально. В русском Викицитатнике включил недавно (дня 2-3 назад). Пытался переключать и занаво включать, ничего не выходило...

@OlegCinema: Please follow https://mediawiki.org/wiki/How_to_report_a_bug in the future and provide exact steps, and also try https://www.mediawiki.org/wiki/Help:Locating_broken_scripts when such problems happen - thanks!

  1. Go to https://ru.wikiquote.org/wiki/Служебная:Настройки#mw-prefsection-betafeatures
  2. Enable Подсветка синтаксиса вики-текста
  3. Save changes on page
  4. Open your browser's "Developer tools"
  5. Go to https://ru.wikiquote.org/w/index.php?title=Лилия&action=edit&debug=true (note the &debug=true)
  6. See error "ReferenceError: mwCustomEditButtons is not defined" coming from https://ru.wikiquote.org/w/index.php?title=MediaWiki:Editpage.js

https://ru.wikiquote.org/w/index.php?title=MediaWiki:Editpage.js needs fixing.

I do not see any bug in syntax highlighting here?

Aklapper renamed this task from Проблема в русском Викицитатнике to Wiki syntax highlighting beta feature does not work on ru.wikiquote (due to broken local JS?).Jun 7 2018, 1:25 PM

The warning Use of "mwCustomEditButtons" is deprecated. Use mw.toolbar instead. had been shown for months before mwCustomEditButtons was removed in version 1.29. See this link for example.

I'm closing this task as invalid as this task is about changing on-wiki content inside of wiki pages and hence out of scope for Phabricator.

Please follow "mwcustomeditbuttons" in the table at https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#Legacy_removals - thanks!

Спасибо, проблема решена! !!

Yay, very happy to hear that! :)

Vvjjkkii renamed this task from Wiki syntax highlighting beta feature does not work on ru.wikiquote (due to broken local JS?) to 2hbaaaaaaa.Jul 1 2018, 1:05 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from 2hbaaaaaaa to Wiki syntax highlighting beta feature does not work on ru.wikiquote (due to broken local JS?).Jul 2 2018, 3:13 PM
CommunityTechBot closed this task as Invalid.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.