r95768 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r95767
|
r95768
|
r95769
>
Date:
12:38, 30 August 2011
Author:
catrope
Status:
ok
Tags:
Comment:
Followup
r95764
, also mark Gadget definition: pages as JS/CSS pages for syntax highlighting and such (they contain JSON)
Modified paths:
/branches/RL2/extensions/Gadgets/GadgetHooks.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/RL2/extensions/Gadgets/GadgetHooks.php
—
—
@@ -162,7 +162,7 @@
163
163
}
164
164
165
165
public static function titleIsCssOrJsPage( $title, &$result ) {
166
- if ( $title->getNamespace() == NS_GADGET ) {
166
+ if ( $title->getNamespace() == NS_GADGET || $title->getNamespace() == NS_GADGET_DEFINITION ) {
167
167
$result = true;
168
168
}
169
169
return true;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r95764
RL2: Create the Gadget definition: namespace, and restrict editing, deleting ...
catrope
12:27, 30 August 2011
Status & tagging log
12:40, 30 August 2011
Krinkle
(
talk
|
contribs
)
changed the
status
of r95768
[
removed:
new
added:
ok]