PAWS/Library
Appearance
< PAWS
Cross-noteboook imports
[edit]- User:EpochFail/import_example.ipynb imports the
example_utility()
function from User:EpochFail/exampleutil.ipynb - User:YuviPanda/NamespaceEdits.ipynb imports the
sql()
function from User:YuviPanda/replicahelper.ipynb
LabsDB access
[edit]- User:YuviPanda/replicahelper implements an
sql()
method for querying the replicas - User:YuviPanda/examples/revisions-sql demonstrates a simple query to the
revision
table
Library usage
[edit]pywikibot
[edit]- Running a bot script
- Processing XML dumps
- API querying
mediawiki-utilities
[edit]- Processing XML dumps
- link_count_changes.ipynb demonstrates how to use
mwxml
to extract interesting edits from historical XML dumps
- MediaWiki API
- talk_queries.ipynb demonstrates how to use
mwapi
to query for page history
- Detecting reverts
- Calculating content persistence
revscoring
[edit]- feature_engineering.ipynb demonstrates how to extract features and engineer new features
- reverted_detection_demo.ipynb trains a vandalism detector from scratch and demonstrates use