X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fdesign.txt;h=f95ef0f6bf92edcdb219921d8991492288e5e10d;hb=2fbce9d970a4f5f6ea3da482f61f3083c82df42f;hp=d1904e1e7b5fa7509b1145842d96310e23a64ac2;hpb=985050a6b07f171700b529cb3bc53100a7848e5e;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/design.txt b/docs/design.txt index d1904e1e7b..f95ef0f6bf 100644 --- a/docs/design.txt +++ b/docs/design.txt @@ -56,7 +56,7 @@ Primary classes: interface language is instantiated as $wgLang, and the local content language as $wgContLang; be sure to use the *correct* language object depending upon the circumstances. - See also language.txt. + See also language.txt. Parser Class used to transform wikitext to html. @@ -89,10 +89,6 @@ Naming/coding conventions: things will break. New code should use the standard method of setting visibilities as normal. - - Member variables are generally "mXxx" to distinguish them. This should make - it easier to spot errors of forgetting the required "$this->", which PHP - will happily accept by creating a new local variable rather than complaining. - - Globals are particularly evil in PHP; it sets a lot of them automatically from cookies, query strings, and such, leading to namespace conflicts; when a variable name is used in a function, it is silently declared as a new