Pywikibot/Use on non-WMF wikis: Difference between revisions
Content deleted Content added
No edit summary |
Billinghurst (talk | contribs) m Billinghurst moved page Pywikipediabot/Use on non-WMF wikis to Pywikibot/Use on non-WMF wikis: align to preferred name |
||
(150 intermediate revisions by 53 users not shown) | |||
Line 1: | Line 1: | ||
{{MovedToMediaWiki|Manual:{{PAGENAME}}}} |
|||
The pywikipedia bot may be used to do all kind of things that are important for the maintenance of a [[mediawiki]] project. When this software is to be used outside of the [[wikimedia]] projects, some configuration needs to be done. |
|||
===Example=== |
|||
The '''meta_family.py''' is the "family" definition for a project that is internally only one database. Therefore it is most likely the one to copy for an external project. The name of the new file must be "YourProject"_family.py where "YourProject" is the name of your project. When you open this file with a text-editor, there are a few things you need to change: |
|||
*name = 'meta' |
|||
::'meta' must be "YourProject" and must be the same as the language you indicate in [[user-config.py]]. |
|||
*self._addlang('meta', |
|||
::'meta' must be the same as the language you indicate in '''user-config.py'''. |
|||
*location = 'meta.wikimedia.org', |
|||
::meta.wikimedia.org must be the URL that is used for your project. |
|||
*namespaces = { 4: u'Meta', |
|||
::'Meta' is the namespace of your project typically it is the name of your project |
|||
*5: u'Meta talk' }) |
|||
::'Meta talk' is the name of the talk namespace indicated in the previous point. |
|||
===Wikitravel=== |
|||
*For the [[Wikitravel]] projects (non wikimedia projects) there is already a family created. It is an example with a different way of naming projects. |
|||
[[Category:Pywikipedia]] |
Latest revision as of 12:11, 5 February 2014
This page has been moved to Manual:Pywikibot/Use on non-WMF wikis on mediawiki.org.
Any modifications or additions to this page should be made on mediawiki.org instead. |