repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed problems with hiding certain links (portal, currentevents,
[mediawiki.git]
/
maintenance
/
eval.php
blob
c53da36f902f646c0d8a7bdba02b77c9bf01cf94
1
<
?php
2
/**
3
* @todo document
4
* @package MediaWiki
5
* @subpackage Maintenance
6
*/
7
8
/** */
9
require_once
(
"commandLine.inc"
);
10
11
do
{
12
$line
=
readconsole
(
"> "
);
13
eval
(
$line
.
";"
);
14
if
(
function_exists
(
"readline_add_history"
) ) {
15
readline_add_history
(
$line
);
16
}
17
}
while
(
1
);
18
19
20
21
22
?
>