Project

General

Profile

Actions

Task #1988

closed

Redirects from hub.libreoffice.org to ask.libreoffice.org

Added by Olivier Hallot over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Webserver
Target version:
Team - Q4/2016
Start date:
Due date:
% Done:

0%

Tags:

Description

From discussions on hard-coded external links int the c++ code we need to implement the following redirects

hub.libreoffice.org/ask/<lang> -> ask.libreoffice.org/<lang>/questions

Special case of France
hub.libreoffice.org/ask/fr -> http://forum.openoffice.org/fr/forum

Current avalilable languages
Arabic (4)
German (642)
English (16,910)
Spanish (478)
Croatian (2)
Italian (184)
Japanese (77)
Korean (20)
Portuguese (984)
Romanian (12)

Actions #1

Updated by Christian Lohmaier over 7 years ago

  • Category set to Webserver
  • Status changed from New to Feedback
  • Assignee set to Christian Lohmaier
misconceptions:
  • hub.libreoffice.org/foo/<lang> is not what would be used from within LO - rather LO should pass parameters like the send-feedback one would do (something like LOversion=5.1.1.3&LOlocale=es&LOmodule=DrawingDocument) - so URLs should just be hub.libreoffice.org/something
  • having it "ask", but directing to something else for fr already, and only having ask available already shows it is a badly chosen generic URL (see also my comment on https://gerrit.libreoffice.org/#/c/27028/ - that menu item should not have askbot in mind, for that too few languages make use of it, rather it should be some more generic term)
  • for a site like ask, having dedicated redirects for languages is unnecessary, as those pick languages by the browser preferences

Intended use of hub.libreoffice.org/somemoregenericterm would be to redirect to ask.libreoffice directly for the languages where it exists, and point to language-specifc alternatice resources (i.e. the french forum) or a page like http://www.libreoffice.org/get-help/community-support/ (except that it would point to the various resources in the different languages) for those languages that don't have a preferred system for user questions (but rather use mailinglist, social-media or other stuff)

So feedback/waiting state until the more generic term is agreed upon.../the fate of the pull request is clear.

Actions #2

Updated by Olivier Hallot over 7 years ago

Please provide the right URL/name of param to put in C++ and the UI string to replace "Questions & Anwsers...". I'll be glad to amend the patch.

Per ESC advise, I am trying to fix bug#96015:

+ filed a bug to add help menu entries
+ https://bugs.documentfoundation.org/show_bug.cgi?id=96015
Added request for additional info to make it a valid EasyHack (jani)
Actions #3

Updated by Olivier Hallot over 7 years ago

Since no response.

I'm willing to put this call to hub.
-----8<-----------
sal_Int32 ix = utl::ConfigManager::getLocale().indexOf("-",0);
OUString aLang;
if (ix == -1)
aLang = utl::ConfigManager::getLocale();
else
aLang = utl::ConfigManager::getLocale().copy(0,ix);

OUString sURL("http://hub.libreoffice.org/forum/?&LOlang=" + aLang);

-----8<-----------

On the language of ask, my take is that what counts is the locale of LO UI and not the locale of the browser. You may be using a english UI in a non english computer.

Actions #4

Updated by Florian Effenberger over 7 years ago

  • Status changed from Feedback to In Progress
  • Target version set to Q3/2016

Let's discuss this in Monday's team call - there have been open questions but I didn't get to look into this yet, so phone is best; sorry for the delay

Actions #5

Updated by Florian Effenberger over 7 years ago

I think the main scope of this ticket has been handled, so it can be closed - Olivier, any objections? (The patch is a different topic IMHO)

Actions #6

Updated by Olivier Hallot over 7 years ago

The patch has not been merged to master, awaiting approval.

My local copy does not send user to askbot, but to main website.

Actions #7

Updated by Olivier Hallot over 7 years ago

Patch approved

Mail to L10n list for targtes redirection sent.
Feedback so far

Croatian (hr) -> ask.libreoffice.org/hr/questions
Simplified Chinese:http://www.libreofficechina.org/forum.php?from=UI
Russian: http://forumooo.ru/

Actions #8

Updated by Florian Effenberger over 7 years ago

Olivier Hallot wrote:

Patch approved

Mail to L10n list for targtes redirection sent.
Feedback so far

Croatian (hr) -> ask.libreoffice.org/hr/questions
Simplified Chinese:http://www.libreofficechina.org/forum.php?from=UI
Russian: http://forumooo.ru/

Any further feedback received so far?

Actions #9

Updated by Olivier Hallot over 7 years ago

This ticket is also been handled in redmine#1983 which has more information.

Actions #10

Updated by Florian Effenberger over 7 years ago

So it's a duplicate and this one can be closed?

Actions #11

Updated by Florian Effenberger over 7 years ago

  • Assignee changed from Christian Lohmaier to Guilhem Moulin
  • Target version changed from Q3/2016 to Q4/2016

Olivier Hallot wrote:

This ticket is also been handled in redmine#1983 which has more information.

Is that really the same? This one is about hub, the other about ask directly. Can you clarify?

Actions #12

Updated by Olivier Hallot over 7 years ago

Yes it is the same issue.

Actions #13

Updated by Florian Effenberger over 7 years ago

To recap:

Ticket #1983 is about
1. getting a redirect for ask/pt to ask/pt-br
2. if possible get a specific redirect in nginx for unknown/not
available languages in AskBot (e.g. a match like ask/xx and ask/xx-xx)

Ticket #1988 is about adding some new static URLs at hub

Correct?

Actions #14

Updated by Guilhem Moulin about 7 years ago

Should we close this now that #1983 has been resolved?

Actions #15

Updated by Guilhem Moulin about 7 years ago

  • Status changed from In Progress to Closed

Closed per IRC discussion with Olivier.

Actions

Also available in: Atom PDF