Tim Doyle | 2 Jun 2006 04:44

RE: Pagefromfile.py Question

Can anyone help me with #2 below? Why am I unable to create valid #REDIRECT
pages using pagefromfile.py?

Thank you!

Tim Doyle

-----Original Message-----
From: pywikipediabot-users-admin <at> lists.sourceforge.net
[mailto:pywikipediabot-users-admin <at> lists.sourceforge.net] On Behalf Of Tim
Doyle
Sent: Wednesday, May 24, 2006 9:38 AM
To: pywikipediabot-users <at> lists.sourceforge.net
Subject: [pyWikipediaBot-users] Pagefromfile.py Question

I am attempting to create a set of redirect pages on my wiki and I am having
a few problems.

Here are the issues that I am encountering:

1. Why do the titles of the pages to be created have to be included in the
contents of the page? I know the hack is to put it in a comment, but why
doesn't the file that the script reads from just use a format such as
{{-titlestart-}}title{{-titlestop-}} and
{{-contentstart-}}contents{{-contentstop-}}?

2. Even if I move the commented title line below the #REDIRECT statement and
create the page that way, the redirect isn't a true redirect until I
manually edit and save the page. Is there some interpretation to make it a
real redirect which happens via the interface that isn't happening via the
(Continue reading)

SourceForge.net | 2 Jun 2006 07:16
Picon
Favicon

[ pywikipediabot-Bugs-1499297 ] selflink.py- improved keybinding

Bugs item #1499297, was opened at 2006-06-01 22:16
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=1499297&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: Interface (example)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: selflink.py- improved keybinding

Initial Comment:
When using selflink.py, I sometimes need more context than it gives by default (a default which should be
increased, IMO, as should the default for solve-disambiguation, and category.py's "tidy" options
doesn't even show anything at all by default! You have to explicity ask, via ?, which doesn't even match the
other scripts keybindings); but short of manually going to the page in question, selflink offers no 'm' or
'?' binding to show more context. One would be nice. -maru (marudubshinki <at> gmail.com)

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

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

-------------------------------------------------------
(Continue reading)

Cyde Weys | 2 Jun 2006 08:00
Picon

pywikipedia selflink.py,1.6,1.7

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

Modified Files:
	selflink.py 
Log Message:
A quick hack thrown together to satisfy Marudubshinki's request for more
context when trying to resolve selflinks.  This patch adds an option to
input a question mark to get a lot more surrounding context on the selflink
in question.

Index: selflink.py
===================================================================
RCS file: /cvsroot/pywikipediabot/pywikipedia/selflink.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** selflink.py	2 May 2006 14:36:20 -0000	1.6
--- selflink.py	2 Jun 2006 06:00:47 -0000	1.7
***************
*** 58,61 ****
--- 58,62 ----
          # how many bytes should be displayed around the current link
          context = 90
+         moreContext = 400
          comment = wikipedia.translate(wikipedia.getSite(), msg)
          wikipedia.setAction(comment)
***************
*** 84,88 ****
                          colors = [None for c in text[max(0, m.start() - context) : m.start()]] + [12 for c in text[m.start() :
(Continue reading)

Leonardo Gregianin | 2 Jun 2006 14:31
Picon

pywikipedia catall.py,1.26,1.27

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

Modified Files:
	catall.py 
Log Message:
show text with gui

Index: catall.py
===================================================================
RCS file: /cvsroot/pywikipediabot/pywikipedia/catall.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** catall.py	2 May 2006 14:28:29 -0000	1.26
--- catall.py	2 Jun 2006 12:31:07 -0000	1.27
***************
*** 27,31 ****
      'ia': 'Alteration de categorias',
      'nl': 'Verandering van categorieen',
!     'pt': 'Alterando categoria',
      'sr': 'Измена категорија',
      }
--- 27,31 ----
      'ia': 'Alteration de categorias',
      'nl': 'Verandering van categorieen',
!     'pt': 'Categorizando',
      'sr': 'Измена категорија',
      }
***************
(Continue reading)

SourceForge.net | 2 Jun 2006 16:23
Picon
Favicon

[ pywikipediabot-Bugs-1499297 ] selflink.py- improved keybinding

Bugs item #1499297, was opened at 2006-06-02 01:16
Message generated for change (Comment added) made by leogregianin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1499297&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: Interface (example)
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Leonardo Gregianin (leogregianin)
Summary: selflink.py- improved keybinding

Initial Comment:
When using selflink.py, I sometimes need more context than it gives by default (a default which should be
increased, IMO, as should the default for solve-disambiguation, and category.py's "tidy" options
doesn't even show anything at all by default! You have to explicity ask, via ?, which doesn't even match the
other scripts keybindings); but short of manually going to the page in question, selflink offers no 'm' or
'?' binding to show more context. One would be nice. -maru (marudubshinki <at> gmail.com)

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

>Comment By: Leonardo Gregianin (leogregianin)
Date: 2006-06-02 10:23

Message:
(Continue reading)

SourceForge.net | 2 Jun 2006 16:25
Picon
Favicon

[ pywikipediabot-Bugs-1499565 ] Special:Newpages

Bugs item #1499565, was opened at 2006-06-02 10:25
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=1499565&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
Submitted By: Leonardo Gregianin (leogregianin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Special:Newpages

Initial Comment:
Regex of the Special:Newpages in wikipedia.py is not
functioning.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1499565&group_id=93107
Leonardo Gregianin | 2 Jun 2006 20:12
Picon

pywikipedia imagetransfer.py,1.57,1.58

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

Modified Files:
	imagetransfer.py 
Log Message:
* Mistakes that I made in the last version.
* I do not know to introduce {{nowCommonsThis}} template separate for languages.

Index: imagetransfer.py
===================================================================
RCS file: /cvsroot/pywikipediabot/pywikipedia/imagetransfer.py,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** imagetransfer.py	27 May 2006 14:07:45 -0000	1.57
--- imagetransfer.py	2 Jun 2006 18:12:39 -0000	1.58
***************
*** 54,57 ****
--- 54,62 ----
  }

+ nowCommonsThis = {
+     'en': u'{{NowCommonsThis|%s}}',
+     'pt': u'{{NowCommonsThis|%s}}',
+ }
+ 
  nowCommonsMessage = {
      'de': u'Datei ist jetzt auf Wikimedia Commons verfügbar.',
***************
(Continue reading)

Cyde Weys | 2 Jun 2006 21:00
Picon

pywikipedia catmove.pl,1.4,1.5

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

Modified Files:
	catmove.pl 
Log Message:
Improved thread handling, more comments, cleaner code.

Index: catmove.pl
===================================================================
RCS file: /cvsroot/pywikipediabot/pywikipedia/catmove.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** catmove.pl	30 May 2006 21:34:42 -0000	1.4
--- catmove.pl	2 Jun 2006 19:00:52 -0000	1.5
***************
*** 17,23 ****
  # worth of WP:CFD backlog with a single execution.

  my $editSummary = '';
  my $customSummary = 0;
! my $throttle = 10;
  if ($#ARGV >= 0) {
      $customSummary = 1;
--- 17,28 ----
  # worth of WP:CFD backlog with a single execution.

+ #Necessary for thread handling.
+ use POSIX ":sys_wait_h";
(Continue reading)

SourceForge.net | 2 Jun 2006 21:26
Picon
Favicon

[ pywikipediabot-Bugs-1499752 ] category.py's tidy doesn't provide context

Bugs item #1499752, was opened at 2006-06-02 12:26
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=1499752&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: Interface (example)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py's tidy doesn't provide context

Initial Comment:
When using category.py's tidy command on [[Category:Free software]], I noticed that *none* of the
article one is attempting to improve the categorization of is displayed by default; one has to manually
ask to see any of the article. Unless one is intimately familiar with all members of a category, just the
title alone is insufficient to categorize. It'd be peachy keen if'n by default (kinda like for
solve-disambiguation.py) category.py's tidy showed some of the article by default.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1499752&group_id=93107
SourceForge.net | 2 Jun 2006 23:55
Picon
Favicon

[ pywikipediabot-Bugs-1499824 ] Problem with router

Bugs item #1499824, was opened at 2006-06-02 23:55
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=1499824&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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Klemen Kocjancic (klemenkocjancic)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with router

Initial Comment:
Hi!

I've been using Python Wikipedia Robot (KocjoBot) for a
long time, but now I've problem. I recently started
using router to connect to internet. Since then I can't
use Python Wikipedia Robot (Python itself is working
fine). I can't login, nothing.

I suspect that this is problem with router. But how I
should fix this?

I'm using Windows XP Pro SP2 and router Planet XRT-401D.
(Continue reading)


Gmane