Changeset 2264857
- Timestamp:
- 03/21/2020 05:23:21 AM (6 years ago)
- File:
-
- 1 edited
-
wiki-page-links/trunk/wikipagelinks.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wiki-page-links/trunk/wikipagelinks.php
r401555 r2264857 71 71 */ 72 72 function wiki_get_piped_title($link) { 73 list($link, $title) = split('\|', $link, 2);73 list($link, $title) = explode('\|', $link, 2); 74 74 if (!$title) $title = $link; 75 75 return array($link, $title); … … 98 98 // If the "page title" contains a ':', it *may* be a shortcut 99 99 // link rather than a page. Deal with those first. 100 list($prefix, $sublink) = split(':', $full_link, 2);100 list($prefix, $sublink) = explode(':', $full_link, 2); 101 101 102 102 if ( $sublink ) {
Note: See TracChangeset
for help on using the changeset viewer.