Hello MW users,
I have been trying to achieve the following for quite some time but not sure what would be the best way to do it.
I am using MediaWiki 1.12 on Debian 5.0 Linux.
I know of two ways by which users can add their signature after adding a comment to the discussion page on any wiki article.
1. Type "~~~~" (four tildes) at the end of the comment.
2. There is a "Insert Signature" button in the editing toolbar by which a person can include the signature.
So my question is: In both the above cases, one has to remember to add the signature. Is there any way by which the signature gets added automatically whenever a user adds a comment to the discussion page?
I tried checking the extension matrix before posting but nothing came up related to signatures. http://www.mediawiki.org/wiki/User:A.../AllExtensionshttp://www.mediawiki.org/wiki/User:Alterego/ExtensionMatrix/AllExtensions
Any ideas?
Great idea! Is it possible? Would avoid so many problemns... cheers
2010/1/18 Tech Geek techgeek12345@gmail.com
Hello MW users,
I have been trying to achieve the following for quite some time but not sure what would be the best way to do it.
I am using MediaWiki 1.12 on Debian 5.0 Linux.
I know of two ways by which users can add their signature after adding a comment to the discussion page on any wiki article.
Type "~~~~" (four tildes) at the end of the comment.
There is a "Insert Signature" button in the editing toolbar by which a
person can include the signature.
So my question is: In both the above cases, one has to remember to add the signature. Is there any way by which the signature gets added automatically whenever a user adds a comment to the discussion page?
I tried checking the extension matrix before posting but nothing came up related to signatures. http://www.mediawiki.org/wiki/User:A.../AllExtensions< http://www.mediawiki.org/wiki/User:Alterego/ExtensionMatrix/AllExtensions%3E
Any ideas? _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Mon, Jan 18, 2010 at 8:46 AM, Tech Geek techgeek12345@gmail.com wrote:
So my question is: In both the above cases, one has to remember to add the signature. Is there any way by which the signature gets added automatically whenever a user adds a comment to the discussion page?
This would work OK for adding a new section, but would be hell for editing (which is the majority of actions on a talk page), because the software can't really know what you edited - you might just have fixed a typo.
A simple JavaScript could check if there's ~~~ in the edit box when saving a talk page, and alert you if there's not.
Cheers, Magnus
And what about implementing a such complicated capcha system, I mean the one that makes easier the job of adding ~~~~ than the job of filling it? cheers, Névio
2010/1/18 Magnus Manske magnusmanske@googlemail.com
On Mon, Jan 18, 2010 at 8:46 AM, Tech Geek techgeek12345@gmail.com wrote:
So my question is: In both the above cases, one has to remember to add the signature. Is
there
any way by which the signature gets added automatically whenever a user
adds
a comment to the discussion page?
This would work OK for adding a new section, but would be hell for editing (which is the majority of actions on a talk page), because the software can't really know what you edited - you might just have fixed a typo.
A simple JavaScript could check if there's ~~~ in the edit box when saving a talk page, and alert you if there's not.
Cheers, Magnus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Mon, Jan 18, 2010 at 3:47 PM, nevio carlos de alarcão nevinhoalarcao@gmail.com wrote:
And what about implementing a such complicated capcha system, I mean the one that makes easier the job of adding ~~~~ than the job of filling it?
ow sure what you mean. The OP stated the problem that "one has to remember to add the signature".
Checking whether or not you singed a post is easy. Finding where your signature should go is extremely hard if you want to cover all cases.
Cheers, Magnus
Finding where your signature should go is extremely hard if you want
to cover all cases.
Sorry if I misunderstood, but shouldn't it always go on the final of the message written?
2010/1/18 Magnus Manske magnusmanske@googlemail.com
On Mon, Jan 18, 2010 at 3:47 PM, nevio carlos de alarcão nevinhoalarcao@gmail.com wrote:
And what about implementing a such complicated capcha system, I mean the
one
that makes easier the job of adding ~~~~ than the job of filling it?
ow sure what you mean. The OP stated the problem that "one has to remember to add the signature".
Checking whether or not you singed a post is easy. Finding where your signature should go is extremely hard if you want to cover all cases.
Cheers, Magnus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
My message was ment as a reply for : "MediaWiki-l Digest, Vol 76, Issue 15" subject "Signing text automatically in discussion page"
The content was :
Message: 1 Date: Mon, 18 Jan 2010 00:46:51 -0800 From: Tech Geek Subject: [Mediawiki-l] Signing text automatically in discussion page To: mediawiki-l@lists.wikimedia.org Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
Hello MW users,
I have been trying to achieve the following for quite some time but
not sure
what would be the best way to do it.
I am using MediaWiki 1.12 on Debian 5.0 Linux.
I know of two ways by which users can add their signature after adding a comment to the discussion page on any wiki article.
Type "~~~~" (four tildes) at the end of the comment.
There is a "Insert Signature" button in the editing toolbar by which a
person can include the signature.
So my question is: In both the above cases, one has to remember to add the signature. Is
there
any way by which the signature gets added automatically whenever a
user adds
a comment to the discussion page?
I tried checking the extension matrix before posting but nothing came up related to signatures. http://www.mediawiki.org/wiki/User:A.../AllExtensions
Any ideas?
Tech Geek, that is standard behaviour of WikiForum http://manual.wikiation.nl/Level_2_wikiforum
It is used in its own namespace but could be used instead of the discussion page as well. It give much more structure and enforce respectation the time depending structure of the thread.
It is propriety software. It is part of Wikibox Blue of Wikiation
This very valueble for my Organisation. I have many doubts, but maybe I consider to make it Open Source. I will start a new thread about this.
Bernard Hulsman
Sorry but I reply very rare, and sometimes my replies were not commited.
Thanks.
nevio carlos de alarcão wrote:
Finding where your signature should go is extremely hard if you want
to cover all cases.
Sorry if I misunderstood, but shouldn't it always go on the final of the message written?
2010/1/18 Magnus Manske magnusmanske@googlemail.com
On Mon, Jan 18, 2010 at 3:47 PM, nevio carlos de alarcão nevinhoalarcao@gmail.com wrote:
And what about implementing a such complicated capcha system, I mean the
one
that makes easier the job of adding ~~~~ than the job of filling it?
ow sure what you mean. The OP stated the problem that "one has to remember to add the signature".
Checking whether or not you singed a post is easy. Finding where your signature should go is extremely hard if you want to cover all cases.
Cheers, Magnus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Mon, Jan 18, 2010 at 4:19 PM, nevio carlos de alarcão nevinhoalarcao@gmail.com wrote:
Finding where your signature should go is extremely hard if you want
to cover all cases.
Sorry if I misunderstood, but shouldn't it always go on the final of the message written?
If everyone would orderly append an answer at the end, then yes. But people will reply In the middle of a thread, edit their own or other people's previous text (e.g. to fix typos or links), remove content etc.
That's the basic problem when using a wiki as a discussion forum - the discussion is still a wiki page with indented lines.
Cheers, Magnus
Magnus Manske wrote:
On Mon, Jan 18, 2010 at 4:19 PM, nevio carlos de alarcão nevinhoalarcao@gmail.com wrote:
Finding where your signature should go is extremely hard if you want
to cover all cases.
Sorry if I misunderstood, but shouldn't it always go on the final of the message written?
If everyone would orderly append an answer at the end, then yes. But people will reply In the middle of a thread, edit their own or other people's previous text (e.g. to fix typos or links), remove content etc.
That's the basic problem when using a wiki as a discussion forum - the discussion is still a wiki page with indented lines. Cheers, Magnus
Correct. Thats why normal editing is blocked in the WikiForum namespace. Only users with the specific "w_wikiforumedit" can edit the page. Other users can only use the reply button. And the thread section of some else can not be broken.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Magnus,
A simple JavaScript could check if there's ~~~ in the edit box when saving a talk page, and alert you if there's not.
Looks like this might work. Where do you exactly put this javascript? Do I have to install some kind of extension which will let me add my own javascript or should I modify the main mediawiki files?
Thanks
Tech Geek wrote:
Magnus,
A simple JavaScript could check if there's ~~~ in the edit box when saving a talk page, and alert you if there's not.
Looks like this might work. Where do you exactly put this javascript? Do I have to install some kind of extension which will let me add my own javascript or should I modify the main mediawiki files?
Thanks
Its an extension, no javascript. As I wrote in the beginning on the moment its propriety software. It is part of Wikibox blue and delivered as SAAS.
But I am considering to make it Open Source. See my other thread.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Mon, Jan 18, 2010 at 4:35 PM, Tech Geek techgeek12345@gmail.com wrote:
Magnus,
A simple JavaScript could check if there's ~~~ in the edit box when saving a talk page, and alert you if there's not.
Looks like this might work. Where do you exactly put this javascript? Do I have to install some kind of extension which will let me add my own javascript or should I modify the main mediawiki files?
No extension needed, just edit [[MediaWiki:Common.js]]. Example: http://en.wikipedia.org/wiki/MediaWiki:Common.js
Add an onload handler that checkes if you're editing a talk page, then add a click handler on the save button. That handler then checks the edit box for "~~~" and throws a dialog like "No signature detected, save anyway?".
Cheers, Magnus
much I have to learn, fortunately I'm willing to... Sorry Magnus, how do add these onload handler and click handler, if I may?
2010/1/18 Magnus Manske magnusmanske@googlemail.com
On Mon, Jan 18, 2010 at 4:35 PM, Tech Geek techgeek12345@gmail.com wrote:
Magnus,
A simple JavaScript could check if there's ~~~ in the edit box when saving a talk page, and alert you if there's not.
Looks like this might work. Where do you exactly put this javascript? Do
I
have to install some kind of extension which will let me add my own javascript or should I modify the main mediawiki files?
No extension needed, just edit [[MediaWiki:Common.js]]. Example: http://en.wikipedia.org/wiki/MediaWiki:Common.js
Add an onload handler that checkes if you're editing a talk page, then add a click handler on the save button. That handler then checks the edit box for "~~~" and throws a dialog like "No signature detected, save anyway?".
Cheers, Magnus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org