https://bugzilla.wikimedia.org/show_bug.cgi?id=39461
Web browser: ---
Bug #: 39461
Summary: Impossible to add articles starting with lower case
letter during parser tests using "!!article"
Product: MediaWiki
Version: 1.20-git
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
Adding an article during a parser test like:
!! article
Template:test
!! text
Test
!! endarticle
will not create "Template:test" but "Template:Test", even if $wgCapitalLinks
was set to false before (using the new 'ParserTestGlobals' hook).
Apparently, since the following change ParserTest::addArticle() temporarily
changes the global during parser tests article creation (to work around another
issue?):
https://www.mediawiki.org/w/index.php?title=Special:Code/MediaWiki/71511&path=#c33010
Anyhow, it might be nice to be able use:
!! article
Template:test
!! config
wgCapitalLinks=false
!! text
Test
!! endarticle
to create the article with certain globals set to specific values. The code
above should create the article with the lower "s" instead of "S". Also,
$wgCapitalLinks should not be ignored by ParserTest::addArticle() anymore.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l