-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mediawiki 1.26 Standard Pass #20
Conversation
applehat
commented
Jan 28, 2016
- MediaWiki Coding Standards
- Replaced raw queries with selects
- General Cleanup of Code
- Added extension.json
- Readme Enhancements
Fixed standards, as well as some actual markup errors. Also just some general code cleanup for readability sake.
This is neither used, or actually does what it says… Just gonna remove it.
Converted raw SQL to select calls.
@elifoster I will re-review #18 after this pull request is merged in, and fix any conflicts. I have tested this pull request and it appears to be working, but I'd appreciate it if anyone else would also like to test it out and verify. |
//$query = "SELECT * FROM $fTableName WHERE `tag_name` = $fItem AND ($fMod = '' OR `mod_name` = $fMod) AND ($mfTag & $fType & `flags`) AND ($mfCall & $fType & `flags`) AND ($mfDisp & $fType & `flags`) AND NOT($fDel & `flags`) $sRand $sLim"; | ||
|
||
$result = $dbr->select( | ||
$fTableName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this double indented or the HTML being off?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably double indented. I'll fix those.
This looks pretty good to me. |
Yeah, looks pretty alright yo. I tested all 3 of the special pages and their features briefly. |