Page MenuHomePhabricator

Auto-generated infopages on Incubator incorrectly link to the current page for Wikipedia
Closed, ResolvedPublicBUG REPORT


When visiting an infopage of a test wiki that has not been manually created, the link to Wikipedia points to the current page, when instead it should point to the URL of the Wikipedia.

For instance:

To illustrate, for the case of the Bulgarian Wikinews, the logo for Wikipedia should bring me to, but instead it brings me back to the same page.

Hence, there seems to be an issue with the way the extension handles Wikipedias and with databases that ends with the suffix "wiki". This affects existing Wikipedias and also uses the incorrect logo.

Event Timeline

Hydriz raised the priority of this task from to Medium.
Hydriz updated the task description. (Show Details)
Hydriz added a subscriber: Hydriz.

Additionally: When the test wiki involved is a Wikipedia, and the Wikipedia already exists, the link to the Wikipedia does not show up explicitly on the infopage.

For instance:

I'd like to request that this item be pushed up to become the next item on the Incubator workboard to be pushed up. This is really interfering with navigation on Incubator, or alternatively requires root pages to be created when tests are empty. Either way, this really gets in the way. Thanks.

I will have a look at this and see what I can do.

I added to resolve this issue. I suspect that this bug occurs as the extension is unable to retrieve any of the Wikipedia-related settings due to changes in the wmf-config code. This simple change should be able to solve this issue.

I'm assuming this was not deployed yet (since its status is "blocked" and I see no changes on Incubator yet). Is that right?

That's correct. The patch has not been merged and deployed yet.

The patch was merged, keeping this task open until the patch is deployed.

Hydriz updated the task description. (Show Details)

This fix is not trivial. The original patch has been reverted in until further testing can be done.

Mentioned in SAL (#wikimedia-operations) [2018-11-28T16:54:47Z] <thcipriani@deploy1001> Synchronized php-1.33.0-wmf.6/extensions/WikimediaIncubator/extension.json: [[gerrit:476304|Revert "Replace wiki with wikipedia as wmf-config has been updated"]] T117023 (duration: 00m 54s)

Can someone give this some attention? Can there be a workaround as I suggested at T126827#3450937 2 years ago?

Aklapper renamed this task from Auto-generated infopages incorrectly links to the current page for Wikipedia to Auto-generated infopages on Incubator incorrectly link to the current page for Wikipedia.Feb 21 2021, 12:57 PM

Change 794768 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[mediawiki/extensions/WikimediaIncubator@master] Use 'wikipedia' instead of 'wiki' for $wgConf->get()

jhsoby changed the subtype of this task from "Task" to "Bug Report".May 24 2022, 5:54 PM

Change 794768 merged by jenkins-bot:

[mediawiki/extensions/WikimediaIncubator@master] Refactor and consolidate config

jhsoby claimed this task.

Fixed; confirmed in Beta Incubator, will be deployed to the real Incubator next week.