Page MenuHomePhabricator

Install Extension:Interwiki in read-only mode on all WMF wikis
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Dear friends;

A transparent interwiki table should be provided by default in any wiki. Please install the extension; it will save valuable (local) documentation work.

examples: http://translatewiki.net/wiki/Special:Interwiki
( see also http://translatewiki.net/wiki/Special:Version )

Thanks in advance! Best regards Reinhardt [[user:Gangleri]]


Version: unspecified
Severity: enhancement
URL: http://www.mediawiki.org/wiki/Extension:SpecialInterwiki

Details

Reference
bz22043

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:54 PM
bzimport set Reference to bz22043.
bzimport created this task.Jan 7 2010, 3:38 PM

I don't think there wouldn't be any problem in enabling that extension in read only mode on all wikis.

OTOH that extension also allows modifying the interwiki table (for people with interwiki permission), which would conflict with the current way to handle it.

Also note that the extension would need to be reviewed first, and that write mode is not only undesirable to enable but also probably wouldn't play well with the way we share interwiki tables across wikis (I don't really know how that works, but I'm pretty sure writing to the interwiki table is too simplistic).

happy.melon.wiki wrote:

This should indeed be installed WMF-wide. Changing summary to suit.

happy.melon.wiki wrote:

*** Bug 22044 has been marked as a duplicate of this bug. ***

In my opinion it would be better to merge the Interwiki extension into core. It has been merged into core before, which was reverted but it's better now - see http://www.mediawiki.org/wiki/Suggestions_for_extensions_to_be_integrated#Interwiki

Note, when can already view interwiki stuff in the api ( http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap )

However, with that said, I don't think the api method works when $wgInterwikiCache is enabled (like on Wikimedia). See bug 19838

The extension would suffer from the same issues as the api (since it does things in the same way)

(Also, this bug is very similar to bug 3745)

The API and this extension now work with the interwiki cache, since r92528 and r92529.

Note that with r92529, editing through SpecialInterwiki is always disabled when $wgInterwikiCache is used.

sumanah wrote:

Robin, you can use https://www.mediawiki.org/wiki/Git/New_repositories to request a new Git repository for this extension so you can move to Git (which you would need to do in order for this to be deployed to WMF wikis). Thanks!

sumanah wrote:

Sorry, I should have said that you should use https://www.mediawiki.org/wiki/Git/Conversion/Extensions_queue .

  • Bug 32872 has been marked as a duplicate of this bug. ***

sumanah wrote:

Siebrand says: "I once added that extension to core, but that was reverted because the special page could not be disabled, or editing could not be disabled (forgot what exactly). I think it makes sense to have a read-only interwiki list available for users."

As I said in comment 8, editing through SpecialInterwiki is always disabled when
$wgInterwikiCache is used [which is the case on WMF wikis].

(Even then, the "interwiki" user right could just be given to no user group.)

So, except for the git migration, I don't really see any issues left for this extension. On the other hand, the special page is less needed now because the API shows the correct interwikis as well since 1.19.

The Localisation team is putting this in the backlog for sprint 15. I think it should be mostly ready for deployment. If all checks pass, it could be deployed on 2012-05-15 by Niklas.

Review attention goes to UI design in read-only mode (not expecting anything big there), checking if all possible edit path can be properly disabled in aWikimedia context, and if the current code is up to standards.

Deployment rescheduled. Will be deployed on 2012-05-22 and enabled on 2012-05-29.

Merged, enabled on testwiki. Added to branch config.

Oh my god!!! You rocks :-]