Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F26558245
T206654: A variant of P7672
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
Platonides
Oct 12 2018, 3:20 PM
2018-10-12 15:20:36 (UTC+0)
Size
363 B
Referenced Files
None
Subscribers
None
T206654: A variant of P7672
View Options
#!/usr/bin/env python3
import
pickle
from
mwparserfromhell
import
__version__
,
parse
from
ores.util
import
timeout
print
(
"mwparserfromhell version:"
,
__version__
)
wikitext_bytes
=
open
(
"111186880.txt"
,
"rb"
)
.
read
()
wikitext
=
wikitext_bytes
.
decode
(
"utf-8"
)
# unpickled_wikitext = pickle.loads(pickle.dumps(wikitext))
ast
=
timeout
(
parse
,
wikitext
,
seconds
=
5
)
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6534334
Default Alt Text
T206654: A variant of P7672 (363 B)
Attached To
Mode
P7674 T206654: A variant of P7672
Attached
Detach File
Event Timeline
Log In to Comment