api

convenientDiscussions. api

Source:

Script's publicly available API. Here there are some utilities that we believe should be accessible for external use.

If you need some internal method to be available publicly, contact the script's maintainer (or just make a relevant pull request).

Members

(static) pageRegistry :object

Source:
See:

If CD isn't loaded (on pages where CD clearly doesn't need to run), only module:pageRegistry.get and module:pageRegistry.Page#isProbablyTalkPage are guaranteed to run.

Type:
  • object

Methods

(static) buildEditSummary()

Source:
See:
  • module:util.buildEditSummary

(static) generateCommentId()

Source:
See:

(static) getCommentByDtId()

Source:
See:

(static) getCommentById()

Source:
See:

(static) getLastActiveAlteredCommentForm()

Source:
See:

(static) getLastActiveCommentForm()

Source:
See:

(static) getRootElement()

Source:
See:

(static) getSectionById()

Source:
See:

(static) getSectionsByHeadline()

Source:
See:

(static) isPageOverlayOn()

Source:
See:

(static) parseCommentId()

Source:
See:
  • module:Comment.parseId

(static) reloadPage()

Source:
See:

(static) wrapDiffBody()

Source:
See:
  • module:util.wrapDiffBody

(static) wrapHtml()

Source:
See:
  • module:util.wrapHtml