MediaWiki talk:Common.js/Wikinews:Dialog/do

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

Testing[edit]

When creating a test version of this action, some things to keep in mind.

  • Action pages in userspace can only be used by admins.
  • A test version may require some changes from the production version in order to work right.
  • In the test version, below comment "enable button delegation" (as this writing, it's in viewStepSix), change the literal string from 'do' to the name of the test version target page. For example, 'User:Wikidialog developer/dialog/do'.
  • If the test version is meant to use a test version of the receive module, adjust the name of that module in the getScript call at the bottom of the page. It occurs twice there: once in the live code, and once in a comment (which is important because it maintains the network of WhatLinksHere ties between pages).
  • When deploying an experimental version to production, remember to undo these experimental-version-specific changes.

Broken[edit]

{{edit protected}} @Pi zero, SVTCobra: all dialogue actions are failing now, because of phab:T233442. To fix this, please replace "editToken" with "csrfToken" in the 2 places that "editToken" is called. Thanks, --DannyS712 (talk) 01:09, 11 October 2019 (UTC)

I'm on it. --Pi zero (talk) 01:29, 11 October 2019 (UTC)
Thanks. Also MediaWiki talk:Common.js/Wikinews:Dialog/diagnostic panel once you're done --DannyS712 (talk) 01:31, 11 October 2019 (UTC)
This should be done now. Taking a look at the diagnostic panel. --Pi zero (talk) 02:05, 11 October 2019 (UTC)
@DannyS712: Btw, I think the failure was limited to the "edit" verb; the scroll buttons on {{topic cat}} were still working for me. --Pi zero (talk) 02:11, 11 October 2019 (UTC)
I didn't realize that those were also dialogs - I meant the edit ones --DannyS712 (talk) 02:12, 11 October 2019 (UTC)