Project

General

Profile

Demande #3012

Modifier la configuration du mediawiki pour supprimer la référence au moteur de recherche

Added by Frédéric Couchet over 2 years ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normale
Category:
-
Target version:
Start date:
03/12/2018
Due date:
% Done:

0%

Estimated time:
Difficulté:
2 Facile

Description

Lors de reboot de l'infrastructure, la base de données pour wiki.april.org n'était visiblement pas démarrée et https://wiki.april.org/ affichait le message suivant :

« Sorry! This site is experiencing technical difficulties.

Try waiting a few minutes and reloading.

(Cannot access the database)

You can try searching via Google in the meantime. »

Il faudrait supprimer la partie qui invite à rechercher sur le moteur de recherche.

History

#1

Updated by François Poulain over 2 years ago

(April) root@lamp:/usr/share/mediawiki# find . -name '*.php' -exec grep -H Google {} \;
./includes/specialpage/AuthManagerSpecialPage.php:     * Providers using redirect flow (e.g. Google login) need their own submit buttons; if using
./includes/interwiki/Interwiki.php:     * it something outside, like Google
./includes/db/DatabaseError.php:            'You can try searching via Google in the meantime.'
#2

Updated by Quentin Gibeaux over 1 year ago

  • Assignee set to Christian P. Momon
  • Target version changed from Backlog to Été 2019
#3

Updated by Christian P. Momon over 1 year ago

  • Status changed from Nouveau to Résolu

Impossible de reproduire le problème, par exemple en mettant un mauvais mot de passe dans le fichier /etc/mediawiki/LocalSettings.php.

Après recherche, la référence à Google a été retirée depuis la version 1.27.6 :

(April) root@lamp:~/T# git clone https://gerrit.wikimedia.org/r/mediawiki/core.git
Cloning into 'core'...
remote: Counting objects: 48412, done
remote: Finding sources: 100% (177/177)
remote: Getting sizes: 100% (127/127)
remote: Compressing objects: 100% (3616844/3616844)
remote: Total 793678 (delta 71), reused 793566 (delta 22)
Receiving objects: 100% (793678/793678), 230.86 MiB | 2.58 MiB/s, done.
Resolving deltas: 100% (674877/674877), done.

(April) root@lamp:~/T# cd core/
(April) root@lamp:~/T/core[master u=]# git checkout 1.27.5
Note: checking out '1.27.5'.
HEAD is now at 5eda979890... Bump 1.27.5
(April) root@lamp:~/T/core[(1.27.5)]# grep -ri "you can try searching via google in the meantime" .
./includes/db/DatabaseError.php:                        'You can try searching via Google in the meantime.'
./languages/i18n/en.json:       "dberr-usegoogle": "You can try searching via Google in the meantime.",

(April) root@lamp:~/T/core[(1.27.5)]# git checkout 1.27.6
Previous HEAD position was 5eda979890... Bump 1.27.5
HEAD is now at b1558252c5... Prepare 1.27.6
(April) root@lamp:~/T/core[(1.27.6)]# grep -ri "you can try searching via google in the meantime" .
(April) root@lamp:~/T/core[(1.27.6)]#

Notre version est la 1.27.7 donc normal de ne pas reproduire le cas :

(April) root@lamp:~# dpkg -l mediawiki
ii  mediawiki                                              1:1.27.7-1~deb9u1                all                              website engine for collaborative work

#4

Updated by Quentin Gibeaux about 1 year ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF