r87716 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87715‎ | r87716 | r87717 >
Date:14:29, 9 May 2011
Author:faurethomas
Status:ok
Tags:
Comment:
encoding in UTF-8
Modified paths:
  • /trunk/extensions/Categorize/Categorize.hooks.php (modified) (history)
  • /trunk/extensions/Categorize/Categorize.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Categorize/Categorize.php
@@ -1,7 +1,7 @@
22 <?php
33 /* Categorize Mediawiki Extension
44 *
5 - * @author Andreas Rindler (mediawiki at jenandi dot com) for initial Extension:CategorySuggest and Thomas Faur� (faure dot thomas at gmail dot com) for Categorize improvments
 5+ * @author Andreas Rindler (mediawiki at jenandi dot com) for initial Extension:CategorySuggest and Thomas Fauré (faure dot thomas at gmail dot com) for Categorize improvments
66 * @credits Jared Milbank, Leon Weber <leon.weber@leonweber.de> & Manuel Schneider <manuel.schneider@wikimedia.ch>, Daniel Friesen http://wiki-tools.com
77 * @licence GNU General Public Licence 3.0
88 * @description Adds input box to edit and upload page which allows users to assign categories to the article. When a user starts typing the name of a category, the extension queries the database to find categories that match the user input. Furthermore, a best categories labels cloud is displayed.
@@ -40,7 +40,7 @@
4141
4242 $wgExtensionCredits['other'][] = array(
4343 'name' => 'Categorize',
44 - 'author' => 'Thomas Faur�',
 44+ 'author' => 'Thomas Fauré',
4545 'url' => 'http://www.mediawiki.org/wiki/Extension:Categorize',
4646 'description' => 'Adds input box to edit and upload page which allows users to assign categories to the article. When a user starts typing the name of a category, the extension queries the database to find categories that match the user input. Furthermore, a best categories labels cloud is displayed.',
4747 'version' => '0.1.1'
Index: trunk/extensions/Categorize/Categorize.hooks.php
@@ -110,7 +110,7 @@
111111 if(strlen($strSelectedCats)>1){
112112 $arrSelectedCats = array();
113113 $arrSelectedCats = explode(";",$_POST['txtSelectedCategories2']);
114 - # !!!!!!!!!!!!!!!! TODO d�doublonner les cat�gories ICI !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 114+ # !!!!!!!!!!!!!!!! TODO dédoublonner les catégories ICI !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
115115 foreach( $arrSelectedCats as $m_cat ) {
116116 if(strlen($m_cat)>0){
117117 $m_text .= "\n[[$m_catString:" . mysql_escape_string(trim($m_cat)) . "]]";

Status & tagging log