Difference between revisions of "Forum:Add UnNetHack source code in Source namespace"
Jump to navigation
Jump to search
Bulwersator (talk | contribs) (Created page with "{{Forumheader|Watercooler}} <!-- Please put your content under this line. Be sure to sign your edits with four tildes ~~~~ --> This would allow providing references in arti...") |
(Not sure about the "on the wiki" bit, though I like the idea. Some kind of refsrc parameter would probably work, though.) |
||
Line 4: | Line 4: | ||
This would allow providing references in articles. [[User:Bulwersator|Bulwersator]] ([[User talk:Bulwersator|talk]]) 20:56, 25 January 2013 (UTC) | This would allow providing references in articles. [[User:Bulwersator|Bulwersator]] ([[User talk:Bulwersator|talk]]) 20:56, 25 January 2013 (UTC) | ||
+ | |||
+ | :Doing this might be slightly problematic as keeping all versions might be a lot of data ("all versions" as in "all revisions", which might be necessary to reference things in the most recent version). I thought about this at some point but discarded the thought, but: perhaps a MediaWiki extension could work? I'm not sure whether such a thing exists or whether it would be helpful, though. | ||
+ | :The UnNetHack source is also [http://sourceforge.net/apps/trac/unnethack/browser viewable using the web]. It might not be the nicest way, but I think I could get [[Template:Refsrc]] (and, for non-references, [[Template:Sourcecode]]) to allow parameters like <tt><nowiki>{{refsrc|monst.c|42|game=UnNetHack|changeset=1032}}</nowiki></tt> (or something like that) and target that source browser for now. If another solution (that allows to target a specific changeset) is later introduced, [[Template:Refsrc]] could be adjusted. —[[User:bcode|bcode]] <sup>[[User talk:bcode|talk]] | [[Special:EmailUser/Bcode|mail]]</sup> 21:54, 25 January 2013 (UTC) |
Revision as of 21:54, 25 January 2013
This would allow providing references in articles. Bulwersator (talk) 20:56, 25 January 2013 (UTC)
- Doing this might be slightly problematic as keeping all versions might be a lot of data ("all versions" as in "all revisions", which might be necessary to reference things in the most recent version). I thought about this at some point but discarded the thought, but: perhaps a MediaWiki extension could work? I'm not sure whether such a thing exists or whether it would be helpful, though.
- The UnNetHack source is also viewable using the web. It might not be the nicest way, but I think I could get Template:Refsrc (and, for non-references, Template:Sourcecode) to allow parameters like {{refsrc|monst.c|42|game=UnNetHack|changeset=1032}} (or something like that) and target that source browser for now. If another solution (that allows to target a specific changeset) is later introduced, Template:Refsrc could be adjusted. —bcode talk | mail 21:54, 25 January 2013 (UTC)