π
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First Gist .. | |
Just checking how it works .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
β pywikibot-core git:(standardize_interwiki) β python pwb.py scripts/standardize_interwiki.py | |
Loading $1... | |
$1 is a redirect! | |
Loading $IP... | |
$IP is a redirect! | |
Loading $dbr... | |
$dbr is a redirect! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
β pywikibot-core git:(piper) β python scripts/piper.py -filter:cat -filter:'tr A-Z a-z' -filter:'tr a-z A-Z' Wikipedia:Sandbox | |
WARNING: /home/innovator/pywikibot-core/pywikibot/family.py:900: FamilyMaintenanceWarning: Family name wikimediachapter does not match family module name wikimedia | |
Retrieving 1 pages from wikipedia:en. | |
>>> Sandbox <<< | |
@@ -1,3 +1,3 @@ | |
- {{Pp-semi-protected|small=yes}}{{Pp-move-indef}} | |
- {{Active editnotice}} <!-- See [[Wikipedia:Editnotice]] --> | |
- {{Selfref|For the Wikipedia feature, where anyone can experiment with editing Wikipedia pages, see [[Wikipedia:Sandbox]] or [[Wikipedia:About the Sandbox]].}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
β pywikibot-core git:(warnfile) β python pwb.py scripts/warnfile.py -lang:'test' -family:'test' | |
Parsing warnfile... | |
Traceback (most recent call last): | |
File "pwb.py", line 222, in <module> | |
run_python_file(filename, argv, argvu, file_package) | |
File "pwb.py", line 81, in run_python_file | |
main_mod.__dict__) | |
File "./scripts/warnfile.py", line 147, in <module> | |
main() | |
File "./scripts/warnfile.py", line 144, in main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def linkedPagesthroughcontentparsing(self, namespace=namespace, withImageLinks=False): | |
result = [] | |
try: | |
thistxt = textlib.removeLanguageLinks(self.get(get_redirect=True), site=self.site) | |
except pywikibot.NoPage: | |
raise | |
except pywikibot.IsRedirectPage: | |
raise | |
except pywikibot.SectionError: | |
return [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
β pywikibot-core git:(copyright) β python pwb.py scripts/copyright/copyright_clean.py -lang:test -family:test -cat:'!Requests' | |
[[Https://en.wikipedia.org/wiki/Desuban]] | |
[[Wikipedia:Requests]] | |
[[Wikipedia:Requests/Bot status]] | |
[[Wikipedia:Requests/Bot status/AkBot]] | |
[[Wikipedia:Requests/Bot status/Alch Bot]] | |
[[Wikipedia:Requests/Bot status/Botozor]] | |
[[Wikipedia:Requests/Bot status/de-bot - January, 2012] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
β pywikibot-core git:(copyright) β python pwb.py scripts/copyright/copyright.py -lang:test -family:test -start:! | |
WARNING: You don't have set a Yahoo AppID, search engine is disabled. | |
WARNING: You don't have set a Google Web API license key, search engine is disabled. | |
Retrieving 40 pages from test:test. | |
115116 | |
A B C | |
% | |
16474 | |
A | |
A bugzilla 04951 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
π | |
γ...γ | |
π - alpha | |
Retrieving 1 pages from meta:meta. | |
WARNING: preloadpages: Query returned unexpected title 'Template talk:Square root B' | |
Search engine | number of queries | |
--------------------------------- | |
Google | 0 | |
Yahoo! | 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "pwb.py", line 213, in <module> | |
run_python_file(filename, argv, argvu, file_package) | |
File "pwb.py", line 82, in run_python_file | |
main_mod.__dict__) | |
File "./scripts/interwiki.py", line 2645, in <module> | |
main() | |
File "./scripts/interwiki.py", line 2620, in main | |
bot.run() | |
File "./scripts/interwiki.py", line 2360, in run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
β pywikibot-core git:(standardize_interwiki) β python pwb.py scripts/standardize_interwiki.py -lang:test -family:test | |
Loading !... | |
No interwiki found. | |
Loading %... | |
WARNING: /home/innovator/pywikibot-core/pywikibot/family.py:900: FamilyMaintenanceWarning: Family name wikimediachapter does not match family module name wikimedia | |
Traceback (most recent call last): | |
File "pwb.py", line 213, in <module> | |
run_python_file(filename, argv, argvu, file_package) |
OlderNewer