Skip to content
zackmann08Public

About

A series of MediaWiki bots

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Get first pages in

response = client.query(list: 'categorymembers', cmtitle: '', cmlimit: )

Get the names of the pages

response.data["categorymembers"].map{ |p| p["title"]}

response = client.query(list: 'categorymembers', cmtitle: 'Category:Pages using deprecated coordinates format', cmlimit: 1000)

Notes

  • If getting Encoding::CompatibilityError the solution is to force the encoding to be UTF-8
    • text.force_encoding('UTF-8')

TODOs

  • Rewrite update_needs_infobox to use MW api to get category list.
  • Figure out how to capture links in a template if they include "|".
    • I.E. "| name = [[John Smith|Johny boy]] | location = [[Utah]]" should capture all of the name and stop before location
    • Should be similar to the regex used for infoboxes {{}}

Ideas

About

A series of MediaWiki bots

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages