-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
nikerabbit(a)svn.wikimedia.org wrote:
Modified: trunk/phase3/includes/SpecialCategories.php
===================================================================
--- trunk/phase3/includes/SpecialCategories.php 2007-05-05 20:13:33 UTC (rev 21907)
+++ trunk/phase3/includes/SpecialCategories.php 2007-05-05 20:18:13 UTC (rev 21908)
@@ -53,13 +53,11 @@
function formatRow($result) {
global $wgLang;
$title = Title::makeTitle( NS_CATEGORY, $result->cl_to );
- return (
- '<li>' .
- $this->getSkin()->makeLinkObj( $title, $title->getText() )
- . ' ' .
+ return Xml::tags('li', null,
+ $this->getSkin()->makeLinkObj( $title, $title->getText() ) . ' (' .
This can produce invalid XHTML if the title contains &. You should use
htmlspecialchars() on the text parameter to makeLink*() if using a
plaintext source (such as a page title string) instead of a
processed-HTML source.
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFGPz9owRnhpk1wk44RAggqAJ9FIXrXSqbiCRYuLfIcRPjYLSf6EACg0zrT
oru5B0RGu9dK/sOnRlwvzPI=
=XAZo
-----END PGP SIGNATURE-----