MediaWiki REL1_33
ServiceWiringTest.php
Go to the documentation of this file.
1<?php
2
7 public function testServicesAreSorted() {
8 global $IP;
9 $services = array_keys( require "$IP/includes/ServiceWiring.php" );
10 $sortedServices = $services;
11 sort( $sortedServices );
12
13 $this->assertSame( $sortedServices, $services,
14 'Please keep services sorted alphabetically' );
15 }
16}
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
static configuration should be added through ResourceLoaderGetConfigVars instead can be used to get the real title e g db for database replication lag or jobqueue for job queue size converted to pseudo seconds It is possible to add more fields and they will be returned to the user in the API response after the basic globals have been set but before ordinary actions take place or wrap services the preferred way to define a new service is the $wgServiceWiringFiles array $services
Definition hooks.txt:2290
$IP
Definition update.php:3