Latest Posts

Topic: French Widelands website

kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2433
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2016-01-07, 10:33

With a sidebox (additional on the right side) i see several problems:

  • There are already four boxes there: Donate, Social media (shrinked if AdBlock is enbaled), Online users and Last Posts.
    The last box (Latest Post) couldn't be seen en bloc depending on the amount of last posts. One has to scroll to see all last posts. If we add here an additional box, where should it be displayed? Beneath last post box?
  • You say the content could automatically read from a wikipage. Yes, that could probably coded. But, currently there is no appropriate content in the Links Page. So this is future talk.
  • Automatic reading from a wikipage has also the disadvantage of having bad links in it without notice. "Bad links" means here someone adds links to the wikipage pointing to criminal or porn sites. We all know that links could be masked so that everyone sees widelands.fr but the link points to somewhere else. Having such a link on the main page isn't nice.

In my opinion it is currently(!) not worth the work to make such a side box, because we have no content for it. Make your website, gather other links, change the wikipage accordingly. After that we could discuss how to implement the content of the wikipage in the best way again face-smile.png


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
Vassili
Avatar
Joined: 2013-10-12, 19:19
Posts: 169
Ranking
At home in WL-forums
Location: France
Posted at: 2016-01-07, 14:08

All files at http://bazaar.launchpad.net/~widelands-dev/widelands/trunk/files/head:/i18n/fonts/Widelands/ and http://bazaar.launchpad.net/~widelands-dev/widelands/trunk/files/7693/i18n/fonts/Widelands can't be downloaded, that give me no name 0 bytes files (application/octet-stream).

Edited: 2016-01-07, 14:11

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2433
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2016-01-07, 15:38

Those files are also shipped with every download of the game. Just look into the folders where the game is installed. Linux or Windows?


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-01-07, 15:40

Seems like downloading binaries from the Launchpad repository website is a problem. You will find Widelands.ttf in your Widelands installation though, e.g. is you installed Widelands to ~/Widelands, the file will be in ~/Widelands/i18n/fonts/Widelands


Busy indexing nil values

Top Quote
Vassili
Avatar
Joined: 2013-10-12, 19:19
Posts: 169
Ranking
At home in WL-forums
Location: France
Posted at: 2016-01-07, 15:40

Found in C:\Program Files (x86)\Widelands\fonts\Widelands , but that don't explain why your launchpad refuse to give it.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-01-07, 15:42

Cross-posted...

You will have to ask Canonical Ltd. about the download on Launchpad not working - maybe they also already have an open bug for it. Their bug tracker: https://bugs.launchpad.net/launchpad


Busy indexing nil values

Top Quote
freem

Joined: 2012-07-03, 08:25
Posts: 32
Ranking
Pry about Widelands
Posted at: 2016-01-08, 06:17

Hi. I do not come on widelands.org often (maybe once every 2-3 months), and usually I do not login, but this thread made me thinks that I should. My post will be long, and I can't guarantee I will reply to people replying.

First, for Vassili, there is something you must remember when talking with people: "Always assume good faith". In French: "Toujours considérer la bonne foi.". This is not always simple, but very important. People over the Internet does not always have the same proficiency in the language they use, and different countries also mean different cultures. For having participated on a multinational mailing list (debian-user. This mailing-list experience really have improved my diplomacy when I am not talking to other French people, I must admit.) for more than a year, I can assure you that it regularly causes problems when people fail to assume good faith. Things are even worse when people try to make jokes (of any sort). Do not take this as if I though I am better, I myself failed to do this more than once (not here of course, since I am not a widelands community member).

The other reasons is about the idea of publishing external links. Improving the source code of the website to support translations would obviously be the best, but contributing is usually harder than "forking" (whatever might be the reason of the fork), because it requires interactions with more people. And managing interactions between people is hard. Plus, starting with a "clean" (but, clean for who? according to which standards? etc) codebase often sounds easier. My opinion is that it becomes worse when the stack imply a framework written in a different language. Here, I think I have understood that widelands.org website is written with Django, which is, IIRC, a python framework? Since you seems to only know PHP, yes, it would mean that you would need to learn python. I do not know what your interest to learn PHP was, so I can't say a lot (don't know how many time you have too), except that when you know a programming paradigm, it is relatively easy to read and modify things in other languages sharing the same paradigm. At work, I sometime fixed PHP code errors in less than a day, without knowing the codebase, while I am mostly a C++ programmer (and I do not like websites). You only know a way to quickly search for a text string in a ton of files and to read some code snippets from the same project. Adding features is more complex, though, since you have to write actual code from nowhere, and it usually becomes worse when a framework is involved, in my opinion.

Now, the idea of a box fed by some wiki page should be easier, but there are issues, as said previously: the page must be guaranteed to exists and to be safe. Depending on the wiki software, it might or might not be good. But I know that, on some wikis, it is possible to lock some pages so that only several people can update it. If it is possible with wiki used by widelands.org, then locking a page so that it would be guaranteed to always exists and not be polluted by external "contributors" would be the way to go. About the freshness of informations... I guess the only solution is to send mails by cron to a team, to be sure that this team think to update it from time to time. Automatic updates of external websites is not doable easily, except maybe if they provide some RSS stream. Plus, such automatic updates would avoid the content to be safe (what if the target of the link has been compromised?).

Can't help more on that topic. I'm not a webdev, and will probably never be since I tend to hate languages with GCs and which are not statically typed. Yes, it means a lot of languages face-smile.png (but I do some exception for shell scripting). Good luck.

PS: it seems the JS is very, very slow with vivaldi (a browser based on chromium) when logging in and posting. Can't say why, maybe it's because of a vivaldi issue.

Edited: 2016-01-08, 06:21

Top Quote
Dishito
Avatar
Joined: 2014-11-30, 01:04
Posts: 39
Ranking
Pry about Widelands
Location: Argentina
Posted at: 2016-01-08, 15:35

Hi!

Ammm...I have used Vivaldi yesterday and I use Opera as common browser...I have seen the problem when I go to publish something. I don't know if is chromium, mi internet or the page.


Top Quote
einstein13
Avatar
Joined: 2013-07-29, 00:01
Posts: 1118
Ranking
One Elder of Players
Location: Poland
Posted at: 2016-01-08, 16:18

I guess that this is page. Sometimes I have problem to load any page (high traffic?). But for me it is minor problem face-wink.png I am patient then.


einstein13
calculations & maps packages: http://wuatek.no-ip.org/~rak/widelands/
backup website files: http://kartezjusz.ddns.net/upload/widelands/

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-01-08, 21:02

When you submit a post, it sometomes becomes slow, especially with new threads. I usually open the site again in a new tab to double-check that my post has gone through and contiune working.


Busy indexing nil values

Top Quote