--- a/Utils/WikiTagUtils.php Mon Dec 19 18:15:42 2011 +0100
+++ b/Utils/WikiTagUtils.php Mon Dec 26 22:53:50 2011 +0100
@@ -47,16 +47,9 @@
* @param bigint $page_id
* @return array
*/
- public static function getWikipediaInfo($tag_label_normalized, $page_id=null)
+ public static function getWikipediaInfo($tag_label_normalized, $page_id=null, $ignore_wikipedia_error=false)
{
// get ignore_wikipedia_error parameter
- $ignore_wikipedia_error = false;
-
- if(key_exists('kernel', $GLOBALS)) {
- $kernel = $GLOBALS['kernel'];
- $ignore_wikipedia_error = $kernel->getContainer()->getParameter('wiki_tag.ignore_wikipedia_error');
- }
-
$params = array('action'=>'query', 'prop'=>'info|categories|langlinks', 'inprop'=>'url', 'lllimit'=>'500', 'cllimit'=>'500', 'rvprop'=>'ids', 'format'=>'json');
if($tag_label_normalized!=null){