Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P973
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Krenair
on Jul 15 2015, 10:34 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F193023:
Jul 16 2015, 2:35 AM
2015-07-16 02:35:19 (UTC+0)
F192795:
Jul 15 2015, 10:36 PM
2015-07-15 22:36:47 (UTC+0)
F192794:
Jul 15 2015, 10:34 PM
2015-07-15 22:34:40 (UTC+0)
F192793:
Jul 15 2015, 10:34 PM
2015-07-15 22:34:31 (UTC+0)
Subscribers
None
<?php
function
groupExists
(
$group
)
{
global
$wgGroupPermissions
,
$wgRevokePermissions
,
$wgAddGroups
,
$wgRemoveGroups
,
$wgGroupsAddToSelf
,
$wgGroupsRemoveFromSelf
;
return
count
(
array_merge
(
array_keys
(
array_filter
(
$wgGroupPermissions
[
$group
]
)
),
array_keys
(
array_filter
(
$wgRevokePermissions
[
$group
]
)
),
$wgAddGroups
[
$group
],
$wgRemoveGroups
[
$group
],
$wgGroupsAddToSelf
[
$group
],
$wgGroupsRemoveFromSelf
[
$group
]
)
)
>
0
;
}
Event Timeline
Krenair
edited the content of this paste.
(Show Details)
Jul 15 2015, 10:34 PM
2015-07-15 22:34:31 (UTC+0)
Krenair
updated the paste's language from
autodetect
to
autodetect
.
Krenair
edited the content of this paste.
(Show Details)
Krenair
edited the content of this paste.
(Show Details)
Jul 15 2015, 10:36 PM
2015-07-15 22:36:47 (UTC+0)
Krenair
edited the content of this paste.
(Show Details)
Jul 16 2015, 2:35 AM
2015-07-16 02:35:19 (UTC+0)
Multichill
mentioned this in
T150521: pywikibot.data.sparql SparqlQuery.select() crashes on OPTIONAL values
.
Nov 11 2016, 11:23 AM
2016-11-11 11:23:24 (UTC+0)
Susannaanas
mentioned this in
T197956: Model data for Wikidocumentaries
.
Dec 30 2018, 7:09 PM
2018-12-30 19:09:58 (UTC+0)
OlafJanssen
mentioned this in
T228405: List properties that are (only) used as qualifiers
.
Jul 18 2019, 11:03 AM
2019-07-18 11:03:15 (UTC+0)
Multichill
mentioned this in
T230569: General SDC data modelling session
.
Sep 29 2019, 4:39 PM
2019-09-29 16:39:46 (UTC+0)
Ipr1
mentioned this in
T351952: Kansallisgallerian kuvien tunnistaminen
.
Dec 4 2023, 10:00 PM
2023-12-04 22:00:07 (UTC+0)
Ipr1
mentioned this in
T351908: Pywikibot issue with adding qualifiers to existing claims
.
Dec 6 2023, 6:01 AM
2023-12-06 06:01:41 (UTC+0)
Log In to Comment