Permalink
Browse files

README

COPYING
GPLv3 headers in all .rb files


git-svn-id: svn://78.47.249.61/ruby-mediawiki/trunk@72 ba9c31aa-a806-0410-9a81-9f13d15ee83b
  • Loading branch information...
1 parent 24d958d commit 9330c0a9e96869602b43d9073734974b1284a43c astro committed Oct 23, 2007
View
674 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
View
60 README
@@ -0,0 +1,60 @@
+Ruby-MediaWiki 0.1
+------------------
+------------------
+
+A library to retrieve and modify content managed by the popular
+MediaWiki software.
+
+
+AUTHORS
+=======
+
+Sven Klemm
+Stephan Maka
+Mike Gerber
+Michael Witrant
+
+(patches go to stephan@spaceboyz.net)
+
+
+LICENSE
+=======
+
+Distributed under the GNU General Public License version 3, see the
+COPYING file.
+
+
+USAGE
+=====
+
+Ruby-MediaWiki relies on a configuration file with URLs, user account
+details and per-agent settings in YAML. The sample mediawikirc.sample
+should be rather self-explanatory.
+
+There are various environment variables for easy usage:
+
+* MEDIAWIKI_RC - location of the configuration file
+ (default: ~/.mediawikirc)
+* MEDIAWIKI_WIKI - which section of the configuration file to use
+ (default is the one set in the `default' key)
+* MEDIAWIKI_DEBUG - if set, set the log level to DEBUG
+
+Quick start:
+------------
+ruby-mediawiki % export RUBYLIB=`pwd`/lib
+ruby-mediawiki % export MEDIAWIKI_RC=mediawikirc.sample
+ruby-mediawiki % export MEDIAWIKI_WIKI=wpde
+ruby-mediawiki % ruby apps/wikicat.rb Arschgeweih
+
+
+RESOURCES
+=========
+
+German description:
+ https://wiki.c3d2.de/Ruby-MediaWiki
+
+RDoc to Wiki:
+ https://wiki.c3d2.de/Ruby-MediaWiki/Documentation
+
+SVN repository:
+ svn://svn.c3d2.de/ruby-mediawiki/trunk
View
@@ -1,4 +1,21 @@
#!/usr/bin/env ruby
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
$:.unshift('../lib')
require 'postgres'
View
@@ -1,3 +1,22 @@
+#!/usr/bin/env ruby
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
require 'yaml'
$:.unshift('../lib')
require 'mediawiki/dotfile'
View
@@ -1,4 +1,21 @@
#!/usr/bin/env ruby
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
$:.unshift('../lib')
View
@@ -1,4 +1,22 @@
#!/usr/bin/env ruby
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
# this bot expects a fully functional local pentabarf installation
View
@@ -1,4 +1,22 @@
#!/usr/bin/env ruby
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
require 'yaml'
require 'rdoc/ri/ri_reader'
View
@@ -1,4 +1,22 @@
#!/usr/bin/env ruby
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
$:.unshift('../lib')
require 'mediawiki/dotfile'
View
@@ -1,4 +1,22 @@
#!/usr/bin/env ruby
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
$:.unshift('../lib')
require 'mediawiki/dotfile'
View
@@ -1,4 +1,22 @@
#!/usr/bin/env ruby
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
$:.unshift('../lib')
require 'mediawiki/dotfile'
View
@@ -1,3 +1,21 @@
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
##
# =Ruby-MediaWiki - manipulate MediaWiki pages from Ruby.
#
View
@@ -1,3 +1,21 @@
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
begin
require 'htree'
rescue LoadError
View
@@ -1,3 +1,21 @@
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
require 'rexml/document'
require 'mediawiki/article'
View
@@ -1,3 +1,21 @@
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
require 'yaml'
require 'mediawiki'
@@ -1,3 +1,21 @@
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
require 'net/http'
require 'net/https'
require 'cgi'
@@ -1,3 +1,21 @@
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
require 'mediawiki/article'
module MediaWiki
View
@@ -1,3 +1,21 @@
+=begin
+ This file is part of Ruby-MediaWiki.
+
+ Ruby-MediaWiki is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ Ruby-MediaWiki is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Ruby-MediaWiki. If not, see
+ <http://www.gnu.org/licenses/>.
+=end
+
module MediaWiki

0 comments on commit 9330c0a

Please sign in to comment.