Skip to content

ahmetlii/GununMaddesi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 2.7 License: MIT

Günün maddesi

Eğer günün maddesi oluşturulmamış ise geçmiş günlerden rastgele bir GM sayfası seçip onun içeriği ile sayfayı oluşturur.

Kurulum

  • .pass dosyası içerisine kullanıcı adı ve şifresi kaydedilir
  • deneme.py içerisinde username güncellenerek çalıştırılır. Deneme sayfası üzerinde test yapılır
  • GununMaddesi.py içerisinde username güncellenerek çalıştırılır. Program test edilir
  • Programı her gece otomatik çalıştırmak için ToolsForge üzerine aşağıdaki cron komutu düzenlenerek kaydedilir.
35 23 * * *   /usr/bin/jsub    -N Vikipedi-GununMaddesi        -once -quiet python /data/project/mavrikant/GununMaddesi/GununMaddesi.py

Uyarılar

Login methodu artık deprecated olduğu için uyarı vermekte. Şimdilik çalışsa da gelecekte değiştirilmeli.

"warnings": {
    "login": {
        "*": "Main-account login via \"action=login\" is deprecated and may stop working without warning. To continue login with \"action=login\", see [[Special:BotPasswords]]. To safely continue using main-account login, see \"action=clientlogin\"."
    },
    "main": {
        "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application."
    }
}

Geliştiriciler

License

  • This project is licensed under the terms of the MIT License
  • Copyright © 2015 M. Serdar Karaman

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%