π
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
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:(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
β 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:(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
First Gist .. | |
Just checking how it works .. |
NewerOlder