View Issue Details

IDProjectCategoryView StatusLast Update
0000358WackoWikidatabasepublic2019-02-14 12:04
ReporterElar9000 Assigned ToElar9000  
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Target Version6.1.x 
Summary0000358: Automatic title generator should not only split tag by spaces but should also make it look like sentence
DescriptionAutomatic title generator should not only split tag by spaces but should also make it look like sentence translating "WikiPageNames" in tag to "Wiki page names" in title.

To achieve this effect the line 15 of setup/inserts.php should be changed from:

if ($title == false) $title = AddSpacesTitle(trim(substr($tag, strrpos($tag, '/')), '/'), $lng);

to

if ($title == false) $title = ucfirst(strtolower(AddSpacesTitle(trim(substr($tag, strrpos($tag, '/')), '/'), $lng)));

TagsNo tags attached.

Relationships

related to 0000393 resolvedadministrator Use reverse hierarchy order in titles 

Activities

administrator

2015-04-07 18:44

administrator   ~0000945

At least for the installer this is obsolete since the insert array has a title

function insert_page($tag, $title = false, $body, $lng, $rights = 'Admins', $critical = false, $is_menu = false, $menu_title = false)

insert_page('LetzteKommentare', 'Letzte Kommentare', '{{commented}}', $lng, 'Admins', false, true, 'Kommentare');

Issue History

Date Modified Username Field Change
2010-03-19 18:09 Elar9000 New Issue
2010-03-19 18:09 Elar9000 Status new => assigned
2010-03-19 18:09 Elar9000 Assigned To => Elar9000
2010-03-19 18:11 Elar9000 Reproducibility have not tried => always
2014-03-21 15:00 administrator Target Version 5.4.0 => 5.5.0
2015-02-19 19:25 administrator Target Version 5.5.0 => 6.1.x
2015-04-07 17:27 administrator Relationship added related to 0000393
2015-04-07 18:44 administrator Note Added: 0000945
2018-08-06 14:37 administrator Target Version 6.1.x => 5.5.7
2019-01-14 14:21 administrator Target Version 5.5.7 => 5.5.8
2019-02-14 12:04 administrator Target Version 5.5.8 => 6.1.x