Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Mar 2005
    Location
    Spokane, WA
    Posts
    148
    Thanks
    4
    Thanked 4 Times in 4 Posts

    PHP MediaWiki Bot

    I found some starting code here: http://wikisum.com/w/User:Adam/Creat...ki_bots_in_PHP

    about creating a PHP MediaWiki Bot, but I need help customizing it.

    Fortunatley, the bot is simple.

    I need it to check Project:Sandbox check the source to see if it has been modified from its default version, if so restore it to the default version. Then I will run the bot via cron jobs to reset the Sandbox page every few hours.

  • #2
    Regular Coder
    Join Date
    Mar 2005
    Location
    Spokane, WA
    Posts
    148
    Thanks
    4
    Thanked 4 Times in 4 Posts
    any ideas on how do do this?

    This the the defualt page content

    <!-- PLEASE DO NOT EDIT THIS --> {{Sandbox Head}}
    <!-- THE SANDBOX IS PURGED EVERY 12 HOURS BUT OTHER USERS MAY REMOVE CONTENT BEFORE THEN -->
    <!-- PLEASE DO NOT PLACE COPYRIGHTED, OFFENSIVE, OR LIBELOUS CONTENT HERE ->
    <!-- YOU MAY BEGIN EDITING BELOW THIS LINE -->


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •