Talk:WikiApiary: Difference between revisions

7 bytes removed ,  30 March 2022
m
Line 1: Line 1:
==Possible improvements==
==Possible improvements==
"For MediaWiki sites on WikiIndex it would be really cool to be able to feed a live infobox from WikiApiary with data on usage. Some sort of Widget or something." So, should WikiApiary push the data to WikiIndex, or should WikiIndex pull the data from WikiApiary? [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 12:33, 6 January 2014 (UTC)
"For MediaWiki sites on WikiIndex it would be really cool to be able to feed a live infobox from WikiApiary with data on usage. Some sort of Widget or something." So, should WikiApiary push the data to WikiIndex, or should WikiIndex pull the data from WikiApiary? [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 12:33, 6 January 2014 (UTC)
:Push: bots? Pull: [[mw:Extension:Scribunto]]? Or [[Special:Gadgets]]? --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 14:02, 6 January 2014 (UTC)
:Push: bots? Pull: {{Mw|Extension:Scribunto}}? Or [[Special:Gadgets]]? --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 14:02, 6 January 2014 (UTC)
::Hmm, I don't know how you would implement it using either of those. The backend would need to be figured out too; what database table would this data be stored in? [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 14:03, 6 January 2014 (UTC)
::Hmm, I don't know how you would implement it using either of those. The backend would need to be figured out too; what database table would this data be stored in? [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 14:03, 6 January 2014 (UTC)
:::Bots: as 'text' on WikiIndex directly; [[mw:Extension:Scribunto|Scribunto]]: page cache on WikiIndex; Gadgets: Client cache (the viewers ourselves get the data; probably not a good idea). --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 14:11, 6 January 2014 (UTC)
:::Bots: as 'text' on WikiIndex directly; {{Mw|Extension:Scribunto|Scribunto}}: page cache on WikiIndex; Gadgets: Client cache (the viewers ourselves get the data; probably not a good idea). --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 14:11, 6 January 2014 (UTC)
::::Bots could also push to a different API module that allows access to a database table(s) just for this data. Pushing to wikitext could be kinda brittle theoretically, although I think in practice the pages are standardized enough that it might work. Another advantage of using a separate table is that it could make data retrieval by API easier and less brittle too.
::::Bots could also push to a different API module that allows access to a database table(s) just for this data. Pushing to wikitext could be kinda brittle theoretically, although I think in practice the pages are standardized enough that it might work. Another advantage of using a separate table is that it could make data retrieval by API easier and less brittle too.


::::A disadvantage is that it could get pretty complex if we want to save a history of all the changes made to that data. We already have a system in place that saves old revisions of pages. This is pretty much the conondrum any time it's proposed to store more data in a wiki (see, e.g., [https://bugzilla.wikimedia.org/show_bug.cgi?id=59665 bug 59665]). Sometimes you can do a mix of both; e.g. [[mw:Extension:BedellPenDragon]] enables the saving of a new revision to change data in the [[mw:Manual:Page_props table|page props table]]. [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 11:09, 7 January 2014 (UTC)
::::A disadvantage is that it could get pretty complex if we want to save a history of all the changes made to that data. We already have a system in place that saves old revisions of pages. This is pretty much the conondrum any time it's proposed to store more data in a wiki (see, e.g., [https://Bugzilla.Wikimedia.org/show_bug.cgi?id=59665 bug 59665]). Sometimes you can do a mix of both; e.g. {{Mw|Extension:BedellPenDragon}} enables the saving of a new revision to change data in the {{Mw|Manual:Page props table|page props table}}. [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 11:09, 7 January 2014 (UTC)


Before going down the Scribunto route, you guys need to get [[User:DennouNeko]] to weigh in on this conversation (for his Lua experience).  And I would specifically ask what implications this would have on server loading.  Don't forget that WikiIndex is basically personally funded by [[RayKing]] – whereas many of the MediaWiki extensions are designed for mega-bucks server infrastructure of Wikimedia Foundation and/or Wikia.  [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 22:26, 6 January 2014 (UTC)
Before going down the Scribunto route, you guys need to get [[User:DennouNeko]] to weigh in on this conversation (for his Lua experience).  And I would specifically ask what implications this would have on server loading.  Don't forget that WikiIndex is basically personally funded by [[RayKing]] – whereas many of the MediaWiki extensions are designed for mega-bucks server infrastructure of Wikimedia Foundation and/or Wikia.  [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 22:26, 6 January 2014 (UTC)
Line 13: Line 13:
Also, are either of you proficient with graphics?  [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 22:26, 6 January 2014 (UTC)
Also, are either of you proficient with graphics?  [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 22:26, 6 January 2014 (UTC)
:No, I'm more of a backend person. [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 00:34, 7 January 2014 (UTC)
:No, I'm more of a backend person. [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 00:34, 7 January 2014 (UTC)
:<s>Graphics can be generated by svg. And I can make a script do that with the help of [[mw:Extension:Scribunto/Lua reference manual]] (why do we have to ping others?). But the only thing I'm worried about is the server load (I've seen WikiIndex down twice recently) & probably <s>Scribunto cannot access external sources<!-- </s> --> (needs either luacurl or luasocket installed). --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 09:19, 7 January 2014 (UTC)</s> Wait --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 10:40, 7 January 2014 (UTC)
:<s>Graphics can be generated by svg. And I can make a script do that with the help of {{Mw|Extension:Scribunto/Lua reference manual}} (why do we have to ping others?). But the only thing I'm worried about is the server load (I've seen WikiIndex down twice recently) & probably <s>Scribunto cannot access external sources<!-- </s> --> (needs either luacurl or luasocket installed). --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 09:19, 7 January 2014 (UTC)</s> Wait --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 10:40, 7 January 2014 (UTC)


First, what graphs do we need? Pages, edits? --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 10:49, 7 January 2014 (UTC)
First, what graphs do we need? Pages, edits? --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 10:49, 7 January 2014 (UTC)
:YiFei - sorry, I don't need graphs!  I was wondering who could create a new link exchange banner for us here on WikiIndex.  It would be similar to the 'Monitored by WikiApiary' — but we would need it to be something like 'Indexed on WikiIndex'.  Can you do that, with embedded html please?  Best [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 17:14, 7 January 2014 (UTC)
:YiFei - sorry, I don't need graphs!  I was wondering who could create a new link exchange banner for us here on WikiIndex.  It would be similar to the 'Monitored by WikiApiary' — but we would need it to be something like 'Indexed on WikiIndex'.  Can you do that, with embedded html please?  Best [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 17:14, 7 January 2014 (UTC)
::I think it would be best to post these requests to [http://lists.thingelstad.com/cgi-bin/mailman/listinfo/wikiapiary-l wikiapiary-l]; the more people we make aware, the higher the odds that we'll get the best result in the end (assuming we don't run into [[wikipedia:The Mythical Man-Month|triple-M]] problems). [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 17:17, 7 January 2014 (UTC)
::I think it would be best to post these requests to [http://lists.thingelstad.com/cgi-bin/mailman/listinfo/wikiapiary-l wikiapiary-l]; the more people we make aware, the higher the odds that we'll get the best result in the end (assuming we don't run into {{Wp|The Mythical Man-Month|triple-M}} problems). [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 17:17, 7 January 2014 (UTC)


::You mean 'Monitored by WikiApiary' & 'Indexed on WikiIndex' banner? Why does it needs data pushing/pulling? It can be done directly on php. --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 23:23, 7 January 2014 (UTC)
::You mean 'Monitored by WikiApiary' & 'Indexed on WikiIndex' banner? Why does it needs data pushing/pulling? It can be done directly on php. --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 23:23, 7 January 2014 (UTC)
Line 25: Line 25:
:How about asking some of my admin friends on Commons for help on this? Probably they can do it. --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 06:29, 9 January 2014 (UTC)
:How about asking some of my admin friends on Commons for help on this? Probably they can do it. --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 06:29, 9 January 2014 (UTC)
::Sure, if they don't mind :-))  You could also ask them if they'd be interested in helping out here on WikiIndex ;/  [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 23:19, 10 January 2014 (UTC)
::Sure, if they don't mind :-))  You could also ask them if they'd be interested in helping out here on WikiIndex ;/  [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 23:19, 10 January 2014 (UTC)
:::My self-made version: [[:File:Indexed_On_WikiIndex.svg]] (don't trust WikiIndex's svg converter); PNG alternative: [[:File:Indexed_On_WikiIndex.png]]. --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 11:07, 12 January 2014 (UTC)
:::My self-made version: [[:File:Indexed On WikiIndex.svg]] (don't trust WikiIndex's svg converter); PNG alternative: [[:File:Indexed On WikiIndex.png]]. --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 11:07, 12 January 2014 (UTC)
::::Thanks, they both look good, but the png version looks sharper.  You need to have a lower-case 'o' in the 'on' - as in 'Indexed on WikiIndex'.  Can you try another version, without the keys (the keys are generally lost on anyone who isn't a WikiIndex regular)?  Maybe replace the keys on the left with a two-row 'indexed on' (both lowercase), and on the right just have a larger font for 'WikiIndex'.  Also, can you try a .jpg version?  Appreciate your great work, best regards :-))  [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 10:58, 13 January 2014 (UTC)
::::Thanks, they both look good, but the png version looks sharper.  You need to have a lower-case 'o' in the 'on' - as in 'Indexed on WikiIndex'.  Can you try another version, without the keys (the keys are generally lost on anyone who isn't a WikiIndex regular)?  Maybe replace the keys on the left with a two-row 'indexed on' (both lowercase), and on the right just have a larger font for 'WikiIndex'.  Also, can you try a .jpg version?  Appreciate your great work, best regards :-))  [[User:Hoof Hearted|Sean, aka <small>Hoof Hearted</small>]] • <sub>[[:Category:Active administrators of this wiki|Admin]] / [[WikiIndex:Bureaucrats|'Crat]]</sub> • <small>[[User talk:Hoof Hearted|talk2HH]]</small> 10:58, 13 January 2014 (UTC)
:::::v2 uploaded (I guess I like v1 better), <s>I'll convert to jpg later</s> (as it's not supported by Inkscape) --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 11:47, 13 January 2014 (UTC)
:::::v2 uploaded (I guess I like v1 better), <s>I'll convert to jpg later</s> (as it's not supported by Inkscape) --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 11:47, 13 January 2014 (UTC)
:::::jpg does not support transparency & is very blurred for such a small image. --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 11:59, 13 January 2014 (UTC)
:::::jpg does not support transparency & is very blurred for such a small image. --[[YiFei]] | <small>[[User talk:Zhuyifei1999|talk]]</small> 11:59, 13 January 2014 (UTC)