Skip to content
Snippets Groups Projects
user avatar
Michael Große authored
Specifically, this pull request checks if the current query is already a
valid pageid and then return that as suggested pageid.

Also, tests are added for this method.

Fixes #2355

PS: We may want to somehow better educate/nudge users to use the better
way of creating pages by creating links on existing pages.
42690e4d
History
Name Last commit Last update
..
Action
Ui
form
io_readfile
parser
search
PageUtilsIsHiddenPage.test.php
PassHash.test.php
auth_aclcheck.test.php
auth_aclcheck_caseinsensitive.test.php
auth_admincheck.test.php
auth_browseruid.test.php
auth_deleteprofile.test.php
auth_encryption.test.php
auth_loadacl.test.php
auth_nameencode.test.php
auth_password.test.php
auth_random.test.php
cache_stalecheck.test.php
cache_use.test.php
changelog_getRevisionsAround.test.php
changelog_getlastrevisionat.test.php
changelog_getrelativerevision.test.php
changelog_getrevisioninfo.test.php
changelog_getrevisions.test.php
cli_options.test.php
common_basicinfo.test.php
common_blank.test.php
common_cleanText.test.php
common_clientip.test.php
common_inlineSVG.test.php
common_mediainfo.test.php
common_ml.test.php
common_obfuscate.test.php
common_pageinfo.test.php
common_pagetemplate.test.php
common_saveWikiText.test.php
common_stripsourcemaps.test.php
common_wl.test.php
difference_engine.test.php
events_nested.test.php
form_form.test.php
fulltext_backlinks.test.php
fulltext_mediause.test.php
fulltext_query.test.php
html_hilight.test.php
html_secedit_pattern.test.php
httpclient_http.test.php
httpclient_http_proxy.test.php
httpclient_https.test.php
httpclient_https_proxy.test.php
httpclient_mock.php
indexer_histogram.test.php
indexer_indexing.test.php
indexer_pid.test.php
indexer_rename.test.php
init_checkssl.test.php
init_fullpath.test.php
init_getbaseurl.test.php
input.test.php
io_deletefromfile.test.php
io_getSizeFile.test.php
io_readfile.test.php
io_replaceinfile.test.php
io_rmdir.test.php
io_savefile.test.php
ixr_library_date.test.php
ixr_library_ixr_message.test.php
json.test.php
mail_isvalid.test.php
mail_quoted_printable_encode.test.php
mailer.test.php
media_get_from_url.test.php
media_isexternal.test.php
media_ispublic.test.php
media_searchlist.test.php
pageutils_clean_id.test.php
pageutils_findnearest.test.php
pageutils_getid.test.php
pageutils_resolve_id.test.php
pageutils_resolve_pageid.test.php
pageutils_wikiFN.test.php
parserutils_get_renderer.test.php
parserutils_set_metadata.test.php
parserutils_set_metadata_during_rendering.test.php
remote.test.php
remoteapicore.test.php
remoteapicore_aclcheck.test.php
safefn.test.php
subscription.test.php
template_include_page.test.php
template_tpl_get_action.php
utf8_basename.test.php
utf8_correctidx.test.php
utf8_html.test.php
utf8_kanaromaji.txt
utf8_romanize.test.php
utf8_stripspecials.test.php
utf8_strtolower.test.php
utf8_substr.test.php