Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P5403
Masterwork From Distant Lands
Active
Public
Actions
Authored by
•
Mattflaschen-WMF
on May 8 2017, 11:43 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F7989445: Masterwork From Distant Lands
May 8 2017, 11:43 PM
2017-05-08 23:43:57 (UTC+0)
Subscribers
None
<?php
require_once
__DIR__
.
'/Maintenance.php'
;
class
CheckTagsChar
extends
Maintenance
{
public
function
execute
()
{
$CHAR
=
'/'
;
$allTags
=
ChangeTags
::
listDefinedTags
();
foreach
(
$allTags
as
$tag
)
{
$pos
=
strpos
(
$tag
,
$CHAR
);
if
(
$pos
!==
false
)
{
echo
"'$tag' contains '$CHAR'
\n
"
;
exit
(
1
);
}
}
$wikiId
=
wfWikiId
();
echo
"No tags on '$wikiId' contain '$CHAR'
\n
"
;
}
}
$maintClass
=
'CheckTagsChar'
;
require_once
RUN_MAINTENANCE_IF_MAIN
;
Event Timeline
•
Mattflaschen-WMF
edited the content of this paste.
(Show Details)
May 8 2017, 11:43 PM
2017-05-08 23:43:57 (UTC+0)
•
Mattflaschen-WMF
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
•
Mattflaschen-WMF
updated the paste's language from
autodetect
to
autodetect
.
•
Mattflaschen-WMF
mentioned this in
T164133: Support multiple values for the tagfilter parameter in the ChangesList backend
.
May 9 2017, 12:41 AM
2017-05-09 00:41:19 (UTC+0)
Log In to Comment