Last modified: 2013-08-10 06:09:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49906, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47906 - install Extension:Interwiki on wikitech/labs wiki
install Extension:Interwiki on wikitech/labs wiki
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-01 01:23 UTC by Daniel Zahn
Modified: 2013-08-10 06:09 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Zahn 2013-05-01 01:23:41 UTC
i wanted to (re-)add the interwiki prefix "RT" to (new) wikitech.

 there is a classic interwiki table on virt0 in the labswiki database, so i added it like in the past, but it doesn't seem to work.

+-----------+----------------------------------------------------+--------+-----------+----------+----------+
| iw_prefix | iw_url                                             | iw_api | iw_wikiid | iw_local | iw_trans |
+-----------+----------------------------------------------------+--------+-----------+----------+----------+
| RT        | https://rt.wikimedia.org/Ticket/Display.html?id=$1 | 0      | 0         |        0 |        0 |
+-----------+----------------------------------------------------+--------+-----------+----------+----------+


Could we please install http://www.mediawiki.org/wiki/Extension:Interwiki ?

That would add a special page showing the interwiki table and making it easier to edit it without having to touch the db manually.

That will probably only work though if we actually still use the classic interwiki db table.
Comment 1 Daniel Zahn 2013-05-01 01:26:28 UTC
https://wikitech.wikimedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap

does not list it, but "iw_api" is also set to 0 as with other wikis that are not language versions of a wikipedia
Comment 2 Ryan Lane 2013-05-01 01:26:54 UTC
Added.
Comment 3 Daniel Zahn 2013-05-01 02:03:24 UTC
thanks! . viewing the interwiki table works nicely:

https://wikitech.wikimedia.org/wiki/Special:Interwiki

but per our chat:   since this uses interwiki.cdb like in production it won't be possible to edit the table using this.

i guess it is still resolved though because it is installed and we can't expect it to work more than it does now:)
Comment 4 Sam Reed (reedy) 2013-05-01 09:15:18 UTC
If $wgInterwikiViewOnly isn't already set to true, you probably want to do so :)
Comment 5 Daniel Zahn 2013-08-10 06:09:50 UTC
done. added.

root@virt0:/srv/org/wikimedia/controller/wikis/config# vi Settings.php 

# bug 47906, make Interwiki read only
$wgInterwikiViewOnly = true;

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links