நூலகம்:தானியங்கிகள்

From நூலகம்

இந்த பக்கத்தில் நூல்கம் விக்கியில் தானியங்கியை பயன்படுத்துவதற்கான வழிமுறைகள் விவரிக்கப்பட்டுள்ளன.

pywikipedia தானியங்கிகளை பயன்படுத்துதல்

இவ்வகையான தானியங்கிகளை குறித்த அடிப்படை தகவல்களுக்கு காண்க தமிழ் விக்கிப்பீடியா தானியங்கிகள் பக்கம்.

இவ்வகையான விக்கிப்பீடியாவுக்காக உருவாக்கப்பட்ட தானியங்கிகளை பிற விக்கிமீடியா அல்லாத திட்டங்களுக்கு பயன்படுத்த சில மாறுதல்களை இந்த Frameworkல் செய்ய வேண்டும். காண்க: மெட்டா விக்கி: பைவிக்கிப்பீடியா தானியங்கிகளை பிற திட்டங்களுக்கு பயன்படுத்துதல்

நூல்கம் திட்டத்துக்கான Family பைத்தான் கோப்பான noolaham_family.py கீழ்கண்டவாறு இயற்றல் வேண்டும். பின்னர் இந்த கோப்பை families என்ற கோப்புறைக்குள் இட வேண்டும்


# -*- coding: utf-8  -*-

import family

# The official Noolaham Wiki.

class Family(family.Family):
    def __init__(self):
        family.Family.__init__(self)

        self.name = 'noolaham'

        self.langs = {
                'ta': 'noolaham.net',
        }
        self.namespaces[4] = {
            '_default': [u'நூலகம்', self.namespaces[4]['_default']],
        }
        self.namespaces[5] = {
            '_default': [u'நூலகம் பேச்சு', self.namespaces[5]['_default']],
        }

        self.content_id = "mainContent"

    def RversionTab(self, code):
        return r'<li\s*><a href=".*?title=.*?&action=history".*?>.*?</a></li>'

    def version(self, code):
        return "1.10.1"

    def path(self, code):
        return '/wiki/index.php'

user-config.py பைத்தான் கோப்பை, கீழ்க்கண்டவாறு Configure செய்தல் வேண்டும்


mylang = 'ta'
family= 'noolaham'
usernames['noolaham']['ta'] = u'VinodhBOT'
sysopnames['noolaham']['ta']= u'Vinodh.vinodh' # நிர்வாகியாக இருந்தால் மட்டுமே இதை இணைக்கவும்

படிமங்களை வகைப்படுத்த பயன்படுத்தப்பட்ட தானியங்கி பைத்தான் நிரல்

#!/usr/bin/python
# -*- coding: utf-8  -*-
"""
This bot appends Category

"""
__version__ = '$Id: unusedfiles.py 4538 2007-11-13 17:19:12Z leogregianin $'

import wikipedia
import pagegenerators
import sys

comment = {
    'ta': u'Adding Category:Bookcover',
    'he': u'תמונות להסרה',
    'pt': u'marcação de imagens para eliminação',
    }

def appendtext(page, apptext):
    try:
        text = page.get()
    except wikipedia.IsRedirectPage:
        return
    # Here go edit text in whatever way you want. If you find you do not  (he meant "Here you can go editing...")
    # want to edit this page, just return
    text = apptext;
    if text != page.get():
        wikipedia.showDiff(page.get(),text)
        msg = wikipedia.translate(wikipedia.getSite(), comment)
        page.put(text, msg)

def main():
    for arg in wikipedia.handleArgs():
        start.append(arg)

    mysite = wikipedia.getSite()
    # If anything needs to be prepared, you can do it here

    basicgenerator = pagegenerators.PrefixingPageGenerator('image:')
    generator = pagegenerators.PreloadingGenerator(basicgenerator)
    for page in generator:
        #print page.title()
        #if '<table id="mw_metadata" class="mw_metadata">' not in page.getImagePageHtml() and 'http://' not in page.get():
            wikipedia.output(u'\n' + page.title())
            appendtext(page,u'{{bookcover}}')

if __name__ == "__main__":
    try:
        main()
    finally:
        wikipedia.stopme()

அனைத்து படிமங்களையும் ஒரே பகுப்பில் இட வேண்டி இருந்ததால், இப்பணி மிக இலகுவாக மேற்கண்ட நிரல் மூலம் செய்யப்பட்டது.

Total : 180,013 | Total : 6,408,685

Type of Documents : Project Noolaham [131,130] Multimedia Archive [48,347] Tamil Manuscripts [752]

Information Resource Type : Books [22,140] Magazines [18,158] Newspapers [73,107] Pamphlets [1,524] Souvenir [7,579] Memorial Books [3,002] Reports [5,725]

Categories : Authors [9,719] Publishers [7,826] Year of Publication [239]

Reference Resources : Key Words [123] Organizations [1,968] People [3,440] Portals [25]

Special Collections : Muslim Archive [3,565] | Upcountry Archive [1,507] | Women Archive [2,071]

Sister Projects : Pallikoodam - Open Educational Resources [23,276] | Project Vaasihasaalai [59] | Early Tamil Works [5,769] | Educational Resources During Disaster [5]

Special Collections : Kilinochchi Documentation [1845] | Trincomalee Documentation [2113] | Ampara Documentation [1256]

Sister Projects : Jaffna Public Library Digitization [3,954] | Tamil Manuscripts [752] | History of Medicine in Northern Sri Lanka Collection [350] | Jaffna Hindu Ladies' College Digitization [283] |Eelam Related Tamil's Documents in Tamil Nadu India [122] |Thillainathan Muththupillai Collection [164] | Constitutional Reform Proposals Made by Tamils [142] | Case Briefs in Relation to Crimes [48] |

Sister Projects : Project WERC [116] | International Centre for Ethnic Studies [148] | Indegenous people [311] | | Malay and Jawi Collection [71] | Jaffna University Community Medicine [46] | Jaffna Newspapers [34,758] | Ariyalai [441] | Mallikai [442] | Uthayan [13,989] |Uthayan Newspaper Library [3,139] | Panchangam Documentation [143] | Jaffna Prostestant Documentation [324] | Jaffna University Library [10,669] | Project Evelyn Ratnam [2596] | Caste in Sri Lanka [115] [2297] | Multimedia Archive [1129] | Tamil Documentation Conference 2013 ] | William Digby [191] |


நூலக நிறுவனத்திற்கு நிதிப்பங்களிப்பு செய்து உதவுங்கள் | நூலகத்திற்குப் பங்களிக்க