Hi, folks!
Tomasz Wegrzanowski wrote:
Do we really want all that in our codebase ?
Why can't you just fork ?
That's an interesting point I already thought about myself. The gag is
this: the article viewing whitelist stuff only takes 20 lines (and that
includes the lines that merely compose the message "you gotta login to
view what's written here"). I'm already experimenting with the
invitation-only user account creation. I plan to implement it this way:
only users who have certain rights (like "user", "sysop",
"developer",
maybe "accountcreation") can create accounts. It takes 10 lines of code
to check a user against a list of permissions. Then this 10 lines
function will be called twice: once for the construction of the login
form (don't show account creation fields if user isn't allowed) and once
for the function that actually creates a new account. And this code only
gets called upon login - and that is not supposed to occur so often that
my changes would have any impact on the CPU load.
So, all in all we talk about (estimated):
20 LOC for article writing
20 LOC for article viewing
20 LOC for account creation
4 LOC for user messages per language
3 LOC for global variables to define the behaviour.
Totaling less than 70 lines of code. Do you really want to fork a
separate branch for that stuff?
(But I must say I'm happy to see that people actually read what I write
- I didn't get /any/ feedback for days for what I've written.)
Bye!
Matthias
P.S.: Please, try to avoid complete quotes with only few lines of own
text under the quote.