Code Monkey home page Code Monkey logo

wpstubs's Introduction

wpstubs

Tweets about new Wikipedia articles with an invitation to contribute to them using hashtags selected based upon WikiProject templates on talkpages.

A very quick implementation based on this proposal.

Tweeting now as @wpstubs!

How to use

  • Clone the repo
  • cd wpstubs
  • npm install
  • cp config.json.example config.json
  • modify config.json with credentials
  • node app.js
  • yay!

Deploying on wmflabs

  • ssh {username}@trusty.tools.wmflabs.org -y
  • become {project}
  • mkdir wpstubs && cd wpstubs
  • git clone https://github.com/theopolisme/wpstubs.git
  • npm install
  • jstart -once -continuous -N wpstubs -mem 1G node /data/project/{project}/wpstubs/wpstubs/app.js

wpstubs's People

Contributors

theopolisme avatar dartar avatar phuedx avatar

Stargazers

Danish Aziz avatar Stefan R. Grotz avatar Konstantinos avatar Stefano Costa avatar  avatar Daniel Mietchen avatar Jodi Schneider avatar Alfredo Serafini avatar Stephen LaPorte avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar Daniel Mietchen avatar Konstantinos avatar  avatar Thomas Niebler avatar  avatar  avatar

Forkers

dartar saviaga

wpstubs's Issues

I Used This ONE COOL TRICK To Get More Likes and Retweets

Try searching for the article title on Twitter and using the most popular hashtag from the results. It's riskier, in that you might end up using an offensive hashtag or missing the context or using a hashtag that actually is unrelated to the topic... but more often than not, this approach works pretty well. @FixmeBot has gotten quite a bit more engagement since implementing it.

Here's how I did it in Ruby: https://github.com/ragesoss/FixmeBot/blob/master/app/main/twitter_client.rb#L12

Add a guided tour parameter to outgoing links

Adding a ?gettingStartedReturn=true parameter to the WP link will trigger an onboarding worfklow (on editable pages) which should help new users find their way through the editing process.

WikiProject blacklist

Coordination projects should be blacklisted so they do not generate hashtags, e.g. #Articlesforcreation

Message wording

I realized that the wording used in the tweets ("Someone just created a Wikipedia article about X") is misleading: there's often a considerable lag between the article creation and its inclusion in a WikiProject. "Someone created X a Wikipedia article about X" is much safer :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.