Last modified: 2014-01-13 22:49:10 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 T17159, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15159 - Turn wikilinks different colors depending on a page's presence on this wiki AND another specified wiki (e.g. Wikipedia)
Turn wikilinks different colors depending on a page's presence on this wiki A...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.12.x
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 14024
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-14 05:04 UTC by Nathan Larson
Modified: 2014-01-13 22:49 UTC (History)
3 users (show)

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


Attachments

Description Nathan Larson 2008-08-14 05:04:19 UTC
One of Wikipedia's strengths is that it has a large number of pages wikilinked together for easy cross-reference. The fact that they turn red or blue depending on the page's existence helps users avoid visiting a nonexistent page if they are not interested in creating a new article. However, this does not work with links to other wikis.

A fundamental issue that has always existed in Wikipedia politics is the notability question. A standard answer to those who question deletionist policies is "Go start your own wiki and put your non-notable content there." This is not a bad idea, but all links to Wikipedia articles will need to be set up as external links; and these outbound links will not turn red or blue depending on the page's existence on Wikipedia; they will merely be light blue at all times. Moreover, a page might exist on the local wiki and then later an article on the same subject, with the same title, will appear on Wikipedia. It is desirable that capability be established for the colors of the wikilinks to reflect a page's presence both (1) on the local wiki and (2) on Wikipedia.

It should be possible to do so without putting as great a burden on Wikipedia servers as one might expect. The reason is that the local wiki need only maintain a current list of pages existing on Wikipedia and then compare any inquiries to that list, without having to contact Wikipedia every time a page on the local wiki is accessed. Obtaining a snapshot of the list of pages existing on Wikipedia at a specific point in time is a one-time event, and then logs of page additions and deletions can be obtained periodically to keep the list in sync. The rest of the mechanism should be a matter of checking the page name in question against (1) the list of pages on the local wiki and (2) the synced list of pages on Wikipedia; and then turning the wikilink the appropriate color.

This type of enhancement could also be useful for links among the various Wikimedia projects. It is desirable that a link from Wiktionary to Wikipedia, for instance, turn red if that page is subsequently deleted from Wikipedia. That will alert a reader who has no intention of creating such an article not to click on that link, since the link is essentially broken, as far as he is concerned.

The proposal is also summed up at http://wikunamatata.com/wikidev/index.php5?title=Red-green-blue_project
Comment 1 Nathan Larson 2008-08-18 16:00:28 UTC
I'm going to go ahead and try to implement this. So it appears that changes to linker.php will need to be made?
Comment 2 Roan Kattouw 2008-08-18 16:01:32 UTC
(In reply to comment #1)
> I'm going to go ahead and try to implement this. So it appears that changes to
> linker.php will need to be made?
> 

Correct. Look at Linker::makeLink() and friends.
Comment 3 Roan Kattouw 2008-08-18 16:05:58 UTC
This'll probably be easier when cross-wiki API (bug 14024) is implemented.
Comment 4 Nathan Larson 2008-08-21 02:22:15 UTC
A bounty has been offered for implementing an enhancement of this type; see http://www.mediawiki.org/wiki/User:Nathan_Larson/Bounties

Feel free to make a counter-offer if you would like different terms.
Comment 5 Tim Starling 2008-08-21 03:29:45 UTC
The entire proposal, precisely as you suggest, including the content fork, was implemented by Wikinfo/GetWiki in 2003. See <http://en.wikipedia.org/wiki/User:Ned_Scott/Wikinfo>. I suggest you build on their software instead of reinventing this feature.
Comment 6 Nathan Larson 2008-08-21 22:40:29 UTC
The GetWiki 1.x used by Wikinfo was never publicly released, and is not even in use anymore. Wikinfo presently uses a Mediawiki implementation that appears to have a lot of bugs and does not seem to include this functionality. If anyone has source code for this feature, please provide it. Thanks.
Comment 7 Nathan Larson 2014-01-13 22:49:10 UTC
(In reply to comment #5)
> The entire proposal, precisely as you suggest, including the content fork,
> was
> implemented by Wikinfo/GetWiki in 2003. See
> <http://en.wikipedia.org/wiki/User:Ned_Scott/Wikinfo>. I suggest you build on
> their software instead of reinventing this feature.

Mentioned in http://lists.wikimedia.org/pipermail/wikitech-l/2014-January/073960.html too. So, I wonder why it didn't take off and become more successful?

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


Navigation
Links