dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: Replace jscs+jshint with eslint
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.messagePoster
/
mediawiki.messagePoster.MessagePoster.js
diff --git
a/resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js
b/resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js
index
91366ff
..
64642b2
100644
(file)
--- a/
resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js
+++ b/
resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js
@@
-1,4
+1,3
@@
-/*global OO*/
( function ( mw ) {
/**
* This is the abstract base class for MessagePoster implementations.
( function ( mw ) {
/**
* This is the abstract base class for MessagePoster implementations.
@@
-16,7
+15,10
@@
/**
* Post a message (with subject and body) to a talk page.
*
/**
* Post a message (with subject and body) to a talk page.
*
- * @param {string} subject Subject/topic title; plaintext only (no wikitext or HTML)
+ * @abstract
+ * @param {string} subject Subject/topic title. The amount of wikitext supported is
+ * implementation-specific. It is recommended to only use basic wikilink syntax for
+ * maximum compatibility.
* @param {string} body Body, as wikitext. Signature code will automatically be added
* by MessagePosters that require one, unless the message already contains the string
* ~~~.
* @param {string} body Body, as wikitext. Signature code will automatically be added
* by MessagePosters that require one, unless the message already contains the string
* ~~~.