https://bugzilla.wikimedia.org/show_bug.cgi?id=40594
Web browser: ---
Bug #: 40594
Summary: Get rid Wikipedia-Specific code
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
Find and remove any wikipedia specific logic hardcoded in wikibase.
Tim mentioned several here:
https://bugzilla.wikimedia.org/show_bug.cgi?id=38822#c7
Full quote:
In ItemView.php:
/**
* Returns a list of all the sites that can be used as a target for a site
link.
*
* @static
* @return array
*/
public static function getSiteDetails() {
...
if ( $site->getType() === Site::TYPE_MEDIAWIKI && $site->getGroup() ===
'wikipedia' ) {
The autocomplete feature that this function services also references Wikipedia
in a message (wikibase-error-autocomplete-connection).
There doesn't seem to be any way to populate the sites table with data other
than the data that comes from meta.wikimedia.org, I had to patch
Utils::insertDefaultSites() to set up my test instance.
populateInterwiki.php also unconditionally references Wikipedia.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l