Skip to content

Instantly share code, notes, and snippets.

@pellepim
Created December 7, 2011 13:29
Show Gist options
  • Save pellepim/1442806 to your computer and use it in GitHub Desktop.
Save pellepim/1442806 to your computer and use it in GitHub Desktop.
wikimedia bootstrapextension trace
1. I've put BootstrapExtension.php in my extensions folder
2. I've included it through LocalSettings.php
3. When I try to edit a page with the following
<row>
<span-one-third>
</span-one-third>
</row>
I get the below trace on wikimedia 1.16.1. Any ideas?
---
Tag hook for row is not callable
Backtrace:
#0 C:\websites\htdocs\api\includes\parser\Preprocessor_DOM.php(1029): Parser->extensionSubstitution(Array, Object(PPFrame_DOM))
#1 C:\websites\htdocs\api\includes\parser\Parser.php(2728): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#2 C:\websites\htdocs\api\includes\parser\Parser.php(930): Parser->replaceVariables('<row>?<span-one...')
#3 C:\websites\htdocs\api\includes\parser\Parser.php(330): Parser->internalParse('<row>?<span-one...')
#4 C:\websites\htdocs\api\includes\Article.php(3279): Parser->parse('<row>?<span-one...', Object(Title), Object(ParserOptions), true, true, NULL)
#5 C:\websites\htdocs\api\includes\Article.php(1921): Article->prepareTextForEdit('<row>?<span-one...')
#6 C:\websites\htdocs\api\includes\Article.php(1769): Article->doEdit('<row>?<span-one...', '', 97)
#7 C:\websites\htdocs\api\includes\EditPage.php(900): Article->insertNewArticle('<row>?<span-one...', '', false, false, false, false, false)
#8 C:\websites\htdocs\api\includes\EditPage.php(2552): EditPage->internalAttemptSave(false, false)
#9 C:\websites\htdocs\api\includes\EditPage.php(389): EditPage->attemptSave()
#10 C:\websites\htdocs\api\includes\EditPage.php(271): EditPage->edit()
#11 C:\websites\htdocs\api\includes\Wiki.php(553): EditPage->submit()
#12 C:\websites\htdocs\api\includes\Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#13 C:\websites\htdocs\api\index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#14 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment