Last modified: 2011-03-13 18:04:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2831, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 831 - mail-to-wiki gateway: allow adding or creation of pages through SMS or E-Mail
mail-to-wiki gateway: allow adding or creation of pages through SMS or E-Mail
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Mail-t...
:
: 1675 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-05 18:28 UTC by Aníbal Freytes
Modified: 2011-03-13 18:04 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aníbal Freytes 2004-11-05 18:28:35 UTC
I would like to propose the following idea

Basically, the ability for a user to add pages to the wiki by the way of sending
e-mail messages to it, or sms messages from a mobile phone, and receive a
response back.

I do not know if this feature is actually useful for wikipedia, but it could be
for those running private or personal wikis. 

Detailed:
Any user can send a new entry to the wiki with the subject of the mail or sms
message the name of the entry and the wiki formatted body of the message
becoming the new page's content. The system could then process the entry and
accept or deny it, replying with the outcome as such: confirmation if the page
was added or a text of the current page if it was not.
Comment 1 T. Gries 2005-03-21 20:09:46 UTC
I have such a program _ready_ . Please watch this bugzilla when I submit the
code (in short time)
Tom
It is tested for MediaWiki 1.3.7, 1.3.10. and 1.5 (soon for 1.4.0)
Comment 2 JeLuF 2005-03-21 20:43:48 UTC
*** Bug 1675 has been marked as a duplicate of this bug. ***
Comment 3 Brion Vibber 2005-03-21 21:08:16 UTC
This sounds like it would be a huge spam magnet.
Comment 4 T. Gries 2005-03-21 21:10:28 UTC
(In reply to comment #3)
> This sounds like it would be a huge spam magnet.

Brion,
you _might_ be right. It is meant for Intranet-Wikis, not for wikipedia.
Tom
Comment 5 T. Gries 2005-03-21 21:12:29 UTC
(In reply to comment #3)
> This sounds like it would be a huge spam magnet.

Secret codewords need to be placed into the mail to "open then gate". otherwise,
the mail doesn't do anything
Comment 6 T. Gries 2005-03-21 21:17:22 UTC
Changed the title to add the technical term "gateway":
because also _reading_ of wiki pages via e-mail will become possible; get
wikipage as mail by triggering this by an e-mail.
Comment 7 T. Gries 2005-03-21 21:24:30 UTC
For special applications, such as "dumping" backup log or status messages to a
wiki page and to allow users to simply send mail to a wiki page, instead of
editing, we developed a script (bot) editpage.php.

Basically, the idea of mail-to-wiki is not new, see for example [1], [2].

The script can be run 

* from commandline with parameters
* can read from a file or
* from stdin.

The latter allows to commence script execution from a simple call via POSTIFX ->
PROCMAIL -> .procmailrc

Commands are placed into the first lines of the mail; the currently implemented
commands are

* append the mail body to a wiki page (default), append:page
* prepend the mail body to a wiki page prepend:page
* create a new wiki page create:page

A keyword Summary: allows to define an wiki edit summary; if summary is empty,
the mail _Subject_ is copied as edit summary and appears in recent changes (as
usual).

The code is stable, tested for Mediawiki 1.3.7, 1.3.11, CVS HEAD 1.5. It works
with both the new and old edit collision detection
mechanisms, because it takes care of wpEdittime _and_ wp EditToken and treats
them both for user convenience.

References, which also show mail-to-wiki gateways:

[1] http://collab.blueoxen.net/cgi-bin/wiki.pl?Mail2wiki#nid1GA
[2] http://c2.com/cgi/wiki?CvWiki

My first version is ready for download, it works with 1.3.7, 1.3.10, 1.5 (1.4
currently untested).

Download from http://www.tgries.de/mw/editpage.php (current version 1.14)
Description: http://meta.wikimedia.org/wiki/Mail-to-wiki_gateway

Tom
Comment 8 T. Gries 2005-03-22 00:14:31 UTC
Bot frameworks added for reference purpose only:

* http://sourceforge.net/projects/pywikipediabot in Python and
* http://sourceforge.net/projects/phpwikipediabot in PHP (new; by Tomer)
Comment 9 T. Gries 2005-03-23 21:08:53 UTC
Summary: filename changed, no further changes

I had chosen a name for my script (editpage.php), which is in use for the main
script (mediawiki/includes/editpage.php). 

Today, I renamed my script to editpagebot.php to avoid any confusion. The zipped
file has been renamed to 
http://www.tgries.de/mw/editpagebot.tgz (still version 1.14).
Comment 10 T. Gries 2005-03-30 21:43:42 UTC
addition to list of references:
http://doc.tikiwiki.org/tiki-index.php?page_ref_id=142 TikiWiki: The Wiki
mail-in feature

Added for tracking purposes. My script editpagebot.php also knows the proposed
functions (except wiki-get, which fetches a wiki page via mail. This is
currently not implemented).
Comment 11 Chad H. 2010-04-16 11:34:20 UTC
(In reply to comment #3)
> This sounds like it would be a huge spam magnet.

Agreed. WONTFIX.
Comment 12 T. Gries 2010-04-16 11:39:18 UTC
> (In reply to comment #11)
> > This sounds like it would be a huge spam magnet.
not necessarily, when a token is used, sent along the mail.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links