saper has uploaded a new change for review.
https://gerrit.wikimedia.org/r/84142
Change subject: Improve markdown and workaround bug 54050
......................................................................
Improve markdown and workaround bug 54050
Original Markdown guide suggests using four spaces
for standalone code blocks, not standalone quotes.
Remove word "tags" in angle quotes, it does not
play well with markdown - github renders it as
the HTML tag and automatically closes it.
Change-Id: I31058567cfe9d2cba412d6fc2795f8d7f7f56a0f
---
M README.md
1 file changed, 6 insertions(+), 16 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MassMessage
refs/changes/42/84142/1
diff --git a/README.md b/README.md
index a29a729..9c2ec44 100644
--- a/README.md
+++ b/README.md
@@ -4,21 +4,15 @@
## Configuration
-`
-$wgNamespacesToPostIn = array( NS_PROJECT, NS_USER_TALK );
-`
+ $wgNamespacesToPostIn = array( NS_PROJECT, NS_USER_TALK );
This limits the bot to only posting in the Project: and User talk: namespaces.
-`
-$wgNamespacesToConvert = array( NS_USER => NS_USER_TALK );
-`
+ $wgNamespacesToConvert = array( NS_USER => NS_USER_TALK );
This allows a user to specify a page in the User: namespace, and the bot will
automatically convert it to the User talk: namespace.
-`
-$wgMassMessageAccountUsername = 'MessengerBot';
-`
+ $wgMassMessageAccountUsername = 'MessengerBot';
The account name that the bot will post with. If this is an existing account,
the extension will automatically take it over.
@@ -38,15 +32,11 @@
The input list provided to the special page must be formatted using a custom
parser function.
-`
-{{#target:Project:Noticeboard}}
-`
+ {{#target:Project:Noticeboard}}
In this example, the target page is `[[Project:Noticeboard]]` on your local
site.
-`
-{{#target:User talk:Example|en.wikipedia.org}}
-`
+ {{#target:User talk:Example|en.wikipedia.org}}
In this one, the target is `[[User talk:Example]]` on the "en.wikipedia.org"
domain.
@@ -56,7 +46,7 @@
### Body
-The body is the main text of the message. You will be automatically warned if
your message is detected to have unclosed <tags>, but it will not prevent
message delivery.
+The body is the main text of the message. You will be automatically warned if
your message is detected to have unclosed tags, but it will not prevent message
delivery.
Wikis can choose to add an enforced footer by editing the
`massmessage-message-footer` message. In addition to that, a hidden comment
will be added containing the user who sent the message, what project it was
sent from, and the input list that was used. That comment can be modified by
editing the `massmessage-hidden-comment` on the target site.
--
To view, visit https://gerrit.wikimedia.org/r/84142
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I31058567cfe9d2cba412d6fc2795f8d7f7f56a0f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MassMessage
Gerrit-Branch: master
Gerrit-Owner: saper <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits