When I use redirects to index.php?curid=1, some tag and parser extensions don't work.
In CategoryViewer.php I include a message that has some parser extension
wfMessage( 'myMessage', $Foo )->parse();
MediaWiki:MyMessage:
{{#dpl:
|namespace=1
|count=1
}}
On a category page called with /wiki/index.php?curid=X I see the parser tag in plain text.
Calling categories normally executes the parser tag just fine.
log: |
---|
Start request GET /db/index.php?curid=452953 HTTP HEADERS: ... [caches] main: MemcachedPhpBagOStuff, message: MemcachedPhpBagOStuff, parser: MemcachedPhpBagOStuff [caches] LocalisationCache: using store LCStoreCDB Unstubbing $wgParser on call of $wgParser::setHook from wfCreateArticle Parser: using preprocessor: Preprocessor_DOM Fully initialised Connected to database 0 at localhost Title::getRestrictionTypes: applicable restrictions to [[Category:Me Test]] are {edit,move} [ContentHandler] Created handler for wikitext: WikitextContentHandler Revision::loadText: got id 2565085 from cache Title::getRestrictionTypes: applicable restrictions to [[Category:Me Test]] are {edit,move} User: got user 1 from cache User: loading options for user 1 from override cache. User: logged in from session User: loading options for user 1 from override cache. Invalid user language code [MessageCache] MessageCache::load: Loading en... got from local cache OutputPage::checkLastModified: client did not send If-Modified-Since header Article::view using parser cache: yes Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct [Preprocessor] Loaded preprocessor XML from memcached (key MyWiki:preprocess-xml:0b855dd9fe7f2977b3537892e24841f7:0) Title::getRestrictionTypes: applicable restrictions to [[Template:Searchbox/Category]] are {edit,move} Title::getRestrictionTypes: applicable restrictions to [[Template:Searchbox/Category]] are {edit,move} Revision::loadText: got id 2068351 from cache Revision::loadText: got id 2524305 from cache [Preprocessor] Loaded preprocessor XML from memcached (key MyWiki:preprocess-xml:e9d596a50f619f19db24e8179ca8018c:1) Parser output marked as uncacheable. Title::getRestrictionTypes: applicable restrictions to [[Template:Link]] are {edit,move} Title::getRestrictionTypes: applicable restrictions to [[Template:Link]] are {edit,move} Revision::loadText: got id 1869571 from cache Title::getRestrictionTypes: applicable restrictions to [[Template:Link]] are {edit,move} Revision::loadText: got id 1869571 from cache Title::getRestrictionTypes: applicable restrictions to [[Template:CategoryHeaderYear/From/FormOpen]] are {edit,move} Title::getRestrictionTypes: applicable restrictions to [[Template:CategoryHeaderYear/From/FormOpen]] are {edit,move} Revision::loadText: got id 1453560 from cache Title::getRestrictionTypes: applicable restrictions to [[Template:CategoryHeaderYear/From]] are {edit,move} Title::getRestrictionTypes: applicable restrictions to [[Template:CategoryHeaderYear/From]] are {edit,move} Revision::loadText: got id 2524306 from cache Title::getRestrictionTypes: applicable restrictions to [[Template:HTML/FormClose]] are {edit,move} Title::getRestrictionTypes: applicable restrictions to [[Template:HTML/FormClose]] are {edit,move} Revision::loadText: got id 686595 from cache Parser output marked as uncacheable. Parser output marked as uncacheable. Revision::loadText: got id 2543536 from cache [Preprocessor] Loaded preprocessor XML from memcached (key MyWiki:preprocess-xml:700a31fce85789f10da18af1b20feee5:1) Parser output marked as uncacheable. [Preprocessor] Loaded preprocessor XML from memcached (key MyWiki:preprocess-xml:0b855dd9fe7f2977b3537892e24841f7:0) Title::getRestrictionTypes: applicable restrictions to [[Category:Me Test]] are {edit,move} Parser options key expired, touched 20170207192856, epoch 20170207194057, cached 20170207192902 Article::view: doing uncached parse Parser cache options found. Saved in parser cache with key MyWiki:pcache:idhash:452953-0!*!*!*!*!*!* and timestamp 20170207194059 and revision id 2636677 ImageGalleryBase::factory called without context. Using RequestContext::getMain() for sanity DatabaseBase::query: Writes done: INSERT IGNORE INTO `category` (cat_id,cat_title) VALUES (NULL,'X') [DBPerformance] [GET] Expectation (writes <= 0) by MediaWiki::main not met: query: INSERT IGNORE INTO `category` (cat_id,cat_title) VALUES (NULL,'X') [TRX#f90db5f48543] TransactionProfiler.php line 271 calls wfBacktrace() TransactionProfiler.php line 181 calls TransactionProfiler->reportExpectationViolated() Database.php line 1165 calls TransactionProfiler->recordQueryCompletion() Database.php line 2087 calls DatabaseBase->query() Category.php line 331 calls DatabaseBase->insert() CategoryViewer.php line 787 calls Category->refreshCounts() CategoryViewer.php line 451 calls CategoryViewer->getCountMessage() CategoryViewer.php line 98 calls CategoryViewer->getPagesSection() CategoryPage.php line 117 calls CategoryViewer->getHTML() CategoryPage.php line 76 calls CategoryPage->closeShowCategory() ViewAction.php line 44 calls CategoryPage->view() MediaWiki.php line 395 calls ViewAction->show() MediaWiki.php line 273 calls MediaWiki->performAction() MediaWiki.php line 566 calls MediaWiki->performRequest() MediaWiki.php line 414 calls MediaWiki->main() index.php line 10 calls MediaWiki->run() [GlobalTitleFail] MessageCache::parse called by CategoryViewer::getPagesSection/Message::parse/Message::toString/Message::parseText/MessageCache::parse with no title set. Revision::loadText: got id 2339959 from cache [Preprocessor] Loaded preprocessor XML from memcached (key MyWiki:preprocess-xml:32453332a4bfb862c1f777e5333798db:1) Revision::loadText: got id 487182 from cache Revision::loadText: got id 2543536 from cache [Preprocessor] Loaded preprocessor XML from memcached (key MyWiki:preprocess-xml:700a31fce85789f10da18af1b20feee5:1) [GlobalTitleFail] MessageCache::parse called by CategoryViewer::getCategoryTop/Message::parse/Message::toString/Message::parseText/MessageCache::parse with no title set. Revision::loadText: got id 2565026 from cache [Preprocessor] Loaded preprocessor XML from memcached (key MyWiki:preprocess-xml:7323426627da67e9da2b9e0909008ec5:1) Parser output marked as uncacheable. User::getBlockedStatus: checking... [resourceloader] ResourceLoaderModule::getDefinitionMtime: New definition for module user in context "en|ltr|monobook|Me|||||scripts|" Title::getRestrictionTypes: applicable restrictions to [[Category:Me Test]] are {edit,move} Title::getRestrictionTypes: applicable restrictions to [[Category:Me Test]] are {edit,move} [resourceloader] ResourceLoaderModule::getDefinitionMtime: New definition for module user in context "en|ltr|monobook|Me|||||styles|" Pulling file metadata from cache key MyWiki:file:0f51bd74ea8fae4a43714a350e631945 Title::getRestrictionTypes: applicable restrictions to [[Category:Me Test]] are {edit,move} Title::getRestrictionTypes: applicable restrictions to [[Category:Me Test]] are {edit,move} OutputPage::sendCacheControl: private caching; Tue, 07 Feb 2017 19:40:57 GMT ** Request ended normally |