Template talk:Wiki: Difference between revisions

Jump to navigation Jump to search
Line 243: Line 243:
== Other useful fields ==
== Other useful fields ==


For populating the [[mw:Manual:interwiki table|interwiki table]], it would also be useful to have fields 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.
For populating the [[mw:Manual:interwiki table|interwiki table]], it would also be useful to have fields 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.


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. [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 22:45, 21 November 2012 (PST)
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. [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 22:45, 21 November 2012 (PST)
1,756

edits

Navigation menu