Last modified: 2012-05-04 21:19:51 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 T22374, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20374 - interwiki properties and their external counterparts
interwiki properties and their external counterparts
Status: ASSIGNED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-24 07:51 UTC by Taylor Ralston
Modified: 2012-05-04 21:19 UTC (History)
1 user (show)

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


Attachments

Description Taylor Ralston 2009-08-24 07:51:52 UTC
I have multiple wikis on one web site with Semantic Wiki installed on all of them. Let's say they are Wiki1 (prefix: w1), and Wiki2 (w2).

In an article "This Page" on Wiki2, I can set a property leading to Wiki1 (assuming of course that I add that prefix into the interwiki database table) by the following:

[[property::w1:Some Page]]

This works fine, and when I browse the article "This Page", I see that it has the property "property" which points to "Some Page" on Wiki1. It would be really awesome if on Wiki1, when I browse "Some Page", I'll notice that there is a property that links to it called "property" which leads back to Wiki2's page "This Page". This would really help to tightly integrate the separate wikis.

I know this is a big task, especially since Mediawiki itself probably doesn't support this out of the box. I can also see the potential problem of a wiki owner not wanting to store/index some other guy's wiki properties that lead to his wiki. But is there some kind of solution for if I run all of the wikis myself? Maybe if I had them all in the same database (different table prefixes)? Hope someone has an idea about how to accomplish this.
Comment 1 Markus Krötzsch 2009-09-07 07:35:00 UTC
Interesting idea. I can see how this could be achieved: share one DB among all wikis (using different prefixes for the MediaWiki tables as usual). But instead of using prefixed SMW tables, use one global set of SMW tables and store interwiki prefixes for all page data (even if local to a certain wiki). This would require all wikis to have one unique interwiki prefix used in all other wikis to address it. A slightly cleaner solution would be to specify an independent DB for SMW, so that the wikis are not even required to share the same MW database.

This approach might just work, but there are still quite some internal changes to be done (e.g. SMW currently stores localized names for its special properties in the DB tables to simplify access -- this would be a problem if wikis in multiple languages use the same tables). Also, properties with interwiki prefixes do not work yet (interwiki prefixes only work for [property] pages, but not for properties, I believe).

This extension will not happen very soon (we first need to get SMW 1.5 out). But I will keep it in mind for future extensions.

Comment 2 sheac 2012-05-04 21:19:51 UTC
This bug has not been touched in at least six months. With this in mind, I've been asked by the bugmeister to bump this bug's priority down for "High". Concerns can be addressed to mah@everybody.org.

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


Navigation
Links