Merge "Remove CategoryTree integration tests"

This commit is contained in:
jenkins-bot 2013-09-28 19:39:39 +00:00 committed by Gerrit Code Review
commit fdabac12de
2 changed files with 0 additions and 28 deletions

View file

@ -29,7 +29,6 @@ $wgExtensionCredits['parserhook'][] = array(
'url' => 'https://www.mediawiki.org/wiki/Extension:Cite/Cite.php'
);
$wgParserTestFiles[] = __DIR__ . "/citeParserTests.txt";
$wgParserTestFiles[] = __DIR__ . "/citeCatTreeParserTests.txt";
$wgExtensionMessagesFiles['Cite'] = __DIR__ . "/Cite.i18n.php";
$wgAutoloadClasses['Cite'] = __DIR__ . "/Cite_body.php";
$wgSpecialPageGroups['Cite'] = 'pagetools';

View file

@ -1,27 +0,0 @@
# Force the test runner to ensure the extension is loaded
!! hooks
ref
references
categorytree
!! endhooks
!! test
Bug 20748 - <references /> doesn't work after category tree in some cases
!! input
<ref>ref</ref>
<categorytree showcount=on>Articles tagged for deletion and rescue</categorytree>
<references />
!! result
<p><sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[1]</a></sup>
</p>
<div class="CategoryTreeTag" data-ct-mode="0" data-ct-options="{&quot;mode&quot;:0,&quot;hideprefix&quot;:20,&quot;showcount&quot;:true,&quot;namespaces&quot;:false}"><div class="CategoryTreeSection"><div class="CategoryTreeItem"><span class="CategoryTreeEmptyBullet">[<b>×</b>] </span> <a class="CategoryTreeLabel CategoryTreeLabelNs14 new CategoryTreeLabelCategory" href="/index.php?title=Category:Articles_tagged_for_deletion_and_rescue&amp;action=edit&amp;redlink=1">Articles tagged for deletion and rescue</a> <span title="Contains 0 subcategories, 0 pages, and 0 files" dir="ltr">(empty)</span></div>
<div class="CategoryTreeChildren" style="display:block"><i class="CategoryTreeNotice">no subcategories</i></div></div>
</div>
<ol class="references">
<li id="cite_note-0"><span class="mw-cite-backlink"><a href="#cite_ref-0">↑</a></span> <span class="reference-text">ref</span>
</li>
</ol>
!! end