Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7989445
Masterwork From Distant Lands
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
Mattflaschen-WMF
May 8 2017, 11:43 PM
2017-05-08 23:43:57 (UTC+0)
Size
484 B
Referenced Files
None
Subscribers
None
Masterwork From Distant Lands
View Options
<?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
;
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4630904
Default Alt Text
Masterwork From Distant Lands (484 B)
Attached To
Mode
P5403 Masterwork From Distant Lands
Attached
Detach File
Event Timeline
Log In to Comment