r111375 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111374‎ | r111375 | r111376 >
Date:14:53, 13 February 2012
Author:krinkle
Status:ok
Tags:
Comment:
[Html] Follow-up r109990: Add category to example namespaces
- Category is a special case since it is not moveable by default, useful to keep in the test
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/HtmlTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/HtmlTest.php
@@ -36,6 +36,8 @@
3737 9 => 'MediaWiki_talk',
3838 10 => 'Template',
3939 11 => 'Template_talk',
 40+ 14 => 'Category',
 41+ 15 => 'Category_talk',
4042 100 => 'Custom',
4143 101 => 'Custom_talk',
4244 ) );
@@ -226,6 +228,8 @@
227229 '<option value="9">MediaWiki talk</option>' . "\n" .
228230 '<option value="10">Template</option>' . "\n" .
229231 '<option value="11">Template talk</option>' . "\n" .
 232+'<option value="14">Category</option>' . "\n" .
 233+'<option value="15">Category talk</option>' . "\n" .
230234 '<option value="100">Custom</option>' . "\n" .
231235 '<option value="101">Custom talk</option>' . "\n" .
232236 '</select>',
@@ -248,6 +252,8 @@
249253 '<option value="9">MediaWiki talk</option>' . "\n" .
250254 '<option value="10">Template</option>' . "\n" .
251255 '<option value="11">Template talk</option>' . "\n" .
 256+'<option value="14">Category</option>' . "\n" .
 257+'<option value="15">Category talk</option>' . "\n" .
252258 '<option value="100">Custom</option>' . "\n" .
253259 '<option value="101">Custom talk</option>' . "\n" .
254260 '</select>',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r109990[Xml/Html] new method Html::namespaceSelector...krinkle03:01, 25 January 2012

Status & tagging log