Revert r37669: LinkerLinkAttributes hook doesn't seem to make a lot of sense. The...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 15 Jul 2008 21:16:32 +0000 (21:16 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 15 Jul 2008 21:16:32 +0000 (21:16 +0000)
RELEASE-NOTES
docs/hooks.txt
includes/Linker.php

index 22e89c2..b33713b 100644 (file)
@@ -188,7 +188,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   the database is potentially queried
 * (bug 9736) Redirects on Special:Fewestrevisions are now marked as such.
 * New date/time formats in Cs localization according to ČSN and PČP.
-* Added new hook LinkerLinkAttributes for modifying attributes of <a> tags.
 * Add a new hook SkinSetupSiteCss to allow extensions to define new stylesheets
   to load site wide, or modify the list of stylesheets to load. This can be useful
   for wiki farms who need a specific placement of the stylesheets to cascade right.
index bf9c694..a8930cc 100644 (file)
@@ -753,12 +753,6 @@ $lang: laguage code (string)
 $specialPageAliases: associative array of magic words synonyms
 $lang: laguage code (string)
 
-'LinkerLinkAttributes': At the end of Linker::getLinkAttributesInternal() just before the return
-&$this: Linker object
-$title: 'title' attribute string
-$class: 'class' attribute string
-&$result: Final attribute string
-
 'LinkerMakeExternalImage': At the end of Linker::makeExternalImage() just before the return
 &$url: the image url
 &$alt: the image's alt text
index af5636d..03e7a9e 100644 (file)
@@ -108,7 +108,6 @@ class Linker {
                        $r .= " class=\"$class\"";
                }
                $r .= " title=\"$title\"";
-               wfRunHooks( 'LinkerLinkAttributes', array( &$this, $title, $class, &$r ) );
                return $r;
        }