Last modified: 2009-04-18 22:42:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 945 - Patch to add user pref for links from titles to related search-term clusters
Patch to add user pref for links from titles to related search-term clusters
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-11-26 19:22 UTC by SJ
Modified: 2009-04-18 22:42 UTC (History)
0 users

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


Description SJ 2004-11-26 19:22:58 UTC
Changes to Skin.php and Language.php, adding a new user pref 
("relatedterms") and adding a link next to each article title if the 
pref is turned on. 

Skin.php diff:

<               # OCL: here to end of if/else: add relatedterms link 
if pref selected.
<               $a = htmlspecialchars( $wgOut->getPageTitle() );
<               if($wgUser->getOption("relatedterms")) {
<                       $ol = '<a 
term=' . $a . '">related terms</a>';
<                       $s = '<font size=5 class="pagetitle"><b>' . 
$a . '</b></font> <font size=-2>' . $ol . '</font>';
<               } else {
<                       $s = '<h1 class="pagetitle">' . $a . '</h1>';
<               }
>               $s = '<h1 class="pagetitle">' . htmlspecialchars( 
$wgOut->getPageTitle() ) . '</h1>';

Language.php diff

<       'date' => 0, 'imagesize' => 2,
<         #OCL: add relatedterms option
<         'relatedterms' => 0
>       'date' => 0, 'imagesize' => 2
<         # OCL: addition of relatedterms
<         'relatedterms',
< # OCL: add relatedterms
< 'tog-relatedterms' => 'Add link to the most popular related search 
terms, next to each article title',
Comment 1 SJ 2004-11-27 00:06:56 UTC
Here are better diffs, for a slightly better patch:
Comment 2 Brion Vibber 2006-01-22 04:23:42 UTC
Restored bug from flood attack.
Comment 3 Rob Church 2006-12-03 13:40:51 UTC
What's this attempting to fix?
Comment 4 SJ 2009-04-18 22:42:38 UTC
no longer works, at any rate... this was attempting to help people find search terms related to the article topic, back when overture provided this cleanly as a service. 

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