Greetings,
Several people over the last 12+ years have asked -- and not been given an
answer -- why usernames' first character are forced to upper-case. I now
have the same question. The discussion stems from this talk pages:
https://www.mediawiki.org/wiki/Manual_talk:$wgCapitalLinks and
https://www.mediawiki.org/wiki/Manual_talk:$wgCapitalLinkOverrides
To me, this looks like an obsolete, legacy requirement from long before the
time $wgCapitalLinks was introduced.
The relevant code is found in includes/user/User.php:
public static function getCanonicalName( $name, $validate = 'valid'
) {
// Force usernames to capital
global $wgContLang;
$name = $wgContLang->ucfirst( $name );
isValidUserName also checks this condition. But no where do I see *why*.
Proposal:
It seems to me that either $wgCapitalLinks should apply here, or (for
backward compatibility), a new option ( $wgCapitalNames ) should be created
to allow the site-admin to disable the forcing of ucfirst of usernames.
--
Otheus
otheus(a)gmail.com
+43.699.1049.7813
Hi,
A new episode of the MediaWiki podcast Between the Brackets has been
released, this one an interview with WMF developer Bartosz Dziewoński, also
known as Matma Rex. You can listen to it here:
http://betweenthebrackets.libsyn.com/episode-17-bartosz-dziewoski
-Yaron
Are you available for paid modifications for mediawiki skin foreground?
https://github.com/thingles/foreground
## List of tasks:
- fix wiki Expand All / Collapse All
- mediawiki foreground skin: make items in navigation clickable without
drop-down and without javascript
- There is too much white space on the left and the right side of any
wiki page.
- Some of our boxes or something breaks mobile view.
- css fixes required
- mediawiki markup fix required
- CodeSelect needs fixes
- Bullet point font sizes within footnotes are too big (bigger than
normal footnote size), should be smaller.
- After a bullet point, there is too little white space before the next
non-bullet point text.
* task details: https://phabricator.whonix.org/T809
## Conditions:
- All modifications could stay Libre Software of course.
- The copyright would stay with you. I am neither interested in
copyright nor attribution.
- The level of transparency is up to you.
- I am myself a huge fan of Libre Software.
- Contribute the solution as a pull request upstream whenever possible.
Hey all,
I am happy to announce the immediate availability of Maps 6.0. Maps is the
extension for to work with and visualize geographical information in
MediaWiki.
You can find installation and upgrading instructions in the documentation:
https://www.semantic-mediawiki.org/wiki/Maps/Installation
<https://github.com/JeroenDeDauw/Maps#maps>
This release brings support for GeoJson. You can now display markers and
shapes defined in GeoJson files on maps and you can manage GeoJson on
special wiki pages in the new GeoJson namespace. This allows for visual
editing of map data via standard GeoJson editors. For more info, see
https://www.semantic-mediawiki.org/wiki/Extension:Maps/GeoJSON
Other improvements made since 5.0:
* Added GeoJson namesapce. Pages in this namespace can only contain GeoJson
* Added geojson parameter to #display_map, available only for Leaflet
* Improved support for the latest MediaWiki versions
* Added Geoportail (France) layers for Leaflet (by Gilles Cébélieu)
* Improved geocoding service fallback order (by Karsten Hoffmeyer)
* Added scrollwheelzoom parameter for GoogleMaps (by hidrarga)
* Added support for installation of Maps in non standard directories (using
wgExtensionDirectory) (by Tobias Oetterer)
* Added egMapsGeoCacheTtl setting (by Máté Szabó)
* Added scrollwheelzoom parameter for Leaflet that allows disabling scroll
wheel zoom (by hidrarga)
* Improved layer support for Leaflet (by Peter Grassberger)
* Custom marker icons on Leaflet maps are now scaled correctly (by hidrarga)
* Updated Leaflet library from version 1.1.0 to version 1.3.4
* Updated Leaflet plugins to their latest versions
* Fixed #display_map parameter imageoverlays: title, text and link are no
longer ignored
* Fixed #display_map parameter polygons when using Leaflet
* Fixed popups for lines, polygons, circles and rectangles when using
Leaflet
* Fixed display of popups with no content for Google Maps
* Fixed fatal error when geocoding fails for addresses in circles and
rectangles
* Fixed #display_map parameters icon and visitedicon when using a namespace
prefix (ie. File:FileName.png)
* Fixed icon and visited icon modifiers of #display_map parameter locations
when using a namespace prefix
* Fixed #display_map parameter circles when using Leaflet
* Fixed the visited icon modifier of the #display_map parameter locations
(it is no longer ignored)
* Fixed fatal error when using #display_map parameter circles
* Fixed fatal error when using #display_map parameter rectangles
* Fixed #display_map parameter rectangles fill color modifier (it is no
longer ignored)
* Fixed #display_map parameter rectangles fill opacity modifier (it is no
longer ignored)
The documentation also got a big overhaul since 5.0. See
https://www.semantic-mediawiki.org/wiki/Extension:Maps for the feature
overview.
If you are interested in contributing to the project, have a look at the
issues suitable for newcomers: https://github.com/JeroenDeDauw/Maps
/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
Cheers
--
Jeroen De Dauw | https://entropywins.wtf | https://keybase.io/jeroendedauw
Software Crafter | Speaker | Student | Strategist | Contributor to Wikimedia
and Open Source
~=[,,_,,]:3
Hi,
A new episode of the MediaWiki podcast "Between the Brackets" has been
released. In this one, I talk to the two students I mentored during the
recently-completed Google Summer of Code: Nikhil Kumar and Yashdeep Thorat,
both college students in India. By coincidence, I believe these were also
the only two GSoC students this year who worked on MediaWiki-related code -
the rest worked on apps, standalone tools, etc.
You can hear the episode here:
http://betweenthebrackets.libsyn.com/episode-16-nikhil-kumar-and-yashdeep-t…
-Yaron
--
WikiWorks · MediaWiki Consulting · http://wikiworks.com