Last modified: 2010-01-07 20:59:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7361 - headingmode breaks inputbox extension
headingmode breaks inputbox extension
Product: MediaWiki extensions
Classification: Unclassified
DynamicPageList2 (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Mbiama
: 7362 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2006-09-18 17:41 UTC by Mike Axelrod
Modified: 2010-01-07 20:59 UTC (History)
0 users

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

links: admin (12.38 KB, application/octet-stream)
2009-11-09 14:52 UTC, Mbiama

Description Mike Axelrod 2006-09-18 17:41:42 UTC
Using mediawiki 1.7.1, DynamicPagelist2 0.64 and inputbox 0.1.1 

The following example causes the inputbox extension to fail:



The output looks something  like this:



    There are 3 articles in this category.

        * One
        * Two
        * Albany

This only happens using headingmode and when the inputbox extension is called
first on the page.  For example the following reversal fo the wiki text actually
works fine:



So order matters!  Also without the "headingmode" parameter inputbox works fine....
Comment 1 Mike Axelrod 2006-09-18 17:49:22 UTC
I have made a duplicate bug report in hopes of alerting developers of both
extension projects.  see:

Please close duplicate bug report 7362 when this bug report is closed. 

Comment 2 Brion Vibber 2006-09-18 18:57:00 UTC
*** Bug 7362 has been marked as a duplicate of this bug. ***
Comment 3 Cyril Dangerville 2006-09-21 19:32:12 UTC
Bug fixed in release 0.7.1.

The global function wfMsgExt() was called with 'parse' option when 'headingmode'
enabled. This resulted in the global parser being called recursively
($wgOut->parse(...)), which is bad. See
for more info.

Solution: reused the code from wfMsgExt but using a local parser instead of the
global one.
Comment 4 Cyril Dangerville 2006-09-21 19:33:46 UTC
Closed the bug.
Comment 5 Jimmy Collins 2006-09-21 19:40:46 UTC
Cyril, don't forget to add the svn release: r16596
Comment 6 Mbiama 2009-11-09 14:52:43 UTC
Created attachment 6761 [details]
links: admin

<?xml version="1.0" encoding="utf-8"?>
      <page ns="0" title="Main Page" missing="" />
    <backlinks />
Comment 7 Chad H. 2010-01-07 20:59:32 UTC
Don't know why this was re-opened. Been marked fixed since 2006.

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