Last modified: 2012-10-25 17:06:51 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 T35740, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33740 - Transcluding Special:PrefixIndex clears parser state
Transcluding Special:PrefixIndex clears parser state
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.20.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-15 14:17 UTC by Waihorace
Modified: 2012-10-25 17:06 UTC (History)
5 users (show)

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


Attachments

Description Waihorace 2012-01-15 14:17:31 UTC
http://zh.wikipedia.org/wiki/Wikipedia:%E5%9D%8F%E7%AC%91%E8%AF%9D%E5%92%8C%E5%88%A0%E9%99%A4%E7%9A%84%E8%83%A1%E8%AF%9D
http://zh.wikipedia.org/wiki/User:YFdyh000/Sandbox

There is a <ref> tag in the page but it cannot be shown in the <references> place. They have the common point that is they both transcluded Special:PreFixIndex. Special:PreFixIndex make it broken. Is it a bug on the extension or PreFixIndex?

See zhwiki discussion on Village Pumps
http://zh.wikipedia.org/wiki/Wikipedia:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88/%E6%8A%80%E6%9C%AF#.E9.A1.B5.E5.86.85.E5.B5.8C.E5.85.A5Special:PrefixIndex.E4.BC.9A.E8.AE.A9.E7.BB.93.E5.B0.BE.E7.9A.84.E6.B3.A8.E9.87.8A.E4.B8.8D.E5.86.8D.E6.98.BE.E7.A4.BA
Comment 1 Liangent 2012-01-17 12:19:59 UTC
Change summary to reflect the real issue.

Here's the stacktrace of the clear action in question:

Stack trace:
#0 [internal function]: Cite->clearState(Object(Parser))
#1 phase3/includes/Hooks.php(216): call_user_func_array(Array, Array)
#2 phase3/includes/GlobalFunctions.php(3734): Hooks::run('ParserClearStat...', Array)
#3 phase3/includes/parser/Parser.php(302): wfRunHooks('ParserClearStat...', Array)
#4 phase3/includes/parser/Parser.php(4508): Parser->clearState()
#5 phase3/includes/parser/Parser.php(499): Parser->startParse(Object(Title), Object(ParserOptions), 3, true)
#6 phase3/includes/parser/Parser.php(4539): Parser->preprocess('???????????????...', Object(Title), Object(ParserOptions))
#7 phase3/includes/cache/MessageCache.php(794): Parser->transformMsg('???????????????...', Object(ParserOptions), Object(Title))
#8 phase3/includes/Message.php(467): MessageCache->transform('???????????????...', false, Object(LanguageZh), Object(Title))
#9 phase3/includes/Message.php(303): Message->transformText('???????????????...')
#10 phase3/includes/Message.php(340): Message->toString()
#11 phase3/includes/OutputPage.php(772): Message->text()
#12 phase3/includes/OutputPage.php(816): OutputPage->setHTMLTitle(Object(Message))
#13 phase3/includes/SpecialPage.php(546): OutputPage->setPageTitle('???????????????...')
#14 phase3/includes/specials/SpecialPrefixindex.php(43): SpecialPage->setHeaders()
#15 phase3/includes/SpecialPageFactory.php(475): SpecialPrefixindex->execute('M')
#16 phase3/includes/SpecialPageFactory.php(514): SpecialPageFactory::executePath(Object(Title), Object(RequestContext), true)
#17 phase3/includes/parser/Parser.php(3245): SpecialPageFactory::capturePath(Object(Title), Object(RequestContext))
#18 phase3/includes/parser/Preprocessor_DOM.php(1043): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#19 phase3/includes/parser/Parser.php(2950): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#20 phase3/includes/parser/Parser.php(1068): Parser->replaceVariables('<ref>a</ref>?<!...')
#21 phase3/includes/parser/Parser.php(345): Parser->internalParse('<ref>a</ref>?<!...')
#22 phase3/includes/WikiPage.php(2836): Parser->parse('<ref>a</ref>?<!...', Object(Title), Object(ParserOptions), true, true, 75)
#23 phase3/includes/PoolCounter.php(187): PoolWorkArticleView->doWork()
#24 phase3/includes/Article.php(556): PoolCounterWork->execute()
#25 phase3/includes/Wiki.php(495): Article->view()
#26 phase3/includes/Wiki.php(266): MediaWiki->performAction(Object(Article))
#27 phase3/includes/Wiki.php(619): MediaWiki->performRequest()
#28 phase3/includes/Wiki.php(538): MediaWiki->main()
#29 phase3/index.php(58): MediaWiki->run()
#30 {main}
Comment 2 Liangent 2012-01-17 12:21:17 UTC
Maybe it was introduced when Message class was added and exists in some other special pages.

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


Navigation
Links