Andre Engels | 1 Nov 16:40 2006
Picon
Picon

pywikipedia wikipedia.py,1.758,1.759

Update of /cvsroot/pywikipediabot/pywikipedia
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8035

Modified Files:
	wikipedia.py 
Log Message:
Important bugfix in adding interwikis when there is an <includeonly> on the page. Everyone using
interwiki.py is advised to update to this version immediately!

Index: wikipedia.py
===================================================================
RCS file: /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v
retrieving revision 1.758
retrieving revision 1.759
diff -C2 -d -r1.758 -r1.759
*** wikipedia.py	24 Oct 2006 12:48:07 -0000	1.758
--- wikipedia.py	1 Nov 2006 15:40:00 -0000	1.759
***************
*** 1,3 ****
- 
  # -*- coding: utf-8  -*-
  """
--- 1,2 ----
***************
*** 2139,2144 ****
                  pass
              # Is there any text in the 'after' part that means we should keep it after?
!             if "</noinclude>" in s2[firstafter:]:
!                 newtext = s2[:firstafter+1] + s + s2[firstafter+1:]
              elif site.language() in site.family.categories_last:
(Continue reading)

SourceForge.net | 1 Nov 17:01 2006
Picon
Picon

[ pywikipediabot-Bugs-1588665 ] followlive.py is completely broken

Bugs item #1588665, was opened at 2006-11-01 08:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1588665&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: followlive.py is completely broken

Initial Comment:
Followlive.py no longer runs at all, besides its former behaivour of running and not actually doing
anything. The following is the trackback:

Checked for running processes. 1 processes currently running, including the current process.
Traceback (most recent call last):
  File "followlive.py", line 233, in ?
    bot.run()
  File "followlive.py", line 213, in run
    for (page, date, length, loggedIn, username, comment) in wikipedia.getSite().newpages(100, repeat = True):
ValueError: need more than 4 values to unpack

(Continue reading)

SourceForge.net | 1 Nov 18:25 2006
Picon
Picon

[ pywikipediabot-Patches-1588727 ] sorting the featured-template beside the interwiki

Patches item #1588727, was opened at 2006-11-01 17:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1588727&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mandavi (mandavi)
Assigned to: Nobody/Anonymous (nobody)
Summary: sorting the featured-template beside the interwiki

Initial Comment:
The interwiki-script moves all the {{Link FA|xx}}
templates to the top of the interwikis. In that way,
one needs longer to search for the template, the source
gets more lines and is therefore less comfortable to
edit and you don't see the templage when you look at
the interwiki.

The provided script looks for the templates and sorts
them accordingly right beside the interwiki. In case it
is necessary to move them first up to run the
interwikiscript, the provided code can be added to the end.
(Continue reading)

SourceForge.net | 1 Nov 18:28 2006
Picon
Picon

[ pywikipediabot-Bugs-1588728 ] {{link FA|xx}} are beeing moved away from the interwiki

Bugs item #1588728, was opened at 2006-11-01 17:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1588728&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mandavi (mandavi)
Assigned to: Nobody/Anonymous (nobody)
Summary: {{link FA|xx}} are beeing moved away from the interwiki

Initial Comment:
The templates {{link FA|xx}} get moved by the
interwiki.py to the top of the interwikis. that is not
nice - i've provided a patch - find it in patches.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1588728&group_id=93107

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
(Continue reading)

Andre Engels | 1 Nov 23:37 2006
Picon
Picon

pywikipedia wikipedia.py,1.759,1.760

Update of /cvsroot/pywikipediabot/pywikipedia
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2089

Modified Files:
	wikipedia.py 
Log Message:
Completing the previous bugfix (sorry)

Index: wikipedia.py
===================================================================
RCS file: /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v
retrieving revision 1.759
retrieving revision 1.760
diff -C2 -d -r1.759 -r1.760
*** wikipedia.py	1 Nov 2006 15:40:00 -0000	1.759
--- wikipedia.py	1 Nov 2006 22:37:16 -0000	1.760
***************
*** 2292,2296 ****
                  pass
              # Is there any text in the 'after' part that means we should keep it after?
!             if "</noinclude>" in s2[firstafter:]:
                  newtext = s2[:firstafter+1] + s + s2[firstafter+1:]
              elif site.language() in site.family.categories_last:
--- 2292,2296 ----
                  pass
              # Is there any text in the 'after' part that means we should keep it after?
!             if "</noinclude>" in s2[firstafter:] and firstafter < 0:
                  newtext = s2[:firstafter+1] + s + s2[firstafter+1:]
              elif site.language() in site.family.categories_last:

(Continue reading)

Andre Engels | 2 Nov 11:11 2006
Picon
Picon

pywikipedia/families wikipedia_family.py, 1.125, 1.126

Update of /cvsroot/pywikipediabot/pywikipedia/families
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26260/families

Modified Files:
	wikipedia_family.py 
Log Message:
Disambiguation templates

Index: wikipedia_family.py
===================================================================
RCS file: /cvsroot/pywikipediabot/pywikipedia/families/wikipedia_family.py,v
retrieving revision 1.125
retrieving revision 1.126
diff -C2 -d -r1.125 -r1.126
*** wikipedia_family.py	18 Oct 2006 21:35:17 -0000	1.125
--- wikipedia_family.py	2 Nov 2006 10:11:46 -0000	1.126
***************
*** 302,306 ****
              'fa':  [u'ابهام‌زدایی'],
              'fi':  [u'Täsmennyssivu', u'Disambig'],
!             'fr':  [u'Homonymie'],
              'frp': [u'Homonimos'],
              'fy':  [u'Tfs',u'Neibetsjuttings'],
--- 302,306 ----
              'fa':  [u'ابهام‌زدایی'],
              'fi':  [u'Täsmennyssivu', u'Disambig'],
!             'fr':  [u'Homonymie',u'Paronymie'],
              'frp': [u'Homonimos'],
              'fy':  [u'Tfs',u'Neibetsjuttings'],
***************
(Continue reading)

SourceForge.net | 5 Nov 12:20 2006
Picon
Picon

[ pywikipediabot-Patches-1590762 ] Patch for chrash during message-refresh

Patches item #1590762, was opened at 2006-11-05 12:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1590762&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: tuvic (tuvic)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for chrash during message-refresh

Initial Comment:
Since a few days/weeks, my bot would constantly chrash
while trying to update the mediawiki_messages.

While doing a bot-run on a few thousand pages
yesterday, this got really annoying, so I searched why
the bot chrashed.

It turns out that the SpecialAllmessages.php-file was
changed some time ago, and this had an effect on
double/single quotes. 

(Continue reading)

SourceForge.net | 5 Nov 12:22 2006
Picon
Picon

[ pywikipediabot-Patches-1583131 ] refresh_messages exits unless it finds messages

Patches item #1583131, was opened at 2006-10-23 22:19
Message generated for change (Comment added) made by tuvic
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1583131&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Steve Sanbeg (sanbeg)
Assigned to: Nobody/Anonymous (nobody)
Summary: refresh_messages exits unless it finds messages

Initial Comment:
Unless the mediawiki installation uses the database
message translation, special:allmessages is unavailable.

In this case, the bot should either the the individual
message it needs from MediaWiki: namespace, or just use
a default.

Instead, it calls sys.exit()!  This means that a script
that deletes page would exit after every delete!

This patch changes it to raise an exception, so at
(Continue reading)

Elly Waterman | 5 Nov 20:55 2006
Picon

possible interwiki.py bot exentsion

I have an idea for an extension of the interwiki.py bot with an additional 
feature, e.g. to add {{commonscat|pagename}} and {{commons|page}} links to 
all interwikied pages. Does anybody have comments on this suggestion? And 
would anybody like to program this? The bot is running very often, and this 
would it make a little bit more usefull than it already is.

Regards, Ellywa 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Daniel Herding | 6 Nov 16:07 2006
Picon
Picon

pywikipedia/families wikipedia_family.py, 1.126, 1.127

Update of /cvsroot/pywikipediabot/pywikipedia/families
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1387/families

Modified Files:
	wikipedia_family.py 
Log Message:
added disamb template for li:
fixed cs: and da: namespaces

Index: wikipedia_family.py
===================================================================
RCS file: /cvsroot/pywikipediabot/pywikipedia/families/wikipedia_family.py,v
retrieving revision 1.126
retrieving revision 1.127
diff -C2 -d -r1.126 -r1.127
*** wikipedia_family.py	2 Nov 2006 10:11:46 -0000	1.126
--- wikipedia_family.py	6 Nov 2006 15:07:40 -0000	1.127
***************
*** 212,216 ****
              'ca': u'Portal Discussió',
              'cs': u'Portál diskuse',
!             'da': u'Portal diskussion',
              'de': u'Portal Diskussion',
              'eo': u'Portala diskuto',
--- 212,216 ----
              'ca': u'Portal Discussió',
              'cs': u'Portál diskuse',
!             'da': u'Portaldiskussion',
              'de': u'Portal Diskussion',
              'eo': u'Portala diskuto',
(Continue reading)


Gmane