$user->matchEditToken( $request->getVal( 'wpEditToken' ), $this->mTarget )
) {
/*
- * If the user is blocked and they only have "partial" access
- * (e.g. they don't have the userrights permission), then don't
- * allow them to change any user rights.
- */
+ * If the user is blocked and they only have "partial" access
+ * (e.g. they don't have the userrights permission), then don't
+ * allow them to change any user rights.
+ */
if ( !$user->isAllowed( 'userrights' ) ) {
// @TODO Should the user be blocked from changing user rights if they
// are partially blocked?
max-width: 15em;
border-radius: 4px;
/*
- -moz-box-shadow: 0px 2px 8px #cccccc;
- -webkit-box-shadow: 0px 2px 8px #cccccc;
- box-shadow: 0px 2px 8px #cccccc;
- -ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc')";
- filter: progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc');
- */
+ * -moz-box-shadow: 0px 2px 8px #cccccc;
+ * -webkit-box-shadow: 0px 2px 8px #cccccc;
+ * box-shadow: 0px 2px 8px #cccccc;
+ * -ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc')";
+ * filter: progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc');
+ */
}
.tipsy-arrow {
ul.mw-collapsible:before,
.mw-collapsible-toggle-li {
/*
- Rather than inherit any margins from the general li selector - make sure this is explicit
- to avoid reflows
- */
+ * Rather than inherit any margins from the general li selector - make sure this is explicit
+ * to avoid reflows
+ */
display: list-item;
list-style: none;
margin-bottom: 0.1em;
float: right;
}
-/* For collapsible elements in the content area, override the alginment based on the content language. */
+/* For collapsible elements in the content area, override the alginment based on the content language. */
/* @noflip */
.mw-content-ltr,
.mw-content-rtl .mw-content-ltr {
/**
* @param {Object} context
- */
+ */
special: function ( context ) {
// Allow custom rendering - but otherwise don't do any rendering
if ( typeof context.config.special.render === 'function' ) {
color: #666;
text-align: center;
/* new block formatting context,
- * to clear background from floating content */
+ * to clear background from floating content */
overflow: hidden;
min-width: 100px;
}
font-size: 94%;
text-align: center;
/* new block formatting context,
- * to clear background from floating content */
+ * to clear background from floating content */
overflow: hidden;
}
.toctext {
display: table-cell;
/*
- Text decorations are not propagated to the contents of inline blocks and inline tables,
- according to <https://www.w3.org/TR/css-text-decor-3/#line-decoration>, and 'display: table-cell'
- generates an inline table when used without any parent table-rows and tables.
- */
+ * Text decorations are not propagated to the contents of inline blocks and inline tables,
+ * according to <https://www.w3.org/TR/css-text-decor-3/#line-decoration>, and 'display: table-cell'
+ * generates an inline table when used without any parent table-rows and tables.
+ */
text-decoration: inherit;
}
font-size: 94%;
text-align: center;
/* new block formatting context,
- * to clear background from floating content */
+ * to clear background from floating content */
overflow: hidden;
}
};
/**
- * Interface to ApiSandbox UI
- *
- * @class mw.special.ApiSandbox
- */
+ * Interface to ApiSandbox UI
+ *
+ * @class mw.special.ApiSandbox
+ */
ApiSandbox = {
/**
* Initialize the UI
$count++;
/*
- * T43990: if the target page has a newer revision than the redirect, then editing the
- * redirect while specifying 'redirect' and *not* specifying 'basetimestamp' erroneously
- * caused an edit conflict to be detected.
- */
+ * T43990: if the target page has a newer revision than the redirect, then editing the
+ * redirect while specifying 'redirect' and *not* specifying 'basetimestamp' erroneously
+ * caused an edit conflict to be detected.
+ */
// assume NS_HELP defaults to wikitext
$name = "Help:ApiEditPageTest_testEditConflict_redirect_T43990_$count";