Page MenuHomePhabricator

The interwikis are not displayed anymore on the French Wiktionary
Closed, ResolvedPublic

Description

Since this night, the existing interwikis managed by Wikidata are not displayed anymore on the French Wiktionary on every computer (whereas it's working on the English Wiktionary):

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 30 2018, 7:20 AM
Noe renamed this task from The interwikis are not displayed anymore on the French WIktionary to The interwikis are not displayed anymore on the French Wiktionary.Oct 30 2018, 7:31 AM
Noe updated the task description. (Show Details)
Aalazizi7 added a subscriber: Aalazizi7.
This comment was removed by Aklapper.
revi removed Aalazizi7 as the assignee of this task.Oct 30 2018, 10:43 AM
revi added a project: Wikidata.org.
Restricted Application added a project: Wikidata. · View Herald TranscriptOct 30 2018, 10:44 AM
Aklapper changed the task status from Open to Stalled.Oct 30 2018, 11:00 AM
Aklapper removed a project: Wikidata.org.

@JackPotte: Please follow https://www.mediawiki.org/wiki/How_to_report_a_bug and structure your bug reports. Describe what is the current outcome and what is the expected outcome, and especially where exactly.

If I go to https://fr.wiktionary.org/wiki/Cat%C3%A9gorie:bulgare and scroll down, I see in the left pane in the section "Outils" a link called "Élément Wikidata" to https://www.wikidata.org/wiki/Q8819301 . I don't know if that's what you refer to, though.

@JackPotte: Please follow https://www.mediawiki.org/wiki/How_to_report_a_bug and structure your bug reports. Describe what is the current outcome and what is the expected outcome, and especially where exactly.
If I go to https://fr.wiktionary.org/wiki/Cat%C3%A9gorie:bulgare and scroll down, I see in the left pane in the section "Outils" a link called "Élément Wikidata" to https://www.wikidata.org/wiki/Q8819301 . I don't know if that's what you refer to, though.

You see "Élément Wikidata" but not the interwiki links usually displayed under "Langues".

Thibaut120094 changed the task status from Stalled to Open.Oct 30 2018, 11:30 AM

Thanks.

"Langues" (uls-plang-title-languages) is empty on https://fr.wiktionary.org/wiki/Cat%C3%A9gorie:bulgare and only shows "Ajouter des liens".
If I go to https://fr.wiktionary.org/wiki/6 I see "Dans d’autres langues" (otherlanguages) populated (but that's a different thing).

(whereas it's working on the English Wiktionary)

Well... if I go to https://en.wiktionary.org/wiki/Category:Bulgarian_language (the en.wikt equivalent to fr.wikt, according to the Wikidata item) it only displays otherlanguages. Which is not uls-plang-title-languages.

I admit that I have no idea about the logic behind this.

Addshore added a comment.EditedOct 30 2018, 1:02 PM

Looks like this is occurring on all wiktionaries.
This is likely due to some of the config changes we had to make yesterday.

Logstash: https://logstash.wikimedia.org/goto/43cacf15aefa1b51e36a822341dbbb58

First occurrence appears to happen at 16:33 yesterday (the 29th)

My SAL entries from that time are:

16:35 addshore@deploy1001: Synchronized wmf-config: Wikibase, move client list config to nice part of Wikibase.php (duration: 00m 47s)
16:32 addshore@deploy1001: Synchronized wmf-config: Wikibase, move namespace config to IS.php PT 2/2 (duration: 00m 47s)
16:31 addshore@deploy1001: Synchronized wmf-config/InitialiseSettings.php: Wikibase, move namespace config to IS.php PT 1/2 (duration: 00m 47s)

Which relate to the following config changes:

Sample error & stack

[{exception_id}] {exception_url} ErrorException from line 309 of /srv/mediawiki/php-1.33.0-wmf.1/includes/debug/MWDebug.php: PHP Warning: Wikibase\Client\LangLinkHandler::getEntityLinks: Could not load item Q30884391 for Module:langues/data [Called from
#0 /srv/mediawiki/php-1.33.0-wmf.1/includes/debug/MWDebug.php(309): MWExceptionHandler::handleError(integer, string, string, integer, array, array)
#1 /srv/mediawiki/php-1.33.0-wmf.1/includes/debug/MWDebug.php(164): MWDebug::sendMessage(string, array, string, integer)
#2 /srv/mediawiki/php-1.33.0-wmf.1/includes/GlobalFunctions.php(1146): MWDebug::warning(string, integer, integer, string)
#3 /srv/mediawiki/php-1.33.0-wmf.1/extensions/Wikibase/client/includes/LangLinkHandler.php(116): wfLogWarning(string)
#4 /srv/mediawiki/php-1.33.0-wmf.1/extensions/Wikibase/client/includes/LangLinkHandler.php(331): Wikibase\Client\LangLinkHandler->getEntityLinks(Title)
#5 /srv/mediawiki/php-1.33.0-wmf.1/extensions/Wikibase/client/includes/LangLinkHandler.php(352): Wikibase\Client\LangLinkHandler->getEffectiveRepoLinks(Title, ParserOutput)
#6 /srv/mediawiki/php-1.33.0-wmf.1/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandlers.php(97): Wikibase\Client\LangLinkHandler->addLinksFromRepository(Title, ParserOutput)
#7 /srv/mediawiki/php-1.33.0-wmf.1/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandlers.php(65): Wikibase\Client\Hooks\ParserOutputUpdateHookHandlers->doContentAlterParserOutput(Title, ParserOutput)
#8 /srv/mediawiki/php-1.33.0-wmf.1/includes/Hooks.php(174): Wikibase\Client\Hooks\ParserOutputUpdateHookHandlers::onContentAlterParserOutput(WikitextContent, Title, ParserOutput)
#9 /srv/mediawiki/php-1.33.0-wmf.1/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#10 /srv/mediawiki/php-1.33.0-wmf.1/includes/content/AbstractContent.php(521): Hooks::run(string, array)
#11 /srv/mediawiki/php-1.33.0-wmf.1/includes/Revision/RenderedRevision.php(243): AbstractContent->getParserOutput(Title, integer, ParserOptions, boolean)
#12 /srv/mediawiki/php-1.33.0-wmf.1/includes/Revision/RenderedRevision.php(211): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)
#13 /srv/mediawiki/php-1.33.0-wmf.1/includes/Revision/RevisionRenderer.php(168): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string)
#14 /srv/mediawiki/php-1.33.0-wmf.1/includes/Revision/RevisionRenderer.php(121): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)
#15 [internal function]: Closure$MediaWiki\Revision\RevisionRenderer::getRenderedRevision#2(MediaWiki\Revision\RenderedRevision, array)
#16 /srv/mediawiki/php-1.33.0-wmf.1/includes/Revision/RenderedRevision.php(175): call_user_func(Closure$MediaWiki\Revision\RevisionRenderer::getRenderedRevision#2;1036, MediaWiki\Revision\RenderedRevision, array)
#17 /srv/mediawiki/php-1.33.0-wmf.1/includes/poolcounter/PoolWorkArticleView.php(194): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#18 /srv/mediawiki/php-1.33.0-wmf.1/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#19 /srv/mediawiki/php-1.33.0-wmf.1/includes/page/Article.php(774): PoolCounterWork->execute()
#20 /srv/mediawiki/php-1.33.0-wmf.1/includes/actions/ViewAction.php(68): Article->view()
#21 /srv/mediawiki/php-1.33.0-wmf.1/includes/MediaWiki.php(501): ViewAction->show()
#22 /srv/mediawiki/php-1.33.0-wmf.1/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#23 /srv/mediawiki/php-1.33.0-wmf.1/includes/MediaWiki.php(860): MediaWiki->performRequest()
#24 /srv/mediawiki/php-1.33.0-wmf.1/includes/MediaWiki.php(517): MediaWiki->main()
#25 /srv/mediawiki/php-1.33.0-wmf.1/index.php(42): MediaWiki->run()
#26 /srv/mediawiki/w/index.php(3): include(string)
#27 {main}

Change 470599 had a related patch set uploaded (by Addshore; owner: Addshore):
[operations/mediawiki-config@master] Add item & property to wmgWikibaseClientRepoNamespaces for wiktionaries

https://gerrit.wikimedia.org/r/470599

Change 470599 merged by jenkins-bot:
[operations/mediawiki-config@master] Add item & property to wmgWikibaseClientRepoNamespaces for wiktionaries

https://gerrit.wikimedia.org/r/470599

Mentioned in SAL (#wikimedia-operations) [2018-10-30T13:56:05Z] <addshore@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Add item & property to wmgWikibaseClientRepoNamespaces for wiktionaries T208293 (duration: 00m 48s)

Change 470600 had a related patch set uploaded (by Addshore; owner: Addshore):
[operations/mediawiki-config@master] Add entry to wmgWikibaseClientEntityNamespaces for wiktionaries

https://gerrit.wikimedia.org/r/470600

Change 470600 merged by jenkins-bot:
[operations/mediawiki-config@master] Add entry to wmgWikibaseClientEntityNamespaces for wiktionaries

https://gerrit.wikimedia.org/r/470600

Mentioned in SAL (#wikimedia-operations) [2018-10-30T14:12:40Z] <addshore@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Add entry to wmgWikibaseClientEntityNamespaces for wiktionaries T208293 (duration: 00m 47s)

Restricted Application added a project: User-Addshore. · View Herald TranscriptOct 30 2018, 2:13 PM

It looks like the errors have stopped since I deployed the second config change:

Also the test page linked in the description now has language links again.

I have filed T208317 which should prevent this from happening again

Addshore closed this task as Resolved.Oct 30 2018, 2:15 PM