On Fri, Feb 15, 2013 at 11:58 AM, Platonides <Platonides(a)gmail.com> wrote:
On 15/02/13 09:16, Waldir Pimenta wrote:
1) should all access points be on the root
directory of the wiki, for
No. The installer is on its on folder on purpose, so that you can delete
that folder once you have installed the wiki.
Sorry if I wasn't clear. I meant that mw-config/index.php should be in te
root, not that the installer files should. Unless I'm misunderstanding you,
and by "the installer" you mean the contents of mw-config/ rather than
/includes/installer (which would prove my point about unclear nomenclature).
Also, I used Tim Starling's suggestion on IRC to
make sure the list of
entry point scripts listed in Manual:Code was
complete: git grep -l
I am not sure that exhausts the list, however, since thumb_handler.php
doesn't show up on its results. Any pointers regarding potential entry
points currently omitted from that list are most welcome.
That's probably because it doesn't include WebStart (it included
thumb.php, which is the one including WebStart).
Take a look at tools/code-utils/find-entries.php I have updated it to
add a few new rules in https://gerrit.wikimedia.org/r/49230
It will give you about 100 files to check, most of them cli scripts.
Although there are a few web-enabled ones, such as
Use -d to see why that file was considered an entry point. As you'll
see, it is very strict -with reason- in what it considers safe.
Thanks, that sounds quite useful, but I don't seem to be able to run it
properly (I get a few php warnings, and "0/0" as output). I placed it in
the root dir of my local wiki. Am I missing anyting?