Last modified: 2008-01-22 10:11:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14705, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12705 - "Invalid call hook poem" with refreshLinks.php
"Invalid call hook poem" with refreshLinks.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.12.x
All All
: Normal normal (vote)
: ---
Assigned To: Tim Starling
:
Depends on:
Blocks: 12652
  Show dependency treegraph
 
Reported: 2008-01-20 14:42 UTC by 555
Modified: 2008-01-22 10:11 UTC (History)
0 users

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


Attachments

Description 555 2008-01-20 14:42:10 UTC
I've successfuly imported the dumps ptwikisource-20080108-pages-meta-current.xml.bz2 and ptwikisource-20080108-interwiki.sql.gz on my XAMPP 1.6.5 @ WinXP Home SP2. But running php refreshLinks.php I get this error:

C:\xampp\htdocs\w>php maintenance\refreshLinks.php
Refreshing links table.
Starting from page_id 1 of 32897.
100
200
300
400
500
600
700
800
900
1000
1100
1200
Invalid call hook poem
Backtrace:
#0 C:\xampp\htdocs\w\includes\Parser.php(5474): Parser->extensionSubstitution(Ar
ray, Object(PPTemplateFrame))
#1 C:\xampp\htdocs\w\includes\Parser.php(5497): PPFrame->expand(Object(DOMElemen
t), 0)
#2 C:\xampp\htdocs\w\includes\Parser.php(5497): PPFrame->expand(Object(DOMElemen
t), 0)
#3 C:\xampp\htdocs\w\includes\Parser.php(3439): PPFrame->expand(Object(DOMDocume
nt))
#4 C:\xampp\htdocs\w\includes\Parser.php(5427): Parser->braceSubstitution(Array,
 Object(PPFrame))
#5 C:\xampp\htdocs\w\includes\Parser.php(5497): PPFrame->expand(Object(DOMElemen
t), 0)
#6 C:\xampp\htdocs\w\includes\Parser.php(5497): PPFrame->expand(Object(DOMElemen
t), 0)
#7 C:\xampp\htdocs\w\includes\Parser.php(3172): PPFrame->expand(Object(DOMDocume
nt), 0)
#8 C:\xampp\htdocs\w\includes\Parser.php(949): Parser->replaceVariables('<!-- ??
1. CABE?...')
#9 C:\xampp\htdocs\w\includes\Parser.php(329): Parser->internalParse('<!-- ??1.
CABE?...')
#10 C:\xampp\htdocs\w\maintenance\refreshLinks.inc(113): Parser->parse('<!-- ??1
. CABE?...', Object(Title), Object(ParserOptions), true, true, 50983)
#11 C:\xampp\htdocs\w\maintenance\refreshLinks.inc(69): fixLinksFromArticle(1290
)
#12 C:\xampp\htdocs\w\maintenance\refreshLinks.php(44): refreshLinks(1, NULL, NU
LL, NULL, NULL)
#13 {main}

I'm using r29984 atm with this additional config:

$wgExtraNamespaces[100] = "Portal";
$wgExtraNamespaces[101] = "Portal Discussão";
$wgExtraNamespaces[102] = "Autor";
$wgExtraNamespaces[103] = "Autor Discussão";
$wgExtraNamespaces[104] = "Galeria";
$wgExtraNamespaces[105] = "Galeria Discussão";
$wgExtraNamespaces[106] = "Página";
$wgExtraNamespaces[107] = "Página Discussão";
$wgExtraNamespaces[108] = "Em Tradução";
$wgExtraNamespaces[109] = "Discussão Em Tradução";
$wgExtraNamespaces[110] = "Anexo";
$wgExtraNamespaces[111] = "Anexo Discussão";

require_once( 'extensions/Cite/Cite.php' );
require_once( 'extensions/ImageMap/ImageMap.php' );
require_once( 'extensions/inputbox/inputbox.php');
require_once( 'extensions/LabeledSectionTransclusion/lst.php' );
require_once( 'extensions/ParserFunctions/ParserFunctions.php' );
require_once( 'extensions/Poem/Poem.php');
Comment 1 Brion Vibber 2008-01-21 20:56:01 UTC
Seeing this with poem, imagemap, and ref at least. Something definitely awry.

(No problems when running with old parser class.)

Setting blocking on the tracking bug and assigning to Tim.
Comment 2 Tim Starling 2008-01-22 10:11:35 UTC
Fixed in r30050.

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


Navigation
Links