https://bugzilla.wikimedia.org/show_bug.cgi?id=55276
Web browser: ---
Bug ID: 55276
Summary: weblinkchecker should ignore URLs inside some tags,
part 2
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1164/
Reported by: djbarrett
Created on: 2010-04-12 18:33:11
Subject: weblinkchecker should ignore URLs inside some tags, part 2
Assigned to: xqt
Original description:
This is a followup to \[pywikipediabot-Bugs-1969051\] \"weblinkchecker should
ignore URLs inside some tags\"
The fix in pyrev:8076 by xqt is appreciated, but not an appropriate solution.
The particular tag I listed in the ticket, \"<sql>\", was just an
example. The fix by xqt simply hard-coded this example \(bogus\) tag into the
Pywikipedia source code:
svn diff -c8076 http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia
A better fix would be to recognize when you are reading a tag attribute:
<AnyTagGoesHere ... attr=\'http://whatever\' ...>
\{\{AnyTemplateOrParserFunction | attr=http://whatever
and ignore the URL in these situations.
$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r8050, 2010/04/01, 15:43:14\)
Python 2.4.3 \(\#1, Sep 3 2009, 15:37:37\)
\[GCC 4.1.2 20080704 \(Red Hat 4.1.2-46\)\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55269
Web browser: ---
Bug ID: 55269
Summary: weblinkchecker.py don't report death links
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1207/
Reported by: Anonymous user
Created on: 2010-07-08 12:06:18
Subject: weblinkchecker.py don't report death links
Original description:
version.py:
Pywikipedia \[http\] trunk/pywikipedia \(r8347, 2010/07/08, 06:47:27\)
Python 2.6.1 \(r261:67515, Feb 11 2010, 00:51:29\)
\[GCC 4.2.1 \(build 5646\)\]
config-settings:
use\_api = True
use\_api\_login = True
weblinkchecker.py is correctly searching for death links, but -talk would not
reporting them on talk page, only the help text would be prompted. Already
waited 8 days and executed -repeat 4 times. The links are listed in the
deadlinks file.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55233
Web browser: ---
Bug ID: 55233
Summary: Weblinkchecker reports live links as dead
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1352/
Reported by: hiw
Created on: 2011-09-26 22:35:45
Subject: Weblinkchecker reports live links as dead
Original description:
The weblinkchecker.py reported several web links as dead due to additional
braces at the end of the url.
\- http://de.wikipedia.org/wiki/Diskussion:DARC\_\(Protein\)
e.g:
Article:
<ref name="pmid19290478">\{\{cite journal |author=Horne K, Woolley IJ
|title=Shedding light on DARC: the role of the Duffy antigen/receptor for
chemokines in inflammation, infection and malignancy |journal=Inflamm. Res.
|volume=58 |issue=8 |pages=431–5 |year=2009 |month=August |pmid=19290478
|doi=10.1007/s00011-009-0023-9
|url=http://dx.doi.org/10.1007/s00011-009-0023-9\}\}</ref>
Response by pywikipedia on talk page:
Dead link found:
http://dx.doi.org/10.1007/s00011-009-0023-9\}\}
version.py
Pywikipedia \[http\] trunk/pywikipedia \(r9558, 2011/09/25, 20:30:54\)
Python 2.7.2 \(default, Jun 24 2011, 12:21:10\) \[MSC v.1500 32 bit \(Intel\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
Using Active Python with Microsoft Windows XP \[Version 5.1.2600\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54551
Web browser: ---
Bug ID: 54551
Summary: weblinkchecker exclude webarchive
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/592/
Reported by: masti01
Created on: 2013-01-31 09:16:41
Subject: weblinkchecker exclude webarchive
Original description:
Exclude webArchive from checked links as this is already archived
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55312
Web browser: ---
Bug ID: 55312
Summary: delinker doesn't understand line breaks
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/851/
Reported by: multichill
Created on: 2009-02-08 14:20:27
Subject: delinker doesn't understand line breaks
Original description:
An image got deleted and the delinker tried to remove it, but the image had a
line break in the description. Result:
http://nl.wikipedia.org/w/index.php?title=De\_Speelman&diff=prev&oldid=1541…
multichill@nightshade:~/pywikipedia$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r6334, Feb 06 2009, 16:42:40\)
Python 2.5.2 \(r252:60911, Jan 4 2009, 21:59:32\)
\[GCC 4.3.2\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57877
Web browser: ---
Bug ID: 57877
Summary: removing custom sortkey while moving cat
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: category.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: hercule.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Hello,
I ran category.py to move Catégorie:WikiGnome to Catégorie:Utilisateur
WikiGnome on fr.wiki. This evening someone point me an unespected removal of
custom sortkey :
https://fr.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:WikiGnome&curid=5…
I update my git daily. This evening my version.pyt output is :
Pywikibot: [https] r/pywikibot/compat (r10559, 341ed66, 2013/12/01, 19:41:39,
OUTDATED)
Release version: 1.0b1
Python: 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55003
Web browser: ---
Bug ID: 55003
Summary: claimit.py sample: add option for entry of coordinates
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/343/
Reported by: apac1
Created on: 2013-08-29 03:52:55.400000
Subject: claimit.py sample: add option for entry of coordinates
Original description:
Add the currently unsupported datatype
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64879
Bug ID: 64879
Summary: Port selflink.py to core
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Blocks: 55880
Web browser: ---
Mobile Platform: ---
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=62094
Bug ID: 62094
Summary: Cannot pickle Page objects
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Web browser: ---
Mobile Platform: ---
import pickle
import pywikibot
p = pywikibot.Page(pywikibot.Site('de'), 'user:Xqt/Test')
laFile = open('la.data', 'wb')
pickle.dump(p, laFile)
laFile.close()
causes the following error in core whereas it works in compat:
c:\Pywikipedia\core>pwb.py la2
Traceback (most recent call last):
File "C:\Pywikipedia\core\pwb.py", line 143, in <module>
run_python_file(fn, argv, argvu)
File "C:\Pywikipedia\core\pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "C:\Pywikipedia\core\scripts\la2.py", line 9, in <module>
pickle.dump(p, laFile)
File "C:\Python27\lib\pickle.py", line 1370, in dump
Pickler(file, protocol).dump(obj)
File "C:\Python27\lib\pickle.py", line 224, in dump
self.save(obj)
File "C:\Python27\lib\pickle.py", line 331, in save
self.save_reduce(obj=obj, *rv)
File "C:\Python27\lib\pickle.py", line 419, in save_reduce
save(state)
File "C:\Python27\lib\pickle.py", line 286, in save
f(self, obj) # Call unbound method with explicit self
File "C:\Python27\lib\pickle.py", line 649, in save_dict
self._batch_setitems(obj.iteritems())
File "C:\Python27\lib\pickle.py", line 663, in _batch_setitems
save(v)
File "C:\Python27\lib\pickle.py", line 331, in save
self.save_reduce(obj=obj, *rv)
File "C:\Python27\lib\pickle.py", line 419, in save_reduce
save(state)
File "C:\Python27\lib\pickle.py", line 286, in save
f(self, obj) # Call unbound method with explicit self
File "C:\Python27\lib\pickle.py", line 649, in save_dict
self._batch_setitems(obj.iteritems())
File "C:\Python27\lib\pickle.py", line 663, in _batch_setitems
save(v)
File "C:\Python27\lib\pickle.py", line 331, in save
self.save_reduce(obj=obj, *rv)
File "C:\Python27\lib\pickle.py", line 419, in save_reduce
save(state)
File "C:\Python27\lib\pickle.py", line 286, in save
f(self, obj) # Call unbound method with explicit self
File "C:\Python27\lib\pickle.py", line 649, in save_dict
self._batch_setitems(obj.iteritems())
File "C:\Python27\lib\pickle.py", line 663, in _batch_setitems
save(v)
File "C:\Python27\lib\pickle.py", line 306, in save
rv = reduce(self.proto)
File "C:\Python27\lib\copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle lock objects
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
c:\Pywikipedia\core>
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58789
Web browser: ---
Bug ID: 58789
Summary: page.Save() does not support sysop parameter
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Classification: Unclassified
Mobile Platform: ---
In compat, page.Save can be passed sysop=True to force a sysop edit; in core,
the edit just errors out:
"pywikibot.exceptions.PageNotSaved: [[MediaWiki:Gadget-false-blue-links.js]]:
protectednamespace-interface: You're not allowed to
edit interface messages"
--
You are receiving this mail because:
You are the assignee for the bug.