Template talk:Wiki: Difference between revisions

Jump to navigation Jump to search
216 bytes removed ,  22 November 2012
Line 243: Line 243:
== Other useful parameters ==
== Other useful parameters ==


For populating the [[mw:Manual:interwiki table|interwiki table]], it would also be useful to have parameters for [[mw:Manual:Interwiki_table#iw_prefix|iw_prefix]], [[mw:Manual:Interwiki_table#iw_url|iw_url]], and [[mw:Manual:Interwiki_table#iw_api|iw_api]]. iw_url can probably be inferred in many cases from the recentchanges URL, or maybe there is some other way that an automated script can figure it out. iw_api could be a bit trickier in some cases, since some people store it in /w/, others store it in /mediawiki/, and others don't use any subfolder. There are any number of possibilities. But there might be a way to figure that out too using automated scripts.
For populating the [[mw:Manual:interwiki table|interwiki table]], it would also be useful to have parameters for [[mw:Manual:Interwiki_table#iw_prefix|iw_prefix]], [[mw:Manual:Interwiki_table#iw_url|iw_url]], and [[mw:Manual:Interwiki_table#iw_api|iw_api]]. iw_url can probably be inferred in many cases from the recentchanges URL, or maybe there is some other way that an automated script can figure it out. iw_api can be figured out via RSD discovery.


There is quite a lot of data that can be harvested from wikis using [[mw:API:Meta]], and which could be pushed into this template or into another template. That extra data need not even be visible when the template is rendered; in other words, those parameters don't need to actually be used by that template. It could just be there for the benefit of those who use bots to obtain data about wikis. An alternative is that I could just store it in the interwiki whitelist. Perhaps it's better if WikiIndex mostly just have data that requires human intervention to gather, leaving the bot-gathered stuff for other wikis.
There is quite a lot of data that can be harvested from wikis using [[mw:API:Meta]], and which could be pushed into this template or into another template. That extra data need not even be visible when the template is rendered; in other words, those parameters don't need to actually be used by that template. It could just be there for the benefit of those who use bots to obtain data about wikis. An alternative is that I could just store it in the interwiki whitelist. Perhaps it's better if WikiIndex mostly just have data that requires human intervention to gather, leaving the bot-gathered stuff for other wikis.
1,756

edits

Navigation menu